mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Adds the 'Shuffle players at start' checkbox to game creation and a host-only 'Set turn order...' action that opens a dialog to reorder or randomize the seats before the game starts. Seating changes are shown in the game's message log.
30 lines
1.4 KiB
C++
30 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 getShufflePlayers() const = 0;
|
|
[[nodiscard]] virtual bool getRememberGameSettings() const = 0;
|
|
[[nodiscard]] virtual bool getLocalGameRememberSettings() const = 0;
|
|
[[nodiscard]] virtual int getLocalGameMaxPlayers() const = 0;
|
|
[[nodiscard]] virtual int getLocalGameStartingLifeTotal() const = 0;
|
|
};
|
|
|
|
#endif // COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
|