Follow-up Comment #2, patch #3036 (project freeciv):

I think this already exists -- if you were to "#define SPECENUM_COUNT
trait_array_size" before #including specenum_gen.h, for example, you'd get an
enum constant "trait_array_size" which could be used in place of
trait_max()+1. (Added in patch #1678.)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3036>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to