Cockatrice/cockatrice/src/game
Lukas Brübach e275b4ed96 [Client] Drop dead player event handler extension points
The second PlayerLogic constructor taking a custom PlayerEventHandler was UB
(converting this to PlayerLogic* in the base initializer, and connecting a
freshly-built handler against a not-yet-constructed object), and its abstract
extension surface — virtual initializeZones, virtual getPlayerEventHandler,
virtual processGameEvent, protected player member — has no subclass consumer in
the stack. Revert to the single primary constructor.

Also:
- Drop the unused GameMetaInfo::setIsTournament setter. Tournament status is
  authoritative from Event_GameJoined's ServerInfo_Game; the redundant
  is_tournament field on Event_GameStateChanged is removed in [Protocol].
- Gate the parent-game routing on has_parent_game_id() instead of comparing the
  proto default, so a future drop of the default keeps working.
2026-09-02 10:29:01 +02:00
..
board [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
player [Client] Drop dead player event handler extension points 2026-09-02 10:29:01 +02:00
zones [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
abstract_game.cpp [Replay] Refactor: extract replay playback logic into single class (#7060) 2026-08-02 19:22:33 -07:00
abstract_game.h [Replay] Refactor: extract replay playback logic into single class (#7060) 2026-08-02 19:22:33 -07:00
arrow_registry.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_registry.h [Game] [Arrows] Use arrowData/registry and generate unique server-side ids (#6973) 2026-06-07 21:11:02 +02:00
game.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game_event_handler.cpp [Client] Drop dead player event handler extension points 2026-09-02 10:29:01 +02:00
game_event_handler.h [Client] Add tournament event plumbing and player extension points 2026-09-02 10:29:01 +02:00
game_meta_info.cpp Removed unused fields in GameMetaInfo and GameState (#6142) 2025-09-15 10:22:11 +02:00
game_meta_info.h [Client] Drop dead player event handler extension points 2026-09-02 10:29:01 +02:00
game_state.cpp [Game] Fix game timer starting twice, not stopping and not resetting correctly. (#6177) 2025-09-26 19:28:07 +02:00
game_state.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
phase.cpp add phase to delete arrows in to protocol (#6159) 2025-11-26 09:16:10 -05:00
phase.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
replay.cpp [Replay] Refactor: extract replay playback logic into single class (#7060) 2026-08-02 19:22:33 -07:00
replay.h [Replay] Refactor: extract replay playback logic into single class (#7060) 2026-08-02 19:22:33 -07:00