#44930: unit_tech_reqs_iterate() Open Date: 2022-06-24 17:22 Last Update: 2022-06-25 04:12 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44930 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44930 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-25 04:12 Updated by: cazfi Comment: Not strictly dependencies of implementing this, but make sense to implement first as they would conflict with this: #44926, #44941 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Add iterator macros unit_tech_reqs_iterate() and unit_tech_reqs_iterate_end, and use them instead of accessing unit_type->require_advance directly. That prepares us for later retire require_advance. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44930 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44930