Cockatrice/tests/carddatabase
BruebachL 03aff83135
Add the ability to define starting life total during game creation. (#5174)
* Have the server respect gameType info when setting up zones.

* ServerPlayer::setupZones is now passed the room->getGameTypes();
* ServerPlayer::setupZones now checks if the GameType String includes "Commander" and then sets the life total to 40 instead.

* Formatting.

* Remove debug logging imports.

* Move game option value declarations to dlg_create_game.

* Lint.

* Fix mocks.

* Add a default for backwards compatibility.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2024-12-19 23:52:47 +00:00
..
data Update test card database to v4 (#4064) 2020-08-21 18:18:53 -04:00
carddatabase_test.cpp add password hash test (#4528) 2022-01-16 16:32:11 -05:00
CMakeLists.txt Refactor CardDatabase *db global variable to singleton CardDatabaseManager. (#5159) 2024-11-05 19:32:59 +01:00
filter_string_test.cpp Refactor CardDatabase *db global variable to singleton CardDatabaseManager. (#5159) 2024-11-05 19:32:59 +01:00
mocks.cpp Add the ability to define starting life total during game creation. (#5174) 2024-12-19 23:52:47 +00:00
mocks.h New printing selector (#5182) 2024-12-19 02:40:34 +00:00