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

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::optionsui
 

Functions

Rect monopoly::optionsui::customBoardSlotRect (std::size_t slot) noexcept
 
bool monopoly::optionsui::customBoardHasPrevious (const CustomBoardState &state) noexcept
 
bool monopoly::optionsui::customBoardHasNext (const CustomBoardState &state) noexcept
 
std::expected< void, std::string > monopoly::optionsui::openCustomBoardDialog (CustomBoardState &state, const std::filesystem::path &moduleDirectory, display::Screen2D previousView)
 
void monopoly::optionsui::closeCustomBoardDialog (CustomBoardState &state) noexcept
 
CustomBoardInput monopoly::optionsui::processCustomBoardInput (CustomBoardState &state, const uimsg::Message &message) noexcept
 
std::expected< std::uint32_t, std::string > monopoly::optionsui::readCustomBoardSecurityVersion ()
 
std::expected< CustomBoardSelection, std::string > monopoly::optionsui::validateCustomBoardFile (const std::filesystem::path &directory, const std::filesystem::path &fileName, std::uint32_t installedSecurityVersion)
 
std::expected< CustomBoardSelection, std::string > monopoly::optionsui::validateSelectedCustomBoard (const CustomBoardState &state)
 
std::expected< std::optional< std::filesystem::path >, std::string > monopoly::optionsui::restoreSavedCustomBoard (std::string_view savedAssetRoot, const data::ResourceSnapshot &resources, int monetarySystem)