#45488: City celebrated counter Open Date: 2022-08-28 08:07 Last Update: 2022-12-07 19:11 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45488 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45488 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-07 19:11 Updated by: lachu Comment: Reply To cazfi Doesn't compile. (You really should test that before submitting a patch) You have double definition of CB_CITY_OWNED_TURNS, and still no CB_CITY_CELEBRATION_TURNS defined. From your patch file: --- #define SPECENUM_NAME counter_behaviour #define SPECENUM_VALUE1 CB_CITY_OWNED_TURNS #define SPECENUM_VALUE1NAME "Owned" +#define SPECENUM_VALUE2 CB_CITY_OWNED_TURNS +#define SPECENUM_VALUE2NAME "Celebration" #define SPECENUM_COUNT COUNTER_BEHAVIOUR_LAST I tested (compile and test patch) and I send patch placed at right-bottom of open file window. I do but known, what goes wrong, but sorry. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Add counter_behavior "Celebrated" - increased if city celebrates at turn change, otherwise zeroed. -- 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/45488 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45488