Cockatrice/cockatrice
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
..
resources Rename "stack until found" feature (#4871) 2023-10-25 18:43:57 +02:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src Add the ability to define starting life total during game creation. (#5174) 2024-12-19 23:52:47 +00:00
themes Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
translations Updates for project Cockatrice and language nl (#5220) 2024-12-03 16:17:54 +01:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt New printing selector (#5182) 2024-12-19 02:40:34 +00:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc TOTD: Exchange Gitter for Discord, Fix date format (#4920) 2023-10-24 14:26:38 +02:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translation source strings (#5117) 2024-10-20 16:18:32 -04:00