URL: <http://gna.org/patch/?4317>
Summary: Define bv_extras based on MAX_EXTRA_TYPES Project: Freeciv Submitted by: cazfi Submitted on: Sun 01 Dec 2013 12:03:46 PM EET Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.6.0 _______________________________________________________ Details: Use MAX_EXTRA_TYPES as length of bv_extras, and define it at the same place with other related bitvectors. Since S_LAST is not available at the time bv_extras is now defined, use value '16' instead when calculating MAX_EXTRA_TYPES. This could be avoided for the time being by moving special_types (including S_LAST) up, but as they are to be completely removed soon, having MAX_EXTRA_TYPES not to depend on it is correct future-wise. That's also why the value used is already '16' and not just '6' (= current value of S_LAST). _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 01 Dec 2013 12:03:47 PM EET Name: BvExtrasByMaxExtras.patch Size: 2kB By: cazfi <http://gna.org/patch/download.php?file_id=19400> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4317> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev