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

Classes

class  ActionButtonPlayback
 
class  BackdropPlayback
 
class  CashDialogPlayback
 
class  CashTextPlayback
 
class  ContractDialogPlayback
 
struct  ContractListEntry
 
class  ContractTextPlayback
 
struct  InputUpdate
 
class  NamePlayback
 
class  OfferIconPlayback
 
class  PanelTextPlayback
 
class  PartnerSelectionPlayback
 
struct  PropertyMoveRequest
 
class  PropertyPlayback
 
struct  PropertyProjection
 
struct  Rect
 
struct  RuleUpdate
 
struct  State
 
class  TokenPlayback
 

Typedefs

using PropertyMask = std::uint32_t
 

Enumerations

enum class  CashDialogFeedback : std::uint8_t { None , Clear , Okay , Cancel }
 

Functions

constexpr data::DataId tradeActionSequence (data::DataTag tag) noexcept
 
constexpr data::DataId tradeBackdropSequence (data::DataTag tag) noexcept
 
constexpr data::DataId tradeCashDialogSequence () noexcept
 
constexpr data::DataId tradeCashIdleSequence (std::size_t index) noexcept
 
constexpr data::DataId tradeCashPressedSequence (CashDialogFeedback feedback) noexcept
 
constexpr data::DataId tradeContractArrowSequence (std::size_t index) noexcept
 
constexpr data::DataId tradeJailIcon (std::size_t deck) noexcept
 
constexpr data::DataId tradeContractIcon (std::size_t kind) noexcept
 
data::DataId tradePropertyDataId (int square, bool mortgaged) noexcept
 
constexpr data::DataId tradeTokenSequence (std::uint8_t token) noexcept
 
void reset (State &state) noexcept
 
bool beginLocalTrade (State &state, const rules::GameState &gameState, rules::PlayerNumber source) noexcept
 
std::optional< Rect > playerTokenRect (const State &state, const rules::GameState &gameState, rules::PlayerNumber player) noexcept
 
std::optional< rules::PlayerNumber > planPartnerSelection (State &state, const rules::GameState &gameState, display::Screen2D desiredView, const uimsg::Message &message) noexcept
 
bool selectPartner (State &state, const rules::GameState &gameState, rules::PlayerNumber player) noexcept
 
PropertyProjection projectProperties (const State &state, const rules::GameState &gameState) noexcept
 
bool abortIfParticipantOffBoard (State &state, rules::GameState &gameState, display::Screen2D desiredView) noexcept
 
void refreshContractProjection (State &state, const rules::GameState &gameState) noexcept
 
std::optional< int > propertyHit (const PropertyProjection &projection, int x, int y) noexcept
 
InputUpdate processInput (State &state, const rules::GameState &gameState, display::Screen2D desiredView, const uimsg::Message &message)
 
std::vector< actions::Message > planEditorSubmission (const State &state, rules::PlayerNumber editor, std::uint32_t localHumanMask)
 
bool addTradeItem (State &state, const rules::GameState &gameState, const actions::Message &message)
 
bool addUiImmunity (rules::GameState &gameState, rules::PlayerNumber from, rules::PlayerNumber to, rules::CountHitType hitType, std::int32_t hitCount, std::uint32_t properties, bool tradingItem) noexcept
 
RuleUpdate processRuleMessage (State &state, rules::GameState &gameState, const actions::Message &message, display::Screen2D currentView, std::uint32_t localHumanMask, bool restoreAutonomousPortfolio)
 

Variables

constexpr data::DataTag TradeCancelIdleTag = 0x01AF
 
constexpr data::DataTag TradeCancelOutTag = 0x01B1
 
constexpr data::DataTag TradeProposeIdleTag = 0x01B8
 
constexpr data::DataTag TradeProposeOutTag = 0x01BA
 
constexpr std::uint16_t TradeCancelPriority = 201
 
constexpr std::uint16_t TradeProposePriority = 202
 
constexpr std::uint8_t TradeActionEndingStop = 1
 
constexpr std::uint16_t TradeBackdropPriority = 80
 
constexpr std::uint16_t TradeColourRailPriority = 95
 
constexpr std::uint16_t TradeDisplayBoardPriority = 1000
 
constexpr std::uint16_t TradeTurntablePriority = 130
 
constexpr std::uint16_t TradeArrowPriority = 140
 
constexpr std::uint16_t TradeDisplayPanelPriority = 145
 
constexpr std::uint16_t TradeFutureButtonPriority = 150
 
constexpr std::uint16_t TradeCreateButtonPriority = 155
 
constexpr std::uint16_t TradeImmunityButtonPriority = 160
 
constexpr std::uint8_t TradeLoopToBeginning = 3
 
constexpr data::DataTag TradeBackgroundTag = 0x02CD
 
constexpr data::DataTag TradeDisplayBoardTag = 0x02BB
 
constexpr data::DataTag TradeTurntableTag = 0x02DF
 
constexpr data::DataTag TradeArrowTag = 0x02AC
 
constexpr data::DataTag TradeDisplayLeftTag = 0x02CF
 
constexpr data::DataTag TradeDisplayRightTag = 0x02D0
 
constexpr data::DataTag TradeLeftColourBaseTag = 0x02AD
 
constexpr data::DataTag TradeRightColourBaseTag = 0x02B4
 
constexpr data::DataTag TradeCreateButtonTag = 0x02CE
 
constexpr data::DataTag TradeFutureButtonTag = 0x02D1
 
constexpr data::DataTag TradeImmunityButtonTag = 0x02D8
 
constexpr data::DataTag TradeCashDialogTag = 0x118A
 
