mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
- 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
31 lines
1.4 KiB
C++
31 lines
1.4 KiB
C++
#ifndef COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
|
|
#define COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
|
|
|
|
#include <QString>
|
|
|
|
class IGameSettingsProvider
|
|
{
|
|
public:
|
|
virtual ~IGameSettingsProvider() = default;
|
|
|
|
[[nodiscard]] virtual QString getGameDescription() const = 0;
|
|
[[nodiscard]] virtual int getMaxPlayers() const = 0;
|
|
[[nodiscard]] virtual QString getGameTypes() const = 0;
|
|
[[nodiscard]] virtual bool getOnlyBuddies() const = 0;
|
|
[[nodiscard]] virtual bool getOnlyRegistered() const = 0;
|
|
[[nodiscard]] virtual bool getSpectatorsAllowed() const = 0;
|
|
[[nodiscard]] virtual bool getSpectatorsNeedPassword() const = 0;
|
|
[[nodiscard]] virtual bool getSpectatorsCanTalk() const = 0;
|
|
[[nodiscard]] virtual bool getSpectatorsCanSeeEverything() const = 0;
|
|
[[nodiscard]] virtual bool getCreateGameAsSpectator() const = 0;
|
|
[[nodiscard]] virtual int getDefaultStartingLifeTotal() const = 0;
|
|
[[nodiscard]] virtual bool getShareDecklistsOnLoad() const = 0;
|
|
[[nodiscard]] virtual bool getRememberGameSettings() const = 0;
|
|
[[nodiscard]] virtual bool getEnableCommandZone() const = 0;
|
|
[[nodiscard]] virtual bool getLocalGameRememberSettings() const = 0;
|
|
[[nodiscard]] virtual int getLocalGameMaxPlayers() const = 0;
|
|
[[nodiscard]] virtual int getLocalGameStartingLifeTotal() const = 0;
|
|
[[nodiscard]] virtual bool getLocalGameEnableCommandZone() const = 0;
|
|
};
|
|
|
|
#endif // COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
|