Follow-up Comment #1, patch #1652 (project freeciv):

> This will be needed for the ruleset/savegame.

For me, it isn't a right way to use specenum. To original is to removes enum
hard-coded dependence. Converting magic numbers to a string with 0 and 1 is
not an improvement. Bitwise enumerators should be saved into a string vector

value="value0", "value5", "value98"

You can see such examples in warclient, saving and restoring the filter

Probably a macro secfile_insert_enum() is the solution to connect all the
specenum functions that a secfile_insert_enum_full() would use.


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to