constexpr std::array< data::DataTag, 3 > TradeCashIdleTags
 
constexpr std::array< data::DataTag, 3 > TradeCashPressedTags
 
constexpr std::uint16_t TradeCashDialogPriority = 1975
 
constexpr std::uint16_t TradeCashButtonPriority = 1976
 
constexpr std::uint16_t TradeCashPressedPriority = 1977
 
constexpr std::array< std::int32_t, 2 > TradeCashDialogX {{4, 604}}
 
constexpr std::array< std::int32_t, 2 > TradeCashDialogY {{324, 324}}
 
constexpr std::array< std::int32_t, 2 > TradeCashButtonX {{-306, 294}}
 
constexpr std::array< std::int32_t, 2 > TradeCashButtonY {{-29, -29}}
 
constexpr data::DataTag TradeCashIconTag = 0x0355
 
constexpr std::uint16_t TradeCashTextPriority = 474
 
constexpr std::array< std::uint16_t, 4 > TradeCashIconPriorities
 
constexpr std::array< std::int32_t, 4 > TradeCashTextX
 
constexpr std::array< std::int32_t, 4 > TradeCashTextY
 
constexpr std::array< std::int32_t, 4 > TradeCashIconX
 
constexpr std::array< std::int32_t, 4 > TradeCashIconY
 
constexpr std::uint16_t TradeCashReadoutPriority = 1978
 
constexpr std::uint32_t TradeCashReadoutWidth = 172
 
constexpr std::uint32_t TradeCashReadoutHeight = 14
 
constexpr data::DataTag TradeContractArrowDownTag = 0x0007
 
constexpr data::DataTag TradeContractArrowUpTag = 0x0009
 
constexpr std::uint16_t TradeContractArrowPriority = 525
 
constexpr std::array< std::int32_t, 2 > TradeContractArrowX {{22, 22}}
 
constexpr std::array< std::int32_t, 2 > TradeContractArrowY {{-168, -247}}
 
constexpr std::uint16_t TradeContractTextPriority = 148
 
constexpr std::uint16_t TradeNamePriority = 148
 
constexpr std::array< std::int32_t, 2 > TradeNameX {{56, 604}}
 
constexpr std::array< std::int32_t, 2 > TradeNameY {{229, 229}}
 
constexpr data::DataTag TradeChanceJailTag = 0x00DD
 
constexpr data::DataTag TradeCommunityJailTag = 0x00DE
 
constexpr data::DataTag TradeFutureTag = 0x1027
 
constexpr data::DataTag TradeImmunityTag = 0x1053
 
constexpr std::uint16_t TradeIconBasePriority = 274
 
