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

Classes

struct  CustomBoardEntry
 
struct  CustomBoardInput
 
class  CustomBoardPlayback
 
struct  CustomBoardSelection
 
struct  CustomBoardState
 
class  FilePlayback
 
struct  FullHelpOptions
 
class  HelpPlayback
 
struct  InputResult
 
class  NavigationPlayback
 
class  OptionPlayback
 
struct  Rect
 
struct  SaveDialogInput
 
struct  SaveMetadata
 
class  SavePlayback
 
struct  SaveRuntimeState
 
struct  SaveSlot
 
struct  State
 
class  TogglePlayback
 
class  VisualPlayback
 

Enumerations

enum class  NavigationVisual : std::uint8_t { Off = 0 , Idle , Return , Press }
 
enum class  FileDialogMode : std::uint8_t { None , Load , Save }
 
enum class  Screen : std::uint8_t {
  File = 0 , Option , Credits , Help ,
  LoadBoard , LoadGame
}
 
enum class  MenuButton : std::uint8_t {
  File = 0 , Option , Credits , Help ,
  Count
}
 
enum class  FileButton : std::uint8_t {
  NewGame = 0 , Load , Save , Exit ,
  Cancel , Count
}
 
enum class  HelpButton : std::uint8_t { QuickHelp = 0 , FullHelp , Cancel , Count }
 
enum class  OptionToggle : std::uint8_t {
  TokenVoices = 0 , HostComments , Music , TokenAnimations ,
  Camera , Lighting , Board3D , Filtering ,
  Dithering , Resolution , Count
}
 

Functions

constexpr data::DataId customBoardTitle (data::BoardEdition edition) noexcept
 
Rect customBoardSlotRect (std::size_t slot) noexcept
 
bool customBoardHasPrevious (const CustomBoardState &state) noexcept
 
bool customBoardHasNext (const CustomBoardState &state) noexcept
 
std::expected< void, std::string > openCustomBoardDialog (CustomBoardState &state, const std::filesystem::path &moduleDirectory, display::Screen2D previousView)
 
void closeCustomBoardDialog (CustomBoardState &state) noexcept
 
CustomBoardInput processCustomBoardInput (CustomBoardState &state, const uimsg::Message &message) noexcept
 
std::expected< std::uint32_t, std::string > readCustomBoardSecurityVersion ()
 
std::expected< CustomBoardSelection, std::string > validateCustomBoardFile (const std::filesystem::path &directory, const std::filesystem::path &fileName, std::uint32_t installedSecurityVersion)
 
std::expected< CustomBoardSelection, std::string > validateSelectedCustomBoard (const CustomBoardState &state)
 
std::expected< std::optional< std::filesystem::path >, std::string > restoreSavedCustomBoard (std::string_view savedAssetRoot, const data::ResourceSnapshot &resources, int monetarySystem)
 
constexpr data::DataId fileSequence (data::DataTag tag) noexcept
 
constexpr data::DataId helpSequence (data::DataTag tag) noexcept
 
std::expected< std::string, std::string > decodeQuickHelpText (std::string_view bytes)
 
std::string helpFileName (data::LanguageId language, bool fullHelp)
 
std::expected< void, std::string > openQuickHelp (State &state, const data::ResourceSnapshot &resources)
 
std::expected< void, std::string > openFullHelp (const data::ResourceSnapshot &resources, const FullHelpOptions &options)
 
std::optional< std::string > styleFullHelpHtml (std::string_view html, std::uintmax_t maximumBytes)
 
bool fullHelpPending () noexcept
 
void cancelFullHelp () noexcept
 
std::expected< bool, std::string > pollFullHelp ()
 
constexpr data::DataId navigationSequence (MenuButton button, NavigationVisual visual) noexcept
 
constexpr std::uint16_t navigationPriority (MenuButton button, NavigationVisual visual) noexcept
 
constexpr data::DataId optionSequence (data::DataTag tag) noexcept
 
std::filesystem::path saveGameDirectory ()
 
std::filesystem::path gameBlobPath (std::size_t slot)
 
std::filesystem::path gameMetadataPath (std::size_t slot)
 
Rect saveSlotRect (std::size_t slot) noexcept
 
