#42663: Add phase begin and end signals Open Date: 2021-07-23 18:08 Last Update: 2022-02-09 22:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42663 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42663 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-09 22:16 Updated by: ihnatus Comment: Reply To cazfi Looks good, and has value also outside the autoupgrade work, so should go in on its own right. Will you provide also a version that applies to master? Here it is. --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Feature Requests Status: Open Priority: 5 - Medium MileStone: S3_1 d3f Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Add signals "player_phase_begin" and "player_phase_end" with argument of the player (and maybe some specifications of other players sharing the phase?) Called from srv_main.c, the former in begin_phase() after update_unit_activities() and the latter in end_phase() after do_tech_parasite_effect(). Purposes: see #42659, giving players' per-turn bonuses, depending on counters' realization, they might be updated the same time. -- 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/42663 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42663