Follow-up Comment #4, patch #4393 (project freeciv):

This is brilliant, but could NUM_WALL_TYPES be 8 rather than 5, to support
another boolean type, so that one could do something like:

City Walls: EFT_VISIBLE_WALLS: 1
Palace: EFT_VISIBLE_WALLS: 2
Television Tower: EFT_VISIBLE_WALLS: 4

Using potential images ilke:
0: Regular city
1: Walled city
2: Regular city with Palace
3: Walled city with Palace
4: Regular city with Television Tower
5: Walled city with Television Tower
6: Regular city with Palace and Television Tower
7: Walled city with Palace and Television Tower

    Note that this would require restructuring the guard in packhand.c, as "8"
wouldn't fit in UINT8.

    That said, if there is a non-boolean intended use of this which I fail to
understand,
please share, as I may agree that 5 is a better value.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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