Rect dialogOkayRect (int width, int height) noexcept
 
Rect dialogCancelRect (int width, int height) noexcept
 
std::expected< void, std::string > refreshSaveSlots (SaveRuntimeState &state, FileDialogMode mode)
 
void closeSaveDialog (SaveRuntimeState &state) noexcept
 
SaveDialogInput processSaveDialogInput (SaveRuntimeState &state, const uimsg::Message &message, fonts::Runtime *fontRuntime, std::shared_ptr< const data::ResourceSnapshot > resources)
 
std::expected< std::vector< std::uint8_t >, std::string > readSelectedGameBlob (const SaveRuntimeState &state)
 
std::expected< void, std::string > beginPendingSave (SaveRuntimeState &state, const rules::GameState &ruleState, int city, int system, std::string customBoardName, rules::PlayerNumber requester)
 
void clearPendingSave (SaveRuntimeState &state) noexcept
 
std::expected< void, std::string > persistPendingSave (SaveRuntimeState &state, std::span< const std::uint8_t > gameBlob)
 
std::expected< void, std::string > applySelectedMetadata (const SaveRuntimeState &state, rules::GameState &ruleState, int &city, int &system)
 
constexpr std::uint16_t togglePriority (OptionToggle toggle) noexcept
 
constexpr data::DataTag toggleTag (bool onSide, bool value) noexcept
 
constexpr data::DataId toggleSequence (bool onSide, bool value) noexcept
 
std::size_t quickHelpPageLineCount (std::size_t totalLines, std::size_t firstLine, int lineHeight, bool initialPage) noexcept
 
Rect menuButtonRect (MenuButton button) noexcept
 
std::optional< MenuButton > menuButtonHit (int x, int y) noexcept
 
Rect optionOkayRect () noexcept
 
Rect optionToggleRect (OptionToggle toggle, bool onSide) noexcept
 
bool optionToggleSupported (OptionToggle toggle) noexcept
 
Rect fileButtonRect (FileButton button) noexcept
 
std::optional< FileButton > fileButtonHit (int x, int y) noexcept
 
Rect helpButtonRect (HelpButton button) noexcept
 
std::optional< HelpButton > helpButtonHit (int x, int y) noexcept
 
bool beginFromIBar (State &state, display::Screen2D previousView) noexcept
 
void 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 selectMusicTune (State &state, std::uint8_t tuneIndex) noexcept
 
InputResult processInput (State &state, display::Screen2D desiredView, const uimsg::Message &message) noexcept
 
void reset (State &state) noexcept
 
std::expected< std::vector< std::string >, std::string > wrapOptionsText (fonts::Runtime &font, std::string_view text, int width, bool replaceUnderscores)
 
constexpr data::DataId creditsBitmap (data::BoardEdition edition) noexcept
 
constexpr int creditsScrollY (std::uint64_t elapsedTicks) noexcept
 

Variables

constexpr std::size_t CustomBoardLimit = 100
 
constexpr std::size_t CustomBoardPageSize = 5
 
constexpr data::DataTag FileTitleTag = 0x023A
 
constexpr std::array< data::DataTag, 5 > FileButtonInTags
 
constexpr std::uint16_t FileScreenPriority = 50
 
constexpr std::uint8_t FileScreenStayAtEnd = 2
 
constexpr data::DataTag HelpTitleTag = 0x0249
 
constexpr std::array< data::DataTag, 3 > HelpButtonInTags
 
constexpr std::uint16_t HelpScreenPriority = 50
 
constexpr std::uint8_t HelpScreenStayAtEnd = 2
 
constexpr std::uint8_t NavigationStayAtEnd = 2
 
constexpr std::array< data::DataTag, 4 > NavigationIdleTags
 
constexpr std::array< data::DataTag, 4 > NavigationReturnTags
 
constexpr std::array< data::DataTag, 4 > NavigationPressTags
 
constexpr std::array< std::uint16_t, 4 > NavigationIdlePriorities
 
constexpr std::array< std::uint16_t, 4 > NavigationPressPriorities
 
constexpr std::uint16_t OptionScreenPriority = 50
 
constexpr std::uint8_t OptionScreenStayAtEnd = 2
 
constexpr data::DataTag OptionTitleTag = 0x0277
 
