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

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::optionsui
 

Functions

std::size_t monopoly::optionsui::quickHelpPageLineCount (std::size_t totalLines, std::size_t firstLine, int lineHeight, bool initialPage) noexcept
 
Rect monopoly::optionsui::menuButtonRect (MenuButton button) noexcept
 
std::optional< MenuButton > monopoly::optionsui::menuButtonHit (int x, int y) noexcept
 
Rect monopoly::optionsui::optionOkayRect () noexcept
 
Rect monopoly::optionsui::optionToggleRect (OptionToggle toggle, bool onSide) noexcept
 
bool monopoly::optionsui::optionToggleSupported (OptionToggle toggle) noexcept
 
Rect monopoly::optionsui::fileButtonRect (FileButton button) noexcept
 
std::optional< FileButton > monopoly::optionsui::fileButtonHit (int x, int y) noexcept
 
Rect monopoly::optionsui::helpButtonRect (HelpButton button) noexcept
 
std::optional< HelpButton > monopoly::optionsui::helpButtonHit (int x, int y) noexcept
 
bool monopoly::optionsui::beginFromIBar (State &state, display::Screen2D previousView) noexcept
 
void monopoly::optionsui::loadSupportedOptionValues (State &state, bool tokenVoicesOn, bool hostCommentsOn, bool musicOn, std::uint8_t musicTuneIndex, bool tokenAnimationsOn, bool cameraMovementOn, bool lightingOn, bool board3DOn, bool filteringOn) noexcept
 
bool monopoly::optionsui::selectMusicTune (State &state, std::uint8_t tuneIndex) noexcept
 
InputResult monopoly::optionsui::processInput (State &state, display::Screen2D desiredView, const uimsg::Message &message) noexcept
 
void monopoly::optionsui::reset (State &state) noexcept