diff --git a/cockatrice/src/settings/debug_settings.cpp b/cockatrice/src/settings/debug_settings.cpp index 1a2b61905..a329e58a9 100644 --- a/cockatrice/src/settings/debug_settings.cpp +++ b/cockatrice/src/settings/debug_settings.cpp @@ -15,3 +15,13 @@ bool DebugSettings::getShowCardId() { return getValue("showCardId", "debug").toBool(); } + +bool DebugSettings::getLocalGameOnStartup() +{ + return getValue("onStartup", "localgame").toBool(); +} + +int DebugSettings::getLocalGamePlayerCount() +{ + return getValue("playerCount", "localgame").toInt(); +} \ No newline at end of file diff --git a/cockatrice/src/settings/debug_settings.h b/cockatrice/src/settings/debug_settings.h index 431b381fa..4918a9a79 100644 --- a/cockatrice/src/settings/debug_settings.h +++ b/cockatrice/src/settings/debug_settings.h @@ -12,6 +12,9 @@ class DebugSettings : public SettingsManager public: bool getShowCardId(); + + bool getLocalGameOnStartup(); + int getLocalGamePlayerCount(); }; #endif // DEBUG_SETTINGS_H