constexpr data::DataTag OptionSoundSubtitleTag = 0x0278
 
constexpr data::DataTag OptionDisplaySubtitleTag = 0x0262
 
constexpr data::DataTag OptionOkayInTag = 0x026E
 
constexpr int OptionOkayX = 350
 
constexpr int OptionOkayY = 450
 
constexpr int OptionOkayWidth = 127
 
constexpr int OptionOkayHeight = 36
 
constexpr std::array< data::DataTag, 4 > OptionScreenTags
 
constexpr std::size_t SaveSlotCount = 5
 
constexpr data::DataTag ToggleOffUnselectedTag = 0x026B
 
constexpr data::DataTag ToggleOffSelectedTag = 0x026C
 
constexpr data::DataTag ToggleOnUnselectedTag = 0x0272
 
constexpr data::DataTag ToggleOnSelectedTag = 0x0273
 
constexpr std::uint8_t ToggleStayAtEnd = 2
 
constexpr std::uint8_t MusicTuneCount = 5
 
constexpr std::array< OptionToggle, 8 > SupportedOptionToggles
 
constexpr std::array< std::uint32_t, 9 > OptionLabelTextIds
 
constexpr std::array< std::string_view, 5 > MusicNames
 

Enumeration Type Documentation

◆ FileButton

enum class monopoly::optionsui::FileButton : std::uint8_t
strong
Enumerator
NewGame 
Load 
Save 
Exit 
Cancel 
Count 

Definition at line 33 of file OptionsUI.hpp.

◆ FileDialogMode

enum class monopoly::optionsui::FileDialogMode : std::uint8_t
strong
Enumerator
None 
Load 
Save 

Definition at line 32 of file OptionsSaveRuntime.hpp.

◆ HelpButton

enum class monopoly::optionsui::HelpButton : std::uint8_t
strong
Enumerator
QuickHelp 
FullHelp 
Cancel 
Count 

Definition at line 43 of file OptionsUI.hpp.

◆ MenuButton

enum class monopoly::optionsui::MenuButton : std::uint8_t
strong
Enumerator
File 
Option 
Credits 
Help 
Count 

Definition at line 24 of file OptionsUI.hpp.

◆ NavigationVisual

enum class monopoly::optionsui::NavigationVisual : std::uint8_t
strong
Enumerator
Off 
Idle 
Return 
Press 

Definition at line 14 of file OptionsNavigationPlayback.hpp.

◆ OptionToggle

enum class monopoly::optionsui::OptionToggle : std::uint8_t
strong
Enumerator
TokenVoices 
HostComments 
Music 
TokenAnimations 
Camera 
Lighting 
Board3D 
Filtering 
Dithering 
Resolution 
Count 

Definition at line 51 of file OptionsUI.hpp.

◆ Screen

enum class monopoly::optionsui::Screen : std::uint8_t
strong
Enumerator
File 
Option 
Credits 
Help 
LoadBoard 
LoadGame 

Definition at line 14 of file OptionsUI.hpp.

Function Documentation

◆ applySelectedMetadata()

std::expected< void, std::string > monopoly::optionsui::applySelectedMetadata ( const SaveRuntimeState &  state,
rules::GameState &  ruleState,
int &  city,
int &  system 
)

Definition at line 510 of file OptionsSaveRuntime.cpp.

◆ beginFromIBar()

bool monopoly::optionsui::beginFromIBar ( State &  state,
display::Screen2D  previousView 
)
noexcept

Definition at line 137 of file OptionsUI.cpp.

◆ beginPendingSave()

std::expected< void, std::string > monopoly::optionsui::beginPendingSave ( SaveRuntimeState &  state,
const rules::GameState &  ruleState,
int  city,
int  system,
std::string  customBoardName,
rules::PlayerNumber  requester 
)

Definition at line 431 of file OptionsSaveRuntime.cpp.

◆ cancelFullHelp()

void monopoly::optionsui::cancelFullHelp ( )
noexcept

Definition at line 389 of file OptionsHelpRuntime.cpp.

◆ clearPendingSave()

void monopoly::optionsui::clearPendingSave ( SaveRuntimeState &  state)
noexcept

Definition at line 469 of file OptionsSaveRuntime.cpp.

