#48790: specenum generator: auto-generate generic (user flag) values Open Date: 2023-10-02 12:11 Last Update: 2023-10-02 12:31 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48790 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48790 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-10-02 12:31 Updated by: alienvalkyrie Comment: Just noticed that we can't even showcase this with the current def (terrain enums) because the terrain type user flags are followed by an extra TER_USER_LAST (which seems to be used much like a TER_COUNT would?). --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.3.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Add an option to generate_enums.py to generate a specified number of enum values with no names (e.g. for ruleset-defined user flags) using a specified prefix (e.g. USER_FLAG_) -- 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/48790 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48790