Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
IBarLayout.cpp File Reference
#include "IBarLayout.hpp"
#include <array>
Include dependency graph for IBarLayout.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::ibar
 
namespace  monopoly::ibar::layout
 

Functions

int monopoly::ibar::layout::propertyIndex (int square) noexcept
 
PropertyMask monopoly::ibar::layout::propertyBit (int square) noexcept
 
int monopoly::ibar::layout::propertyBarOrder (int square) noexcept
 
Rect monopoly::ibar::layout::propertyRect (int square) noexcept
 
std::optional< int > monopoly::ibar::layout::propertyHit (int x, int y, PropertyMask visibleProperties) noexcept
 
int monopoly::ibar::layout::scoreBoxWidth (int numberOfPlayers) noexcept
 
int monopoly::ibar::layout::scoreX (int playerIndex, int numberOfPlayers, int playerWidth) noexcept
 
Rect monopoly::ibar::layout::playerSetupHitRect (int playerIndex, int numberOfPlayers) noexcept
 
Rect monopoly::ibar::layout::actionButtonRect (ActionButtonSlot slot, ActionButtonLayout layout) noexcept
 
std::optional< ActionButtonSlot > monopoly::ibar::layout::actionButtonHit (int x, int y, ActionButtonLayout layout, ActionButtonMask activeSlots) noexcept