◆ closeCustomBoardDialog()

void monopoly::optionsui::closeCustomBoardDialog ( CustomBoardState &  state)
noexcept

Definition at line 89 of file OptionsCustomBoardRuntime.cpp.

◆ closeSaveDialog()

void monopoly::optionsui::closeSaveDialog ( SaveRuntimeState &  state)
noexcept

Definition at line 299 of file OptionsSaveRuntime.cpp.

◆ creditsBitmap()

constexpr data::DataId monopoly::optionsui::creditsBitmap ( data::BoardEdition  edition)
constexprnoexcept

Definition at line 14 of file OptionsVisualPlayback.hpp.

◆ creditsScrollY()

constexpr int monopoly::optionsui::creditsScrollY ( std::uint64_t  elapsedTicks)
constexprnoexcept

Definition at line 19 of file OptionsVisualPlayback.hpp.

◆ customBoardHasNext()

bool monopoly::optionsui::customBoardHasNext ( const CustomBoardState &  state)
noexcept

Definition at line 43 of file OptionsCustomBoardRuntime.cpp.

◆ customBoardHasPrevious()

bool monopoly::optionsui::customBoardHasPrevious ( const CustomBoardState &  state)
noexcept

Definition at line 41 of file OptionsCustomBoardRuntime.cpp.

◆ customBoardSlotRect()

Rect monopoly::optionsui::customBoardSlotRect ( std::size_t  slot)
noexcept

Definition at line 35 of file OptionsCustomBoardRuntime.cpp.

◆ customBoardTitle()

constexpr data::DataId monopoly::optionsui::customBoardTitle ( data::BoardEdition  edition)
constexprnoexcept

Definition at line 7 of file OptionsCustomBoardPlayback.hpp.

◆ decodeQuickHelpText()

std::expected< std::string, std::string > monopoly::optionsui::decodeQuickHelpText ( std::string_view  bytes)

Definition at line 183 of file OptionsHelpRuntime.cpp.

◆ dialogCancelRect()

Rect monopoly::optionsui::dialogCancelRect ( int  width,
int  height 
)
noexcept

Definition at line 260 of file OptionsSaveRuntime.cpp.

◆ dialogOkayRect()

Rect monopoly::optionsui::dialogOkayRect ( int  width,
int  height 
)
noexcept

Definition at line 255 of file OptionsSaveRuntime.cpp.

◆ fileButtonHit()

std::optional< FileButton > monopoly::optionsui::fileButtonHit ( int  x,
int  y 
)
noexcept

Definition at line 108 of file OptionsUI.cpp.

◆ fileButtonRect()

Rect monopoly::optionsui::fileButtonRect ( FileButton  button)
noexcept

Definition at line 97 of file OptionsUI.cpp.

◆ fileSequence()

constexpr data::DataId monopoly::optionsui::fileSequence ( data::DataTag  tag)
constexprnoexcept

Definition at line 21 of file OptionsFilePlayback.hpp.

◆ fullHelpPending()

bool monopoly::optionsui::fullHelpPending ( )
noexcept

Definition at line 387 of file OptionsHelpRuntime.cpp.

◆ gameBlobPath()

std::filesystem::path monopoly::optionsui::gameBlobPath ( std::size_t  slot)

Definition at line 234 of file OptionsSaveRuntime.cpp.

◆ gameMetadataPath()

std::filesystem::path monopoly::optionsui::gameMetadataPath ( std::size_t  slot)

Definition at line 241 of file OptionsSaveRuntime.cpp.

◆ helpButtonHit()

std::optional< HelpButton > monopoly::optionsui::helpButtonHit ( int  x,
int  y 
)
noexcept

Definition at line 127 of file OptionsUI.cpp.

◆ helpButtonRect()

Rect monopoly::optionsui::helpButtonRect ( HelpButton  button)
noexcept

Definition at line 119 of file OptionsUI.cpp.

◆ helpFileName()

std::string monopoly::optionsui::helpFileName ( data::LanguageId  language,
bool  fullHelp 
)

Definition at line 219 of file OptionsHelpRuntime.cpp.

◆ helpSequence()

constexpr data::DataId monopoly::optionsui::helpSequence ( data::DataTag  tag)
constexprnoexcept

