Follow-up Comment #5, patch #1662 (project freeciv): > What is the big advantage of having these as specenum? There's > several downsides, and with ruleset defined flags you get no > advantage of being able to use _by_name() for instance.
IMO, specenums allow a clearer definition of the variable as well as of the name. In this case it is ahrd as the two enums as well as the user flags are interconnected. I think that the presented solution, especially with the different function, provide a clean way to handle this values. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1662> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev