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

> I don't like saving enum as integers, it makes big
> compatibility problems for save games. They should be saved as
> strings with function accessors. Maybe it's time to apply
> patch #1309 to simplify that? 

Yes, this would help in the conversion enum => string (and back)
 
> "target_type" and "target" could be merged into: 

You mean within the savegame?

> To learn how use bit vectors, you can look at
> utility/shared.h. 

I read the file but your example helps more than me trying to understand the
different BV_* macros ;-)

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to