Definition at line 21 of file OptionsHelpPlayback.hpp.

◆ loadSupportedOptionValues()

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

Definition at line 150 of file OptionsUI.cpp.

◆ menuButtonHit()

std::optional< MenuButton > monopoly::optionsui::menuButtonHit ( int  x,
int  y 
)
noexcept

Definition at line 59 of file OptionsUI.cpp.

◆ menuButtonRect()

Rect monopoly::optionsui::menuButtonRect ( MenuButton  button)
noexcept

Definition at line 49 of file OptionsUI.cpp.

◆ navigationPriority()

constexpr std::uint16_t monopoly::optionsui::navigationPriority ( MenuButton  button,
NavigationVisual  visual 
)
constexprnoexcept

Definition at line 47 of file OptionsNavigationPlayback.hpp.

◆ navigationSequence()

constexpr data::DataId monopoly::optionsui::navigationSequence ( MenuButton  button,
NavigationVisual  visual 
)
constexprnoexcept

Definition at line 36 of file OptionsNavigationPlayback.hpp.

◆ openCustomBoardDialog()

std::expected< void, std::string > monopoly::optionsui::openCustomBoardDialog ( CustomBoardState &  state,
const std::filesystem::path &  moduleDirectory,
display::Screen2D  previousView 
)

Definition at line 46 of file OptionsCustomBoardRuntime.cpp.

◆ openFullHelp()

std::expected< void, std::string > monopoly::optionsui::openFullHelp ( const data::ResourceSnapshot &  resources,
const FullHelpOptions &  options 
)

Definition at line 248 of file OptionsHelpRuntime.cpp.

◆ openQuickHelp()

std::expected< void, std::string > monopoly::optionsui::openQuickHelp ( State &  state,
const data::ResourceSnapshot &  resources 
)

Definition at line 227 of file OptionsHelpRuntime.cpp.

◆ optionOkayRect()

Rect monopoly::optionsui::optionOkayRect ( )
noexcept

Definition at line 70 of file OptionsUI.cpp.

◆ optionSequence()

constexpr data::DataId monopoly::optionsui::optionSequence ( data::DataTag  tag)
constexprnoexcept

Definition at line 26 of file OptionsOptionPlayback.hpp.

◆ optionToggleRect()

Rect monopoly::optionsui::optionToggleRect ( OptionToggle  toggle,
bool  onSide 
)
noexcept

Definition at line 77 of file OptionsUI.cpp.

◆ optionToggleSupported()

bool monopoly::optionsui::optionToggleSupported ( OptionToggle  toggle)
noexcept

Definition at line 91 of file OptionsUI.cpp.

◆ persistPendingSave()

std::expected< void, std::string > monopoly::optionsui::persistPendingSave ( SaveRuntimeState &  state,
std::span< const std::uint8_t >  gameBlob 
)

Definition at line 476 of file OptionsSaveRuntime.cpp.

◆ pollFullHelp()

std::expected< bool, std::string > monopoly::optionsui::pollFullHelp ( )

Definition at line 391 of file OptionsHelpRuntime.cpp.

◆ processCustomBoardInput()

CustomBoardInput monopoly::optionsui::processCustomBoardInput ( CustomBoardState &  state,
const uimsg::Message &  message 
)
noexcept

Definition at line 95 of file OptionsCustomBoardRuntime.cpp.

◆ processInput()

InputResult monopoly::optionsui::processInput ( State &  state,
display::Screen2D  desiredView,
const uimsg::Message &  message 
)
noexcept

Definition at line 178 of file OptionsUI.cpp.

◆ processSaveDialogInput()

SaveDialogInput monopoly::optionsui::processSaveDialogInput ( SaveRuntimeState &  state,
const uimsg::Message &  message,
fonts::Runtime *  fontRuntime,
std::shared_ptr< const data::ResourceSnapshot >  resources 
)

Definition at line 308 of file OptionsSaveRuntime.cpp.

◆ quickHelpPageLineCount()

std::size_t monopoly::optionsui::quickHelpPageLineCount ( std::size_t  totalLines,
std::size_t  firstLine,
int  lineHeight,
bool  initialPage 
)
noexcept

Definition at line 8 of file OptionsUI.cpp.

