Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::display::State Struct Reference

#include <Display.hpp>

Collaboration diagram for monopoly::display::State:
[legend]

Public Attributes

engine::World3DCamera worldCamera = initialBoardCamera()
 
Screen2D current2DView = Screen2D::Invalid
 
Screen2D desired2DView = Screen2D::PlayerSelect
 
pieces::BoardCameraView desiredBoardCamera
 
std::optional< pieces::BoardCameraView > currentBoardCamera
 
pieces::BoardCameraView bssmPriorCamera = pieces::BoardCameraView::TopDownSquare
 
pieces::BoardCameraView bssmLastRequestedCamera = pieces::BoardCameraView::TopDownSquare
 
std::uint8_t bssmCameraState = 0
 
std::uint64_t bssmCameraRequestTick = 0
 
int city = 0
 
int system = 13
 
std::filesystem::path customBoardPath
 
bool game3DOn = true
 
bool board3DOn = false
 
bool viewportBackgroundFillOn = false
 
bool optionTokenVoicesOn = true
 
bool optionHostCommentsOn = true
 
bool optionTokenAnimationsOn = true
 
bool optionCameraMovementOn = true
 
bool optionMusicOn = true
 
std::uint8_t optionMusicTuneIndex = 0
 
bool optionLightingOn = true
 
bool optionFilteringOn = false
 
bool justReadACardHack = false
 
std::uint64_t boardTick = 0
 
bool mouseLeftPressed = false
 
bool mouseRightPressed = false
 
bool manualMouseCamLock = false
 
bool manualCameraRequested = false
 
std::uint64_t manualMouseCamTime = 0
 
std::uint64_t lastBoardActivityTick = 0
 
bool demoModeDesired = false
 
pieces::BoardCameraView demoStartCamera = pieces::BoardCameraView::TopDownSquare
 
std::uint8_t demoCameraIndex = 0
 
std::uint32_t demoWaitTicks = 0
 
std::uint32_t demoTicksPerMove = 0
 
std::uint8_t demoCycles = 0
 
bool tokenAnimationStackActive = false
 
bool cameraCanFloat = false
 
bool floatingCameraActive = false
 
std::array< float, 3 > lastFloatingVariation {}
 
bool desiredCameraInvalidatedLock = false
 
bool desiredCameraClearToValidate = false
 
Viewport3D viewportInUse
 
PlayerSetupPhase previousPlayerSetupPhase
 
PlayerSetupPhase currentPlayerSetupPhase
 
PlayerSetupPhase desiredPlayerSetupPhase
 
bool showOnlyLocalPlayersOnIBar = false
 
bool showOnlyLocalAIPlayersOnIBar = false
 
bool flashCurrentToken = false
 
bool diceCameraControlActive = false
 
bool initialized = false
 

Detailed Description

Definition at line 93 of file Display.hpp.

Member Data Documentation

◆ board3DOn

bool monopoly::display::State::board3DOn = false

Definition at line 111 of file Display.hpp.

◆ boardTick

std::uint64_t monopoly::display::State::boardTick = 0

Definition at line 122 of file Display.hpp.

◆ bssmCameraRequestTick

std::uint64_t monopoly::display::State::bssmCameraRequestTick = 0

Definition at line 104 of file Display.hpp.

◆ bssmCameraState

std::uint8_t monopoly::display::State::bssmCameraState = 0

Definition at line 103 of file Display.hpp.

◆ bssmLastRequestedCamera

pieces::BoardCameraView monopoly::display::State::bssmLastRequestedCamera = pieces::BoardCameraView::TopDownSquare

Definition at line 102 of file Display.hpp.

◆ bssmPriorCamera

pieces::BoardCameraView monopoly::display::State::bssmPriorCamera = pieces::BoardCameraView::TopDownSquare

Definition at line 101 of file Display.hpp.

◆ cameraCanFloat

bool monopoly::display::State::cameraCanFloat = false

Definition at line 136 of file Display.hpp.

◆ city

int monopoly::display::State::city = 0

Definition at line 105 of file Display.hpp.

◆ current2DView

Screen2D monopoly::display::State::current2DView = Screen2D::Invalid

Definition at line 96 of file Display.hpp.

◆ currentBoardCamera

std::optional<pieces::BoardCameraView> monopoly::display::State::currentBoardCamera

Definition at line 100 of file Display.hpp.

◆ currentPlayerSetupPhase

PlayerSetupPhase monopoly::display::State::currentPlayerSetupPhase
Initial value:

Definition at line 148 of file Display.hpp.

◆ customBoardPath

std::filesystem::path monopoly::display::State::customBoardPath

Definition at line 109 of file Display.hpp.

◆ demoCameraIndex

std::uint8_t monopoly::display::State::demoCameraIndex = 0

Definition at line 131 of file Display.hpp.

◆ demoCycles

std::uint8_t monopoly::display::State::demoCycles = 0

Definition at line 134 of file Display.hpp.

◆ demoModeDesired

bool monopoly::display::State::demoModeDesired = false

Definition at line 129 of file Display.hpp.

◆ demoStartCamera

pieces::BoardCameraView monopoly::display::State::demoStartCamera = pieces::BoardCameraView::TopDownSquare

