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

#include <IBar.hpp>

Public Attributes

std::array< PlayerDisplay, rules::MaxPlayers > players {}
 
int playerLastMouseOver = -1
 
int playerCurrentMouseOver = -1
 
int actionButtonLastMouseOver = -1
 
int actionButtonCurrentMouseOver = -1
 
layout::ActionButtonLayout actionButtonLayout
 
layout::ActionButtonMask activeActionButtonSlots {}
 
RuleMode actionRuleMode {RuleMode::Nothing}
 
rules::PlayerNumber actionPlayer {rules::NobodyPlayer}
 
bool actionRemote {}
 
int propertyLastMouseOver = -1
 
int propertyCurrentMouseOver = -1
 
layout::PropertyMask visiblePropertySlots {}
 
RuleMode projectedRuleMode {RuleMode::Nothing}
 
rules::PlayerNumber projectedRulePlayer {rules::NobodyPlayer}
 
bool localRuleModeActive {}
 
RuleMode localRuleMode {RuleMode::Nothing}
 
rules::PlayerNumber localRulePlayer {rules::NobodyPlayer}
 
std::optional< std::uint8_t > selectedDeed
 
std::optional< std::uint8_t > pendingPressedButton
 
std::optional< std::uint8_t > desiredCardIndex
 
std::optional< std::uint8_t > desiredBuyAuctionSquare
 
std::optional< std::int64_t > cashAnimationAmount
 
std::uint64_t cashAnimationTick {}
 
std::uint64_t cashAnimationSerial {}
 
std::optional< std::int64_t > decompositionHousesToSell
 
bool buttonBarForceUpdate {}
 
bool escapeMenuUp {}
 
bool userRequestedNewGame {}
 
bool userRequestedExit {}
 
bool userChoseToExit {}
 
std::uint64_t escapeMenuOpenedTick {}
 
bool initialized = false
 

Detailed Description

Definition at line 29 of file IBar.hpp.

Member Data Documentation

◆ actionButtonCurrentMouseOver

int monopoly::ibar::State::actionButtonCurrentMouseOver = -1

Definition at line 42 of file IBar.hpp.

◆ actionButtonLastMouseOver

int monopoly::ibar::State::actionButtonLastMouseOver = -1

Definition at line 41 of file IBar.hpp.

◆ actionButtonLayout

layout::ActionButtonLayout monopoly::ibar::State::actionButtonLayout

◆ actionPlayer

rules::PlayerNumber monopoly::ibar::State::actionPlayer {rules::NobodyPlayer}

Definition at line 47 of file IBar.hpp.

◆ actionRemote

bool monopoly::ibar::State::actionRemote {}

Definition at line 48 of file IBar.hpp.

◆ actionRuleMode

RuleMode monopoly::ibar::State::actionRuleMode {RuleMode::Nothing}

Definition at line 46 of file IBar.hpp.

◆ activeActionButtonSlots

layout::ActionButtonMask monopoly::ibar::State::activeActionButtonSlots {}

Definition at line 45 of file IBar.hpp.

◆ buttonBarForceUpdate

bool monopoly::ibar::State::buttonBarForceUpdate {}

Definition at line 66 of file IBar.hpp.

◆ cashAnimationAmount

std::optional<std::int64_t> monopoly::ibar::State::cashAnimationAmount

Definition at line 62 of file IBar.hpp.

◆ cashAnimationSerial

std::uint64_t monopoly::ibar::State::cashAnimationSerial {}

Definition at line 64 of file IBar.hpp.

◆ cashAnimationTick

std::uint64_t monopoly::ibar::State::cashAnimationTick {}

Definition at line 63 of file IBar.hpp.

◆ decompositionHousesToSell

std::optional<std::int64_t> monopoly::ibar::State::decompositionHousesToSell

Definition at line 65 of file IBar.hpp.

◆ desiredBuyAuctionSquare

std::optional<std::uint8_t> monopoly::ibar::State::desiredBuyAuctionSquare

Definition at line 61 of file IBar.hpp.

◆ desiredCardIndex

std::optional<std::uint8_t> monopoly::ibar::State::desiredCardIndex

Definition at line 60 of file IBar.hpp.

◆ escapeMenuOpenedTick

std::uint64_t monopoly::ibar::State::escapeMenuOpenedTick {}

Definition at line 74 of file IBar.hpp.

◆ escapeMenuUp

bool monopoly::ibar::State::escapeMenuUp {}

Definition at line 70 of file IBar.hpp.

◆ initialized

bool monopoly::ibar::State::initialized = false

Definition at line 76 of file IBar.hpp.

◆ localRuleMode

RuleMode monopoly::ibar::State::localRuleMode {RuleMode::Nothing}

Definition at line 56 of file IBar.hpp.

◆ localRuleModeActive

bool monopoly::ibar::State::localRuleModeActive {}

Definition at line 55 of file IBar.hpp.

◆ localRulePlayer

rules::PlayerNumber monopoly::ibar::State::localRulePlayer {rules::NobodyPlayer}

Definition at line 57 of file IBar.hpp.

◆ pendingPressedButton

std::optional<std::uint8_t> monopoly::ibar::State::pendingPressedButton

Definition at line 59 of file IBar.hpp.

◆ playerCurrentMouseOver

int monopoly::ibar::State::playerCurrentMouseOver = -1

Definition at line 39 of file IBar.hpp.

◆ playerLastMouseOver

int monopoly::ibar::State::playerLastMouseOver = -1

Definition at line 37 of file IBar.hpp.

◆ players

std::array< PlayerDisplay, rules::MaxPlayers > monopoly::ibar::State::players {}

Definition at line 34 of file IBar.hpp.

◆ projectedRuleMode

RuleMode monopoly::ibar::State::projectedRuleMode {RuleMode::Nothing}

Definition at line 53 of file IBar.hpp.

◆ projectedRulePlayer

rules::PlayerNumber monopoly::ibar::State::projectedRulePlayer {rules::NobodyPlayer}

Definition at line 54 of file IBar.hpp.

◆ propertyCurrentMouseOver

int monopoly::ibar::State::propertyCurrentMouseOver = -1

Definition at line 51 of file IBar.hpp.

◆ propertyLastMouseOver

int monopoly::ibar::State::propertyLastMouseOver = -1

Definition at line 50 of file IBar.hpp.

◆ selectedDeed

std::optional<std::uint8_t> monopoly::ibar::State::selectedDeed

Definition at line 58 of file IBar.hpp.

◆ userChoseToExit

bool monopoly::ibar::State::userChoseToExit {}

Definition at line 73 of file IBar.hpp.

◆ userRequestedExit

bool monopoly::ibar::State::userRequestedExit {}

Definition at line 72 of file IBar.hpp.

◆ userRequestedNewGame

bool monopoly::ibar::State::userRequestedNewGame {}

Definition at line 71 of file IBar.hpp.

◆ visiblePropertySlots

layout::PropertyMask monopoly::ibar::State::visiblePropertySlots {}

Definition at line 52 of file IBar.hpp.


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