◆ readCustomBoardSecurityVersion()

std::expected< std::uint32_t, std::string > monopoly::optionsui::readCustomBoardSecurityVersion ( )

Definition at line 129 of file OptionsCustomBoardRuntime.cpp.

◆ readSelectedGameBlob()

std::expected< std::vector< std::uint8_t >, std::string > monopoly::optionsui::readSelectedGameBlob ( const SaveRuntimeState &  state)

Definition at line 415 of file OptionsSaveRuntime.cpp.

◆ refreshSaveSlots()

std::expected< void, std::string > monopoly::optionsui::refreshSaveSlots ( SaveRuntimeState &  state,
FileDialogMode  mode 
)

Definition at line 265 of file OptionsSaveRuntime.cpp.

◆ reset()

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

Definition at line 309 of file OptionsUI.cpp.

◆ restoreSavedCustomBoard()

std::expected< std::optional< std::filesystem::path >, std::string > monopoly::optionsui::restoreSavedCustomBoard ( std::string_view  savedAssetRoot,
const data::ResourceSnapshot &  resources,
int  monetarySystem 
)

Definition at line 187 of file OptionsCustomBoardRuntime.cpp.

◆ saveGameDirectory()

std::filesystem::path monopoly::optionsui::saveGameDirectory ( )

Definition at line 227 of file OptionsSaveRuntime.cpp.

◆ saveSlotRect()

Rect monopoly::optionsui::saveSlotRect ( std::size_t  slot)
noexcept

Definition at line 248 of file OptionsSaveRuntime.cpp.

◆ selectMusicTune()

bool monopoly::optionsui::selectMusicTune ( State &  state,
std::uint8_t  tuneIndex 
)
noexcept

Definition at line 170 of file OptionsUI.cpp.

◆ styleFullHelpHtml()

std::optional< std::string > monopoly::optionsui::styleFullHelpHtml ( std::string_view  html,
std::uintmax_t  maximumBytes 
)

Definition at line 327 of file OptionsHelpRuntime.cpp.

◆ togglePriority()

constexpr std::uint16_t monopoly::optionsui::togglePriority ( OptionToggle  toggle)
constexprnoexcept

Definition at line 19 of file OptionsTogglePlayback.hpp.

◆ toggleSequence()

constexpr data::DataId monopoly::optionsui::toggleSequence ( bool  onSide,
bool  value 
)
constexprnoexcept

Definition at line 34 of file OptionsTogglePlayback.hpp.

◆ toggleTag()

constexpr data::DataTag monopoly::optionsui::toggleTag ( bool  onSide,
bool  value 
)
constexprnoexcept

Definition at line 26 of file OptionsTogglePlayback.hpp.

◆ validateCustomBoardFile()

std::expected< CustomBoardSelection, std::string > monopoly::optionsui::validateCustomBoardFile ( const std::filesystem::path &  directory,
const std::filesystem::path &  fileName,
std::uint32_t  installedSecurityVersion 
)

Definition at line 149 of file OptionsCustomBoardRuntime.cpp.

◆ validateSelectedCustomBoard()

std::expected< CustomBoardSelection, std::string > monopoly::optionsui::validateSelectedCustomBoard ( const CustomBoardState &  state)

Definition at line 177 of file OptionsCustomBoardRuntime.cpp.

◆ wrapOptionsText()

std::expected< std::vector< std::string >, std::string > monopoly::optionsui::wrapOptionsText ( fonts::Runtime &  font,
std::string_view  text,
int  width,
bool  replaceUnderscores 
)

Definition at line 84 of file OptionsVisualPlayback.cpp.

Variable Documentation

◆ CustomBoardLimit

constexpr std::size_t monopoly::optionsui::CustomBoardLimit = 100
inlineconstexpr

Definition at line 13 of file OptionsCustomBoardRuntime.hpp.

◆ CustomBoardPageSize

constexpr std::size_t monopoly::optionsui::CustomBoardPageSize = 5
inlineconstexpr

Definition at line 14 of file OptionsCustomBoardRuntime.hpp.

◆ FileButtonInTags

constexpr std::array<data::DataTag, 5> monopoly::optionsui::FileButtonInTags
inlineconstexpr
Initial value:
{
0x0241, 0x023E, 0x0244, 0x0238, 0x0235}