Definition at line 130 of file Display.hpp.

◆ demoTicksPerMove

std::uint32_t monopoly::display::State::demoTicksPerMove = 0

Definition at line 133 of file Display.hpp.

◆ demoWaitTicks

std::uint32_t monopoly::display::State::demoWaitTicks = 0

Definition at line 132 of file Display.hpp.

◆ desired2DView

Screen2D monopoly::display::State::desired2DView = Screen2D::PlayerSelect

Definition at line 97 of file Display.hpp.

◆ desiredBoardCamera

pieces::BoardCameraView monopoly::display::State::desiredBoardCamera

◆ desiredCameraClearToValidate

bool monopoly::display::State::desiredCameraClearToValidate = false

Definition at line 140 of file Display.hpp.

◆ desiredCameraInvalidatedLock

bool monopoly::display::State::desiredCameraInvalidatedLock = false

Definition at line 139 of file Display.hpp.

◆ desiredPlayerSetupPhase

PlayerSetupPhase monopoly::display::State::desiredPlayerSetupPhase
Initial value:

Definition at line 151 of file Display.hpp.

◆ diceCameraControlActive

bool monopoly::display::State::diceCameraControlActive = false

Definition at line 158 of file Display.hpp.

◆ flashCurrentToken

bool monopoly::display::State::flashCurrentToken = false

Definition at line 157 of file Display.hpp.

◆ floatingCameraActive

bool monopoly::display::State::floatingCameraActive = false

Definition at line 137 of file Display.hpp.

◆ game3DOn

bool monopoly::display::State::game3DOn = true

Definition at line 110 of file Display.hpp.

◆ initialized

bool monopoly::display::State::initialized = false

Definition at line 160 of file Display.hpp.

◆ justReadACardHack

bool monopoly::display::State::justReadACardHack = false

Definition at line 121 of file Display.hpp.

◆ lastBoardActivityTick

std::uint64_t monopoly::display::State::lastBoardActivityTick = 0

Definition at line 128 of file Display.hpp.

◆ lastFloatingVariation

std::array<float, 3> monopoly::display::State::lastFloatingVariation {}

Definition at line 138 of file Display.hpp.

◆ manualCameraRequested

bool monopoly::display::State::manualCameraRequested = false

Definition at line 126 of file Display.hpp.

◆ manualMouseCamLock

bool monopoly::display::State::manualMouseCamLock = false

Definition at line 125 of file Display.hpp.

◆ manualMouseCamTime

std::uint64_t monopoly::display::State::manualMouseCamTime = 0

Definition at line 127 of file Display.hpp.

◆ mouseLeftPressed

bool monopoly::display::State::mouseLeftPressed = false

Definition at line 123 of file Display.hpp.

◆ mouseRightPressed

bool monopoly::display::State::mouseRightPressed = false

Definition at line 124 of file Display.hpp.

◆ optionCameraMovementOn

bool monopoly::display::State::optionCameraMovementOn = true

Definition at line 116 of file Display.hpp.

◆ optionFilteringOn

bool monopoly::display::State::optionFilteringOn = false

Definition at line 120 of file Display.hpp.

◆ optionHostCommentsOn

bool monopoly::display::State::optionHostCommentsOn = true

Definition at line 114 of file Display.hpp.

◆ optionLightingOn

bool monopoly::display::State::optionLightingOn = true

Definition at line 119 of file Display.hpp.

◆ optionMusicOn

bool monopoly::display::State::optionMusicOn = true

Definition at line 117 of file Display.hpp.

◆ optionMusicTuneIndex

std::uint8_t monopoly::display::State::optionMusicTuneIndex = 0

Definition at line 118 of file Display.hpp.

◆ optionTokenAnimationsOn

bool monopoly::display::State::optionTokenAnimationsOn = true

Definition at line 115 of file Display.hpp.

◆ optionTokenVoicesOn

bool monopoly::display::State::optionTokenVoicesOn = true

Definition at line 113 of file Display.hpp.

◆ previousPlayerSetupPhase

PlayerSetupPhase monopoly::display::State::previousPlayerSetupPhase
Initial value:

Definition at line 145 of file Display.hpp.

◆ showOnlyLocalAIPlayersOnIBar

bool monopoly::display::State::showOnlyLocalAIPlayersOnIBar = false

Definition at line 155 of file Display.hpp.

◆ showOnlyLocalPlayersOnIBar

bool monopoly::display::State::showOnlyLocalPlayersOnIBar = false

Definition at line 154 of file Display.hpp.

◆ system

int monopoly::display::State::system = 13

Definition at line 106 of file Display.hpp.

◆ tokenAnimationStackActive

bool monopoly::display::State::tokenAnimationStackActive = false

Definition at line 135 of file Display.hpp.

◆ viewportBackgroundFillOn

bool monopoly::display::State::viewportBackgroundFillOn = false

Definition at line 112 of file Display.hpp.

◆ viewportInUse

Viewport3D monopoly::display::State::viewportInUse
Initial value:

Definition at line 142 of file Display.hpp.

◆ worldCamera

engine::World3DCamera monopoly::display::State::worldCamera = initialBoardCamera()

Definition at line 95 of file Display.hpp.


The documentation for this struct was generated from the following file: