Ticket #42663

Add phase begin and end signals

Open Date: 2021-07-24 00:08 Last Update: 2021-07-24 00:08

Reporter:
Owner:
(None)
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

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 History (1/1 Histories)

2021-07-24 00:08 Updated by: ihnatus
  • New Ticket "Add phase begin and end signals" created

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login