Definition at line 16 of file OptionsFilePlayback.hpp.

◆ FileScreenPriority

constexpr std::uint16_t monopoly::optionsui::FileScreenPriority = 50
inlineconstexpr

Definition at line 18 of file OptionsFilePlayback.hpp.

◆ FileScreenStayAtEnd

constexpr std::uint8_t monopoly::optionsui::FileScreenStayAtEnd = 2
inlineconstexpr

Definition at line 19 of file OptionsFilePlayback.hpp.

◆ FileTitleTag

constexpr data::DataTag monopoly::optionsui::FileTitleTag = 0x023A
inlineconstexpr

Definition at line 15 of file OptionsFilePlayback.hpp.

◆ HelpButtonInTags

constexpr std::array<data::DataTag, 3> monopoly::optionsui::HelpButtonInTags
inlineconstexpr
Initial value:
{
0x0250, 0x024B, 0x0235}

Definition at line 16 of file OptionsHelpPlayback.hpp.

◆ HelpScreenPriority

constexpr std::uint16_t monopoly::optionsui::HelpScreenPriority = 50
inlineconstexpr

Definition at line 18 of file OptionsHelpPlayback.hpp.

◆ HelpScreenStayAtEnd

constexpr std::uint8_t monopoly::optionsui::HelpScreenStayAtEnd = 2
inlineconstexpr

Definition at line 19 of file OptionsHelpPlayback.hpp.

◆ HelpTitleTag

constexpr data::DataTag monopoly::optionsui::HelpTitleTag = 0x0249
inlineconstexpr

Definition at line 15 of file OptionsHelpPlayback.hpp.

◆ MusicNames

constexpr std::array<std::string_view, 5> monopoly::optionsui::MusicNames
inlineconstexpr
Initial value:
{
"Let's Play Monopoly!", "Railroad Serenade", "Take a Chance", "Park Place Stroll", "C Notes"}

Definition at line 12 of file OptionsVisualPlayback.hpp.

◆ MusicTuneCount

constexpr std::uint8_t monopoly::optionsui::MusicTuneCount = 5
inlineconstexpr

Definition at line 66 of file OptionsUI.hpp.

◆ NavigationIdlePriorities

constexpr std::array<std::uint16_t, 4> monopoly::optionsui::NavigationIdlePriorities
inlineconstexpr
Initial value:
{
1006, 1008, 1004, 1001}

Definition at line 31 of file OptionsNavigationPlayback.hpp.

◆ NavigationIdleTags

constexpr std::array<data::DataTag, 4> monopoly::optionsui::NavigationIdleTags
inlineconstexpr
Initial value:
{
0x018E, 0x0192, 0x0186, 0x018A}

Definition at line 24 of file OptionsNavigationPlayback.hpp.

◆ NavigationPressPriorities

constexpr std::array<std::uint16_t, 4> monopoly::optionsui::NavigationPressPriorities
inlineconstexpr
Initial value:
{
1007, 1009, 1005, 1003}

Definition at line 33 of file OptionsNavigationPlayback.hpp.

◆ NavigationPressTags

constexpr std::array<data::DataTag, 4> monopoly::optionsui::NavigationPressTags
inlineconstexpr
Initial value:
{
0x0190, 0x0194, 0x0188, 0x018C}

Definition at line 28 of file OptionsNavigationPlayback.hpp.

◆ NavigationReturnTags

constexpr std::array<data::DataTag, 4> monopoly::optionsui::NavigationReturnTags
inlineconstexpr
Initial value:
{
0x018F, 0x0193, 0x0187, 0x018B}

Definition at line 26 of file OptionsNavigationPlayback.hpp.

◆ NavigationStayAtEnd

constexpr std::uint8_t monopoly::optionsui::NavigationStayAtEnd = 2
inlineconstexpr

Definition at line 22 of file OptionsNavigationPlayback.hpp.

◆ OptionDisplaySubtitleTag

constexpr data::DataTag monopoly::optionsui::OptionDisplaySubtitleTag = 0x0262
inlineconstexpr

Definition at line 18 of file OptionsOptionPlayback.hpp.

◆ OptionLabelTextIds

