|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Classes | |
| struct | Rect |
Typedefs | |
| using | PropertyMask = std::uint32_t |
| using | ActionButtonMask = unsigned int |
Enumerations | |
| enum class | ActionButtonSlot : int { Options = 0 , Trade , General1 , General4 , General2 , General3 , Main , Camera , Status , Count } |
| enum class | ActionButtonLayout : int { General = 0 , BuyAuction , TaxDecision , Trading } |
Functions | |
| int | propertyIndex (int square) noexcept |
| PropertyMask | propertyBit (int square) noexcept |
| int | propertyBarOrder (int square) noexcept |
| Rect | propertyRect (int square) noexcept |
| std::optional< int > | propertyHit (int x, int y, PropertyMask visibleProperties) noexcept |
| int | scoreBoxWidth (int numberOfPlayers) noexcept |
| int | scoreX (int playerIndex, int numberOfPlayers, int playerWidth) noexcept |
| Rect | playerSetupHitRect (int playerIndex, int numberOfPlayers) noexcept |
| Rect | actionButtonRect (ActionButtonSlot slot, ActionButtonLayout layout) noexcept |
| std::optional< ActionButtonSlot > | actionButtonHit (int x, int y, ActionButtonLayout layout, ActionButtonMask activeSlots) noexcept |
| constexpr Rect | bankHitRect () noexcept |
| constexpr ActionButtonMask | actionButtonBit (ActionButtonSlot slot) noexcept |
Variables | |
| constexpr int | VirtualWidth = 800 |
| constexpr int | VirtualHeight = 600 |
| constexpr int | ScoreY = 560 |
| constexpr int | ScoreBorder = 2 |
| constexpr int | BankWidth = 45 |
| constexpr int | ScoreBoxSmallWidth = 127 |
| constexpr int | ScoreBoxLargeWidth = 184 |
| constexpr ActionButtonMask | AllActionButtonSlots |
Definition at line 115 of file IBarLayout.hpp.
| using monopoly::ibar::layout::PropertyMask = typedef std::uint32_t |
Definition at line 105 of file IBarLayout.hpp.
|
strong |
| Enumerator | |
|---|---|
| General | |
| BuyAuction | |
| TaxDecision | |
| Trading | |
Definition at line 38 of file IBarLayout.hpp.
|
strong |
| Enumerator | |
|---|---|
| Options | |
| Trade | |
| General1 | |
| General4 | |
| General2 | |
| General3 | |
| Main | |
| Camera | |
| Status | |
| Count | |
Definition at line 22 of file IBarLayout.hpp.
|
constexprnoexcept |
Definition at line 118 of file IBarLayout.hpp.
|
noexcept |
Definition at line 240 of file IBarLayout.cpp.
|
noexcept |
Definition at line 177 of file IBarLayout.cpp.
Definition at line 92 of file IBarLayout.hpp.
Definition at line 130 of file IBarLayout.cpp.
Definition at line 38 of file IBarLayout.cpp.
|
noexcept |
Definition at line 31 of file IBarLayout.cpp.
|
noexcept |
Definition at line 67 of file IBarLayout.cpp.
Definition at line 23 of file IBarLayout.cpp.
Definition at line 46 of file IBarLayout.cpp.
Definition at line 80 of file IBarLayout.cpp.
|
noexcept |
Definition at line 90 of file IBarLayout.cpp.
|
inlineconstexpr |
Definition at line 123 of file IBarLayout.hpp.
Definition at line 15 of file IBarLayout.hpp.
Definition at line 13 of file IBarLayout.hpp.
Definition at line 19 of file IBarLayout.hpp.
Definition at line 17 of file IBarLayout.hpp.
Definition at line 11 of file IBarLayout.hpp.
Definition at line 9 of file IBarLayout.hpp.
Definition at line 8 of file IBarLayout.hpp.