#45891: Ruledit: Counters count Open Date: 2022-10-17 20:15 Last Update: 2022-12-05 00:09 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45891 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45891 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-05 00:09 Updated by: lachu Comment: Reply To cazfi Reply To lachu Hi. Should I introduce ruledit_enable in counter's struct? I introduced routine to remove counter in #45892 and there is small amount of entries in counter's array. So, what happens, e.g, to requirements of the "Counter" type, pointing to a later counter than the removed one, when a counter is removed? Yes. You are right. I have other question. How freeciv track reference count, so I am sure that I can reuse counter index? --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: Ruledit and ruleup Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Ruledit should show number of counters in the ruleset in the statistics. -- 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/45891 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45891