constexpr std::array<std::uint32_t, 9> monopoly::optionsui::OptionLabelTextIds
inlineconstexpr
Initial value:
{
3191, 3209, 3192, 3210, 3211, 3212, 3193, 3194, 3195}

Definition at line 10 of file OptionsVisualPlayback.hpp.

◆ OptionOkayHeight

constexpr int monopoly::optionsui::OptionOkayHeight = 36
inlineconstexpr

Definition at line 24 of file OptionsOptionPlayback.hpp.

◆ OptionOkayInTag

constexpr data::DataTag monopoly::optionsui::OptionOkayInTag = 0x026E
inlineconstexpr

Definition at line 19 of file OptionsOptionPlayback.hpp.

◆ OptionOkayWidth

constexpr int monopoly::optionsui::OptionOkayWidth = 127
inlineconstexpr

Definition at line 23 of file OptionsOptionPlayback.hpp.

◆ OptionOkayX

constexpr int monopoly::optionsui::OptionOkayX = 350
inlineconstexpr

Definition at line 21 of file OptionsOptionPlayback.hpp.

◆ OptionOkayY

constexpr int monopoly::optionsui::OptionOkayY = 450
inlineconstexpr

Definition at line 22 of file OptionsOptionPlayback.hpp.

◆ OptionScreenPriority

constexpr std::uint16_t monopoly::optionsui::OptionScreenPriority = 50
inlineconstexpr

Definition at line 13 of file OptionsOptionPlayback.hpp.

◆ OptionScreenStayAtEnd

constexpr std::uint8_t monopoly::optionsui::OptionScreenStayAtEnd = 2
inlineconstexpr

Definition at line 14 of file OptionsOptionPlayback.hpp.

◆ OptionScreenTags

constexpr std::array<data::DataTag, 4> monopoly::optionsui::OptionScreenTags
inlineconstexpr
Initial value:

Definition at line 31 of file OptionsOptionPlayback.hpp.

◆ OptionSoundSubtitleTag

constexpr data::DataTag monopoly::optionsui::OptionSoundSubtitleTag = 0x0278
inlineconstexpr

Definition at line 17 of file OptionsOptionPlayback.hpp.

◆ OptionTitleTag

constexpr data::DataTag monopoly::optionsui::OptionTitleTag = 0x0277
inlineconstexpr

Definition at line 16 of file OptionsOptionPlayback.hpp.

◆ SaveSlotCount

constexpr std::size_t monopoly::optionsui::SaveSlotCount = 5
inlineconstexpr

Definition at line 30 of file OptionsSaveRuntime.hpp.

◆ SupportedOptionToggles

constexpr std::array<OptionToggle, 8> monopoly::optionsui::SupportedOptionToggles
inlineconstexpr
Initial value:
{
OptionToggle::TokenVoices, OptionToggle::HostComments, OptionToggle::Music,
OptionToggle::TokenAnimations, OptionToggle::Camera, OptionToggle::Lighting,
OptionToggle::Board3D, OptionToggle::Filtering}

Definition at line 68 of file OptionsUI.hpp.

◆ ToggleOffSelectedTag

constexpr data::DataTag monopoly::optionsui::ToggleOffSelectedTag = 0x026C
inlineconstexpr

Definition at line 14 of file OptionsTogglePlayback.hpp.

◆ ToggleOffUnselectedTag

constexpr data::DataTag monopoly::optionsui::ToggleOffUnselectedTag = 0x026B
inlineconstexpr

Definition at line 13 of file OptionsTogglePlayback.hpp.

◆ ToggleOnSelectedTag

constexpr data::DataTag monopoly::optionsui::ToggleOnSelectedTag = 0x0273
inlineconstexpr

Definition at line 16 of file OptionsTogglePlayback.hpp.

◆ ToggleOnUnselectedTag

constexpr data::DataTag monopoly::optionsui::ToggleOnUnselectedTag = 0x0272
inlineconstexpr

Definition at line 15 of file OptionsTogglePlayback.hpp.

◆ ToggleStayAtEnd

constexpr std::uint8_t monopoly::optionsui::ToggleStayAtEnd = 2
inlineconstexpr

Definition at line 17 of file OptionsTogglePlayback.hpp.