<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40612 >
> [book - Do 22. Jan 2009, 05:15:02]: > > In anticipation of future use beyond the migration feature, > I have made the city "migration score" a field in the city > struct, and added this field to the city info packet sent > to clients which can see the city internals. However, since > at the moment the score is only updated and used in the > check_city_migrations() function, and since there would > appear to be no secfile functions for float datatypes, I > have neglected to save/load this field in savegames. This > can be easily added later if needed. The city score could be multiplied with 100 to get an int value which can be saved ... I used a float because I needed it for the calculation > I would appreciate more testing (if you don't mind doing > the full re-compile when this patch is applied), especially > gameplay with various combinations of the migration settings > to determine the best default values. I have updated the freeciv opensuse rpm's including this patch (see http://forum.freeciv.org/viewtopic.php?t=5749 ) _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev