[Freeciv-tickets] [freeciv] #45488: City celebrated counter

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Mon Sep 26 22:20:06 JST 2022


#45488: City celebrated counter

  Open Date: 2022-08-28 08:07
Last Update: 2022-09-26 22:20

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-09-26 22:20 Updated by: lachu

Comment:

@cazfi :
0001-OSDN-Ticket-45488-S-awomir-Lach-slawek-lach.art.pl.patch(1KB)
Code part - first iteration
0002-OSDN-Ticket-45488-S-awomir-Lach-slawek-lach.art.pl.patch(1KB)
Example part - first iteration - depends on code part
I do not known it is exactly, what you expected. On srv_main, we have:
if (pcity->was_happy) {
pcity->counter_valuespcount->index++;
}
But there is routine city_celebrating, which uses base_city_celebrating. I guess you would like to remove hard-coded city celebrating routines, so I do not use city_celebrating. 

---------------------------------------------------------------------
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 changed, 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



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index