constexpr std::size_t TradeIconSlots = 4
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeChanceX {{66,666,266,466}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeChanceY {{395,395,358,358}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeCommunityX {{66,666,266,466}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeCommunityY {{420,420,383,383}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeFutureX {{104,704,304,504}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeFutureY {{398,398,361,361}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeImmunityX {{104,704,304,504}}
 
constexpr std::array< std::int32_t, TradeIconSlots > TradeImmunityY {{422,422,385,385}}
 
constexpr std::uint16_t TradePanelTextPriority = 148
 
constexpr data::DataTag TradePropertyMortgagedBaseTag = 0x05CA
 
constexpr data::DataTag TradePropertyNormalBaseTag = 0x05E6
 
constexpr std::array< std::uint16_t, 4 > TradePropertyBasePriorities
 
constexpr std::uint16_t TradeDeedHoverPriority = 1001
 
constexpr std::uint64_t TradeDeedHoverDelayTicks = 36
 
constexpr std::uint64_t TradePropertyMoveStepMs = 25
 
constexpr int TradePropertyMoveSteps = 4
 
constexpr std::array< std::uint16_t, 4 > TradePropertyMovingPriorities
 
constexpr std::size_t TradePropertyPlaybackObjectCount
 
constexpr data::DataTag TradeTokenBaseTag = 0x01C0
 
constexpr std::uint16_t TradeTokenAPriority = 274
 
constexpr std::uint16_t TradeTokenBPriority = 275
 
constexpr std::int32_t TradeTokenAX = 10
 
constexpr std::int32_t TradeTokenRightEdge = 790
 
constexpr std::int32_t TradeTokenY = 235
 
constexpr std::size_t MaxTradeMessages
 
constexpr int PlayerSelectX = 306
 
constexpr int PlayerSelectY = 234
 
constexpr int PlayerSelectWidth = 188
 
constexpr int PlayerSelectHeight = 209
 
constexpr std::uint16_t PlayerSelectPriority = 205
 
constexpr std::uint8_t OffBoardSquare = 41
 
constexpr Rect CashTradeAT1 {19, 395, 52, 425}
 
constexpr Rect CashTradeAT2 {9, 425, 61, 440}
 
constexpr Rect CashTradeBT1 {619, 395, 652, 425}
 
constexpr Rect CashTradeBT2 {609, 425, 661, 440}
 
constexpr Rect CashTradeAM1 {219, 358, 252, 388}
 
constexpr Rect CashTradeAM2 {209, 388, 261, 403}
 
constexpr Rect CashTradeBM1 {419, 358, 452, 388}
 
constexpr Rect CashTradeBM2 {409, 388, 461, 403}
 
constexpr Rect ProposeRect {202, 420, 303, 450}
 
constexpr Rect CancelRect {306, 420, 407, 450}
 
constexpr std::array< Rect, 4 > ChanceJailRects
 
constexpr std::array< Rect, 4 > CommunityJailRects
 
constexpr Rect FutureTradeAT {104, 398, 165, 413}
 
constexpr Rect FutureTradeBT {704, 398, 765, 413}
 
constexpr Rect FutureTradeAM {304, 361, 365, 376}
 
constexpr Rect FutureTradeBM {504, 361, 565, 376}
 
constexpr Rect ImmunityTradeAT {104, 422, 165, 437}
 
constexpr Rect ImmunityTradeBT {704, 422, 765, 437}
 
constexpr Rect ImmunityTradeAM {304, 385, 365, 400}
 
constexpr Rect ImmunityTradeBM {504, 385, 565, 400}
 
constexpr Rect FutureNewRect {607, 197, 701, 220}
 
constexpr Rect ImmunityNewRect {704, 197, 798, 220}
 
constexpr Rect ContractOkayRect {660, 187, 740, 209}
 
constexpr Rect ContractUpRect {767, 115, 785, 141}
 
constexpr Rect ContractDownRect {767, 155, 785, 181}
 
constexpr std::array< Rect, 5 > ContractListRects
 

Typedef Documentation

◆ PropertyMask

Definition at line 139 of file TradeUI.hpp.

Enumeration Type Documentation

◆ CashDialogFeedback

enum class monopoly::tradeui::CashDialogFeedback : std::uint8_t
strong
Enumerator
None 
Clear 
Okay 
Cancel 

Definition at line 95 of file TradeUI.hpp.

Function Documentation

◆ abortIfParticipantOffBoard()

bool monopoly::tradeui::abortIfParticipantOffBoard ( State &  state,
rules::GameState &  gameState,
display::Screen2D  desiredView 
)
noexcept

Definition at line 882 of file TradeUI.cpp.

◆ addTradeItem()

bool monopoly::tradeui::addTradeItem ( State &  state,
const rules::GameState &  gameState,
const actions::Message &  message 
)

Definition at line 1434 of file TradeUI.cpp.

◆ addUiImmunity()

bool monopoly::tradeui::addUiImmunity ( rules::GameState &  gameState,
rules::PlayerNumber  from,
rules::PlayerNumber  to,
rules::CountHitType  hitType,
std::int32_t  hitCount,
std::uint32_t  properties,
bool  tradingItem 
)
noexcept

Definition at line 1525 of file TradeUI.cpp.

◆ beginLocalTrade()

bool monopoly::tradeui::beginLocalTrade ( State &  state,
const rules::GameState &  gameState,
rules::PlayerNumber  source 
)
noexcept

Definition at line 693 of file TradeUI.cpp.

◆ planEditorSubmission()

std::vector< actions::Message > monopoly::tradeui::planEditorSubmission ( const State &  state,
rules::PlayerNumber  editor,
std::uint32_t  localHumanMask 
)

Definition at line 1414 of file TradeUI.cpp.

◆ planPartnerSelection()

std::optional< rules::PlayerNumber > monopoly::tradeui::planPartnerSelection ( State &  state,
const rules::GameState &  gameState,
display::Screen2D  desiredView,
const uimsg::Message &  message 
)
noexcept

Definition at line 748 of file TradeUI.cpp.

◆ playerTokenRect()

std::optional< Rect > monopoly::tradeui::playerTokenRect ( const State &  state,
const rules::GameState &  gameState,
rules::PlayerNumber  player 
)
noexcept

Definition at line 728 of file TradeUI.cpp.

◆ processInput()

InputUpdate monopoly::tradeui::processInput ( State &  state,
const rules::GameState &  gameState,
display::Screen2D  desiredView,
const uimsg::Message &  message 
)

Definition at line 1021 of file TradeUI.cpp.

◆ processRuleMessage()

RuleUpdate monopoly::tradeui::processRuleMessage ( State &  state,
rules::GameState &  gameState,
const actions::Message &  message,
display::Screen2D  currentView,
std::uint32_t  localHumanMask,
bool  restoreAutonomousPortfolio 
)

Definition at line 1600 of file TradeUI.cpp.

◆ projectProperties()

PropertyProjection monopoly::tradeui::projectProperties ( const State &  state,
const rules::GameState &  gameState 
)
noexcept

Definition at line 811 of file TradeUI.cpp.

◆ propertyHit()

std::optional< int > monopoly::tradeui::propertyHit ( const PropertyProjection &  projection,
int  x,
int  y 
)
noexcept

Definition at line 988 of file TradeUI.cpp.

◆ refreshContractProjection()

void monopoly::tradeui::refreshContractProjection ( State &  state,
const rules::GameState &  gameState 
)
noexcept

Definition at line 908 of file TradeUI.cpp.

◆ reset()

void monopoly::tradeui::reset ( State &  state)
noexcept

Definition at line 659 of file TradeUI.cpp.

◆ selectPartner()

bool monopoly::tradeui::selectPartner ( State &  state,
const rules::GameState &  gameState,
rules::PlayerNumber  player 
)
noexcept

Definition at line 787 of file TradeUI.cpp.

◆ tradeActionSequence()

constexpr data::DataId monopoly::tradeui::tradeActionSequence ( data::DataTag  tag)
constexprnoexcept

Definition at line 22 of file TradeActionButtonPlayback.hpp.

◆ tradeBackdropSequence()

constexpr data::DataId monopoly::tradeui::tradeBackdropSequence ( data::DataTag  tag)
constexprnoexcept

Definition at line 40 of file TradeBackdropPlayback.hpp.

◆ tradeCashDialogSequence()

constexpr data::DataId monopoly::tradeui::tradeCashDialogSequence ( )
constexprnoexcept

Definition at line 31 of file TradeCashDialogPlayback.hpp.

◆ tradeCashIdleSequence()

constexpr data::DataId monopoly::tradeui::tradeCashIdleSequence ( std::size_t  index)
constexprnoexcept

Definition at line 37 of file TradeCashDialogPlayback.hpp.

◆ tradeCashPressedSequence()

constexpr data::DataId monopoly::tradeui::tradeCashPressedSequence ( CashDialogFeedback  feedback)
constexprnoexcept

Definition at line 47 of file TradeCashDialogPlayback.hpp.

◆ tradeContractArrowSequence()

constexpr data::DataId monopoly::tradeui::tradeContractArrowSequence ( std::size_t  index)
constexprnoexcept

Definition at line 22 of file TradeContractDialogPlayback.hpp.

◆ tradeContractIcon()

constexpr data::DataId monopoly::tradeui::tradeContractIcon ( std::size_t  kind)
constexprnoexcept

Definition at line 40 of file TradeOfferIconPlayback.hpp.

◆ tradeJailIcon()

constexpr data::DataId monopoly::tradeui::tradeJailIcon ( std::size_t  deck)
constexprnoexcept

Definition at line 32 of file TradeOfferIconPlayback.hpp.

◆ tradePropertyDataId()

data::DataId monopoly::tradeui::tradePropertyDataId ( int  square,
bool  mortgaged 
)
noexcept

Definition at line 91 of file TradePropertyPlayback.cpp.

◆ tradeTokenSequence()

constexpr data::DataId monopoly::tradeui::tradeTokenSequence ( std::uint8_t  token)
constexprnoexcept

Definition at line 23 of file TradeTokenPlayback.hpp.

Variable Documentation

◆ CancelRect

constexpr Rect monopoly::tradeui::CancelRect {306, 420, 407, 450}
inlineconstexpr

Definition at line 51 of file TradeUI.hpp.

◆ CashTradeAM1

constexpr Rect monopoly::tradeui::CashTradeAM1 {219, 358, 252, 388}
inlineconstexpr

Definition at line 46 of file TradeUI.hpp.

◆ CashTradeAM2

constexpr Rect monopoly::tradeui::CashTradeAM2 {209, 388, 261, 403}
inlineconstexpr

Definition at line 47 of file TradeUI.hpp.

◆ CashTradeAT1

constexpr Rect monopoly::tradeui::CashTradeAT1 {19, 395, 52, 425}
inlineconstexpr

Definition at line 42 of file TradeUI.hpp.

◆ CashTradeAT2

constexpr Rect monopoly::tradeui::CashTradeAT2 {9, 425, 61, 440}
inlineconstexpr

Definition at line 43 of file TradeUI.hpp.

◆ CashTradeBM1

constexpr Rect monopoly::tradeui::CashTradeBM1 {419, 358, 452, 388}
inlineconstexpr

Definition at line 48 of file TradeUI.hpp.

◆ CashTradeBM2

constexpr Rect monopoly::tradeui::CashTradeBM2 {409, 388, 461, 403}
inlineconstexpr

Definition at line 49 of file TradeUI.hpp.

◆ CashTradeBT1

constexpr Rect monopoly::tradeui::CashTradeBT1 {619, 395, 652, 425}
inlineconstexpr

Definition at line 44 of file TradeUI.hpp.

◆ CashTradeBT2

constexpr Rect monopoly::tradeui::CashTradeBT2 {609, 425, 661, 440}
inlineconstexpr

Definition at line 45 of file TradeUI.hpp.

◆ ChanceJailRects

constexpr std::array<Rect, 4> monopoly::tradeui::ChanceJailRects
inlineconstexpr
Initial value:
{{
{66, 395, 99, 414}, {666, 395, 699, 414},
{266, 358, 299, 377}, {466, 358, 499, 377}}}

Definition at line 53 of file TradeUI.hpp.

◆ CommunityJailRects

constexpr std::array<Rect, 4> monopoly::tradeui::CommunityJailRects
inlineconstexpr
Initial value:
{{
{66, 420, 99, 439}, {666, 420, 699, 439},
{266, 383, 299, 402}, {466, 383, 499, 402}}}

Definition at line 56 of file TradeUI.hpp.

◆ ContractDownRect

constexpr Rect monopoly::tradeui::ContractDownRect {767, 155, 785, 181}
inlineconstexpr

Definition at line 71 of file TradeUI.hpp.

◆ ContractListRects

constexpr std::array<Rect, 5> monopoly::tradeui::ContractListRects
inlineconstexpr
Initial value:
{{
{614,114,764,128}, {614,128,764,142}, {614,142,764,156},
{614,156,764,170}, {614,170,764,184}}}

Definition at line 72 of file TradeUI.hpp.

◆ ContractOkayRect

constexpr Rect monopoly::tradeui::ContractOkayRect {660, 187, 740, 209}
inlineconstexpr

Definition at line 69 of file TradeUI.hpp.

◆ ContractUpRect

constexpr Rect monopoly::tradeui::ContractUpRect {767, 115, 785, 141}
inlineconstexpr

Definition at line 70 of file TradeUI.hpp.

◆ FutureNewRect

constexpr Rect monopoly::tradeui::FutureNewRect {607, 197, 701, 220}
inlineconstexpr

Definition at line 67 of file TradeUI.hpp.

◆ FutureTradeAM

constexpr Rect monopoly::tradeui::FutureTradeAM {304, 361, 365, 376}
inlineconstexpr

Definition at line 61 of file TradeUI.hpp.

◆ FutureTradeAT

constexpr Rect monopoly::tradeui::FutureTradeAT {104, 398, 165, 413}
inlineconstexpr

Definition at line 59 of file TradeUI.hpp.

◆ FutureTradeBM

constexpr Rect monopoly::tradeui::FutureTradeBM {504, 361, 565, 376}
inlineconstexpr

Definition at line 62 of file TradeUI.hpp.

◆ FutureTradeBT

constexpr Rect monopoly::tradeui::FutureTradeBT {704, 398, 765, 413}
inlineconstexpr

Definition at line 60 of file TradeUI.hpp.

◆ ImmunityNewRect

constexpr Rect monopoly::tradeui::ImmunityNewRect {704, 197, 798, 220}
inlineconstexpr

Definition at line 68 of file TradeUI.hpp.

◆ ImmunityTradeAM

constexpr Rect monopoly::tradeui::ImmunityTradeAM {304, 385, 365, 400}
inlineconstexpr

Definition at line 65 of file TradeUI.hpp.

◆ ImmunityTradeAT

constexpr Rect monopoly::tradeui::ImmunityTradeAT {104, 422, 165, 437}
inlineconstexpr

Definition at line 63 of file TradeUI.hpp.

◆ ImmunityTradeBM

constexpr Rect monopoly::tradeui::ImmunityTradeBM {504, 385, 565, 400}
inlineconstexpr

Definition at line 66 of file TradeUI.hpp.

◆ ImmunityTradeBT

constexpr Rect monopoly::tradeui::ImmunityTradeBT {704, 422, 765, 437}
inlineconstexpr

Definition at line 64 of file TradeUI.hpp.

◆ MaxTradeMessages

constexpr std::size_t monopoly::tradeui::MaxTradeMessages
inlineconstexpr
Initial value:
=
28 + 15 + rules::MaxCountHitSets + 2

Definition at line 16 of file TradeUI.hpp.

◆ OffBoardSquare

constexpr std::uint8_t monopoly::tradeui::OffBoardSquare = 41
inlineconstexpr

Definition at line 25 of file TradeUI.hpp.

◆ PlayerSelectHeight

constexpr int monopoly::tradeui::PlayerSelectHeight = 209
inlineconstexpr

Definition at line 23 of file TradeUI.hpp.

◆ PlayerSelectPriority

constexpr std::uint16_t monopoly::tradeui::PlayerSelectPriority = 205
inlineconstexpr

Definition at line 24 of file TradeUI.hpp.

◆ PlayerSelectWidth

constexpr int monopoly::tradeui::PlayerSelectWidth = 188
inlineconstexpr

Definition at line 22 of file TradeUI.hpp.

◆ PlayerSelectX

constexpr int monopoly::tradeui::PlayerSelectX = 306
inlineconstexpr

Definition at line 20 of file TradeUI.hpp.

◆ PlayerSelectY

constexpr int monopoly::tradeui::PlayerSelectY = 234
inlineconstexpr

Definition at line 21 of file TradeUI.hpp.

◆ ProposeRect

constexpr Rect monopoly::tradeui::ProposeRect {202, 420, 303, 450}
inlineconstexpr

Definition at line 50 of file TradeUI.hpp.

◆ TradeActionEndingStop

constexpr std::uint8_t monopoly::tradeui::TradeActionEndingStop = 1
inlineconstexpr

Definition at line 20 of file TradeActionButtonPlayback.hpp.

◆ TradeArrowPriority

constexpr std::uint16_t monopoly::tradeui::TradeArrowPriority = 140
inlineconstexpr

Definition at line 21 of file TradeBackdropPlayback.hpp.

◆ TradeArrowTag

constexpr data::DataTag monopoly::tradeui::TradeArrowTag = 0x02AC
inlineconstexpr

Definition at line 31 of file TradeBackdropPlayback.hpp.

◆ TradeBackdropPriority

constexpr std::uint16_t monopoly::tradeui::TradeBackdropPriority = 80
inlineconstexpr

Definition at line 17 of file TradeBackdropPlayback.hpp.

◆ TradeBackgroundTag

constexpr data::DataTag monopoly::tradeui::TradeBackgroundTag = 0x02CD
inlineconstexpr

Definition at line 28 of file TradeBackdropPlayback.hpp.

◆ TradeCancelIdleTag

constexpr data::DataTag monopoly::tradeui::TradeCancelIdleTag = 0x01AF
inlineconstexpr

Definition at line 14 of file TradeActionButtonPlayback.hpp.

◆ TradeCancelOutTag

constexpr data::DataTag monopoly::tradeui::TradeCancelOutTag = 0x01B1
inlineconstexpr

Definition at line 15 of file TradeActionButtonPlayback.hpp.

◆ TradeCancelPriority

constexpr std::uint16_t monopoly::tradeui::TradeCancelPriority = 201
inlineconstexpr

Definition at line 18 of file TradeActionButtonPlayback.hpp.

◆ TradeCashButtonPriority

constexpr std::uint16_t monopoly::tradeui::TradeCashButtonPriority = 1976
inlineconstexpr

Definition at line 23 of file TradeCashDialogPlayback.hpp.

◆ TradeCashButtonX

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeCashButtonX {{-306, 294}}
inlineconstexpr

Definition at line 28 of file TradeCashDialogPlayback.hpp.

◆ TradeCashButtonY

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeCashButtonY {{-29, -29}}
inlineconstexpr

Definition at line 29 of file TradeCashDialogPlayback.hpp.

◆ TradeCashDialogPriority

constexpr std::uint16_t monopoly::tradeui::TradeCashDialogPriority = 1975
inlineconstexpr

Definition at line 22 of file TradeCashDialogPlayback.hpp.

◆ TradeCashDialogTag

constexpr data::DataTag monopoly::tradeui::TradeCashDialogTag = 0x118A
inlineconstexpr

Definition at line 16 of file TradeCashDialogPlayback.hpp.

◆ TradeCashDialogX

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeCashDialogX {{4, 604}}
inlineconstexpr

Definition at line 26 of file TradeCashDialogPlayback.hpp.

◆ TradeCashDialogY

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeCashDialogY {{324, 324}}
inlineconstexpr

Definition at line 27 of file TradeCashDialogPlayback.hpp.

◆ TradeCashIconPriorities

constexpr std::array<std::uint16_t, 4> monopoly::tradeui::TradeCashIconPriorities
inlineconstexpr
Initial value:
{{
100, 101, 102, 103}}

Definition at line 22 of file TradeCashTextPlayback.hpp.

◆ TradeCashIconTag

constexpr data::DataTag monopoly::tradeui::TradeCashIconTag = 0x0355
inlineconstexpr

Definition at line 20 of file TradeCashTextPlayback.hpp.

◆ TradeCashIconX

constexpr std::array<std::int32_t, 4> monopoly::tradeui::TradeCashIconX
inlineconstexpr
Initial value:
{{
9, 609, 209, 409}}

Definition at line 28 of file TradeCashTextPlayback.hpp.

◆ TradeCashIconY

constexpr std::array<std::int32_t, 4> monopoly::tradeui::TradeCashIconY
inlineconstexpr
Initial value:
{{
395, 395, 358, 358}}

Definition at line 30 of file TradeCashTextPlayback.hpp.

◆ TradeCashIdleTags

constexpr std::array<data::DataTag, 3> monopoly::tradeui::TradeCashIdleTags
inlineconstexpr
Initial value:
{{
0x02D9, 0x02DB, 0x02DD}}

Definition at line 17 of file TradeCashDialogPlayback.hpp.

◆ TradeCashPressedPriority

constexpr std::uint16_t monopoly::tradeui::TradeCashPressedPriority = 1977
inlineconstexpr

Definition at line 24 of file TradeCashDialogPlayback.hpp.

◆ TradeCashPressedTags

constexpr std::array<data::DataTag, 3> monopoly::tradeui::TradeCashPressedTags
inlineconstexpr
Initial value:
{{
0x02DA, 0x02DC, 0x02DE}}

Definition at line 19 of file TradeCashDialogPlayback.hpp.

◆ TradeCashReadoutHeight

constexpr std::uint32_t monopoly::tradeui::TradeCashReadoutHeight = 14
inlineconstexpr

Definition at line 35 of file TradeCashTextPlayback.hpp.

◆ TradeCashReadoutPriority

constexpr std::uint16_t monopoly::tradeui::TradeCashReadoutPriority = 1978
inlineconstexpr

Definition at line 33 of file TradeCashTextPlayback.hpp.

◆ TradeCashReadoutWidth

constexpr std::uint32_t monopoly::tradeui::TradeCashReadoutWidth = 172
inlineconstexpr

Definition at line 34 of file TradeCashTextPlayback.hpp.

◆ TradeCashTextPriority

constexpr std::uint16_t monopoly::tradeui::TradeCashTextPriority = 474
inlineconstexpr

Definition at line 21 of file TradeCashTextPlayback.hpp.

◆ TradeCashTextX

constexpr std::array<std::int32_t, 4> monopoly::tradeui::TradeCashTextX
inlineconstexpr
Initial value:
{{
10, 610, 210, 410}}

Definition at line 24 of file TradeCashTextPlayback.hpp.

◆ TradeCashTextY

constexpr std::array<std::int32_t, 4> monopoly::tradeui::TradeCashTextY
inlineconstexpr
Initial value:
{{
428, 428, 391, 391}}

Definition at line 26 of file TradeCashTextPlayback.hpp.

◆ TradeChanceJailTag

constexpr data::DataTag monopoly::tradeui::TradeChanceJailTag = 0x00DD
inlineconstexpr

Definition at line 16 of file TradeOfferIconPlayback.hpp.

◆ TradeChanceX

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeChanceX {{66,666,266,466}}
inlineconstexpr

Definition at line 23 of file TradeOfferIconPlayback.hpp.

◆ TradeChanceY

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeChanceY {{395,395,358,358}}
inlineconstexpr

Definition at line 24 of file TradeOfferIconPlayback.hpp.

◆ TradeColourRailPriority

constexpr std::uint16_t monopoly::tradeui::TradeColourRailPriority = 95
inlineconstexpr

Definition at line 18 of file TradeBackdropPlayback.hpp.

◆ TradeCommunityJailTag

constexpr data::DataTag monopoly::tradeui::TradeCommunityJailTag = 0x00DE
inlineconstexpr

Definition at line 17 of file TradeOfferIconPlayback.hpp.

◆ TradeCommunityX

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeCommunityX {{66,666,266,466}}
inlineconstexpr

Definition at line 25 of file TradeOfferIconPlayback.hpp.

◆ TradeCommunityY

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeCommunityY {{420,420,383,383}}
inlineconstexpr

Definition at line 26 of file TradeOfferIconPlayback.hpp.

◆ TradeContractArrowDownTag

constexpr data::DataTag monopoly::tradeui::TradeContractArrowDownTag = 0x0007
inlineconstexpr

Definition at line 15 of file TradeContractDialogPlayback.hpp.

◆ TradeContractArrowPriority

constexpr std::uint16_t monopoly::tradeui::TradeContractArrowPriority = 525
inlineconstexpr

Definition at line 17 of file TradeContractDialogPlayback.hpp.

◆ TradeContractArrowUpTag

constexpr data::DataTag monopoly::tradeui::TradeContractArrowUpTag = 0x0009
inlineconstexpr

Definition at line 16 of file TradeContractDialogPlayback.hpp.

◆ TradeContractArrowX

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeContractArrowX {{22, 22}}
inlineconstexpr

Definition at line 19 of file TradeContractDialogPlayback.hpp.

◆ TradeContractArrowY

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeContractArrowY {{-168, -247}}
inlineconstexpr

Definition at line 20 of file TradeContractDialogPlayback.hpp.

◆ TradeContractTextPriority

constexpr std::uint16_t monopoly::tradeui::TradeContractTextPriority = 148
inlineconstexpr

Definition at line 19 of file TradeContractTextPlayback.hpp.

◆ TradeCreateButtonPriority

constexpr std::uint16_t monopoly::tradeui::TradeCreateButtonPriority = 155
inlineconstexpr

Definition at line 24 of file TradeBackdropPlayback.hpp.

◆ TradeCreateButtonTag

constexpr data::DataTag monopoly::tradeui::TradeCreateButtonTag = 0x02CE
inlineconstexpr

Definition at line 36 of file TradeBackdropPlayback.hpp.

◆ TradeDeedHoverDelayTicks

constexpr std::uint64_t monopoly::tradeui::TradeDeedHoverDelayTicks = 36
inlineconstexpr

Definition at line 25 of file TradePropertyPlayback.hpp.

◆ TradeDeedHoverPriority

constexpr std::uint16_t monopoly::tradeui::TradeDeedHoverPriority = 1001
inlineconstexpr

Definition at line 24 of file TradePropertyPlayback.hpp.

◆ TradeDisplayBoardPriority

constexpr std::uint16_t monopoly::tradeui::TradeDisplayBoardPriority = 1000
inlineconstexpr

Definition at line 19 of file TradeBackdropPlayback.hpp.

◆ TradeDisplayBoardTag

constexpr data::DataTag monopoly::tradeui::TradeDisplayBoardTag = 0x02BB
inlineconstexpr

Definition at line 29 of file TradeBackdropPlayback.hpp.

◆ TradeDisplayLeftTag

constexpr data::DataTag monopoly::tradeui::TradeDisplayLeftTag = 0x02CF
inlineconstexpr

Definition at line 32 of file TradeBackdropPlayback.hpp.

◆ TradeDisplayPanelPriority

constexpr std::uint16_t monopoly::tradeui::TradeDisplayPanelPriority = 145
inlineconstexpr

Definition at line 22 of file TradeBackdropPlayback.hpp.

◆ TradeDisplayRightTag

constexpr data::DataTag monopoly::tradeui::TradeDisplayRightTag = 0x02D0
inlineconstexpr

Definition at line 33 of file TradeBackdropPlayback.hpp.

◆ TradeFutureButtonPriority

constexpr std::uint16_t monopoly::tradeui::TradeFutureButtonPriority = 150
inlineconstexpr

Definition at line 23 of file TradeBackdropPlayback.hpp.

◆ TradeFutureButtonTag

constexpr data::DataTag monopoly::tradeui::TradeFutureButtonTag = 0x02D1
inlineconstexpr

Definition at line 37 of file TradeBackdropPlayback.hpp.

◆ TradeFutureTag

constexpr data::DataTag monopoly::tradeui::TradeFutureTag = 0x1027
inlineconstexpr

Definition at line 18 of file TradeOfferIconPlayback.hpp.

◆ TradeFutureX

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeFutureX {{104,704,304,504}}
inlineconstexpr

Definition at line 27 of file TradeOfferIconPlayback.hpp.

◆ TradeFutureY

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeFutureY {{398,398,361,361}}
inlineconstexpr

Definition at line 28 of file TradeOfferIconPlayback.hpp.

◆ TradeIconBasePriority

constexpr std::uint16_t monopoly::tradeui::TradeIconBasePriority = 274
inlineconstexpr

Definition at line 20 of file TradeOfferIconPlayback.hpp.

◆ TradeIconSlots

constexpr std::size_t monopoly::tradeui::TradeIconSlots = 4
inlineconstexpr

Definition at line 21 of file TradeOfferIconPlayback.hpp.

◆ TradeImmunityButtonPriority

constexpr std::uint16_t monopoly::tradeui::TradeImmunityButtonPriority = 160
inlineconstexpr

Definition at line 25 of file TradeBackdropPlayback.hpp.

◆ TradeImmunityButtonTag

constexpr data::DataTag monopoly::tradeui::TradeImmunityButtonTag = 0x02D8
inlineconstexpr

Definition at line 38 of file TradeBackdropPlayback.hpp.

◆ TradeImmunityTag

constexpr data::DataTag monopoly::tradeui::TradeImmunityTag = 0x1053
inlineconstexpr

Definition at line 19 of file TradeOfferIconPlayback.hpp.

◆ TradeImmunityX

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeImmunityX {{104,704,304,504}}
inlineconstexpr

Definition at line 29 of file TradeOfferIconPlayback.hpp.

◆ TradeImmunityY

constexpr std::array<std::int32_t, TradeIconSlots> monopoly::tradeui::TradeImmunityY {{422,422,385,385}}
inlineconstexpr

Definition at line 30 of file TradeOfferIconPlayback.hpp.

◆ TradeLeftColourBaseTag

constexpr data::DataTag monopoly::tradeui::TradeLeftColourBaseTag = 0x02AD
inlineconstexpr

Definition at line 34 of file TradeBackdropPlayback.hpp.

◆ TradeLoopToBeginning

constexpr std::uint8_t monopoly::tradeui::TradeLoopToBeginning = 3
inlineconstexpr

Definition at line 27 of file TradeBackdropPlayback.hpp.

◆ TradeNamePriority

constexpr std::uint16_t monopoly::tradeui::TradeNamePriority = 148
inlineconstexpr

Definition at line 20 of file TradeNamePlayback.hpp.

◆ TradeNameX

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeNameX {{56, 604}}
inlineconstexpr

Definition at line 21 of file TradeNamePlayback.hpp.

◆ TradeNameY

constexpr std::array<std::int32_t, 2> monopoly::tradeui::TradeNameY {{229, 229}}
inlineconstexpr

Definition at line 22 of file TradeNamePlayback.hpp.

◆ TradePanelTextPriority

constexpr std::uint16_t monopoly::tradeui::TradePanelTextPriority = 148
inlineconstexpr

Definition at line 18 of file TradePanelTextPlayback.hpp.

◆ TradePropertyBasePriorities

constexpr std::array<std::uint16_t, 4> monopoly::tradeui::TradePropertyBasePriorities
inlineconstexpr
Initial value:
{{
324, 374, 424, 474
}}

Definition at line 21 of file TradePropertyPlayback.hpp.

◆ TradePropertyMortgagedBaseTag

constexpr data::DataTag monopoly::tradeui::TradePropertyMortgagedBaseTag = 0x05CA
inlineconstexpr

Definition at line 19 of file TradePropertyPlayback.hpp.

◆ TradePropertyMoveStepMs

constexpr std::uint64_t monopoly::tradeui::TradePropertyMoveStepMs = 25
inlineconstexpr

Definition at line 26 of file TradePropertyPlayback.hpp.

◆ TradePropertyMoveSteps

constexpr int monopoly::tradeui::TradePropertyMoveSteps = 4
inlineconstexpr

Definition at line 27 of file TradePropertyPlayback.hpp.

◆ TradePropertyMovingPriorities

constexpr std::array<std::uint16_t, 4> monopoly::tradeui::TradePropertyMovingPriorities
inlineconstexpr
Initial value:
{{
626, 676, 726, 776
}}

Definition at line 28 of file TradePropertyPlayback.hpp.

◆ TradePropertyNormalBaseTag

constexpr data::DataTag monopoly::tradeui::TradePropertyNormalBaseTag = 0x05E6
inlineconstexpr

Definition at line 20 of file TradePropertyPlayback.hpp.

◆ TradePropertyPlaybackObjectCount

constexpr std::size_t monopoly::tradeui::TradePropertyPlaybackObjectCount
inlineconstexpr
Initial value:
=
4 * static_cast<std::size_t>(rules::SquareCount)

Definition at line 31 of file TradePropertyPlayback.hpp.

◆ TradeProposeIdleTag

constexpr data::DataTag monopoly::tradeui::TradeProposeIdleTag = 0x01B8
inlineconstexpr

Definition at line 16 of file TradeActionButtonPlayback.hpp.

◆ TradeProposeOutTag

constexpr data::DataTag monopoly::tradeui::TradeProposeOutTag = 0x01BA
inlineconstexpr

Definition at line 17 of file TradeActionButtonPlayback.hpp.

◆ TradeProposePriority

constexpr std::uint16_t monopoly::tradeui::TradeProposePriority = 202
inlineconstexpr

Definition at line 19 of file TradeActionButtonPlayback.hpp.

◆ TradeRightColourBaseTag

constexpr data::DataTag monopoly::tradeui::TradeRightColourBaseTag = 0x02B4
inlineconstexpr

Definition at line 35 of file TradeBackdropPlayback.hpp.

◆ TradeTokenAPriority

constexpr std::uint16_t monopoly::tradeui::TradeTokenAPriority = 274
inlineconstexpr

Definition at line 17 of file TradeTokenPlayback.hpp.

◆ TradeTokenAX

constexpr std::int32_t monopoly::tradeui::TradeTokenAX = 10
inlineconstexpr

Definition at line 19 of file TradeTokenPlayback.hpp.

◆ TradeTokenBaseTag

constexpr data::DataTag monopoly::tradeui::TradeTokenBaseTag = 0x01C0
inlineconstexpr

Definition at line 16 of file TradeTokenPlayback.hpp.

◆ TradeTokenBPriority

constexpr std::uint16_t monopoly::tradeui::TradeTokenBPriority = 275
inlineconstexpr

Definition at line 18 of file TradeTokenPlayback.hpp.

◆ TradeTokenRightEdge

constexpr std::int32_t monopoly::tradeui::TradeTokenRightEdge = 790
inlineconstexpr

Definition at line 20 of file TradeTokenPlayback.hpp.

◆ TradeTokenY

constexpr std::int32_t monopoly::tradeui::TradeTokenY = 235
inlineconstexpr

Definition at line 21 of file TradeTokenPlayback.hpp.

◆ TradeTurntablePriority

constexpr std::uint16_t monopoly::tradeui::TradeTurntablePriority = 130
inlineconstexpr

Definition at line 20 of file TradeBackdropPlayback.hpp.

◆ TradeTurntableTag

constexpr data::DataTag monopoly::tradeui::TradeTurntableTag = 0x02DF
inlineconstexpr

Definition at line 30 of file TradeBackdropPlayback.hpp.