mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 09:22:18 -07:00
[Game] Add Command Zone support with commander tax tracking
- Add CommandZone and CommandZoneLogic for commander - Add CommanderTaxCounter - Add counter active state protocol (show/hide tax counters) - Add "Enable Command Zone" option in game creation dialogs - Add context menu actions for command zone operations Took 9 minutes Took 11 minutes
This commit is contained in:
parent
a5f43c08fa
commit
6ea68c3f58
71 changed files with 1519 additions and 52 deletions
|
|
@ -115,6 +115,18 @@ TEST_F(SettingsDefaultsTest, Game_LocalGameRememberSettings_Default)
|
|||
ASSERT_EQ(s.getLocalGameRememberSettings(), false);
|
||||
}
|
||||
|
||||
TEST_F(SettingsDefaultsTest, Game_EnableCommandZone_Default)
|
||||
{
|
||||
GameSettings s(settingsPath, nullptr);
|
||||
ASSERT_EQ(s.getEnableCommandZone(), false);
|
||||
}
|
||||
|
||||
TEST_F(SettingsDefaultsTest, Game_LocalGameEnableCommandZone_Default)
|
||||
{
|
||||
GameSettings s(settingsPath, nullptr);
|
||||
ASSERT_EQ(s.getLocalGameEnableCommandZone(), false);
|
||||
}
|
||||
|
||||
// --- UpdatesSettings ---
|
||||
|
||||
TEST_F(SettingsDefaultsTest, Updates_CheckUpdatesOnStartup_Default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue