#include "OptionsSaveRuntime.hpp"
#include "FontRuntime.hpp"
#include "LanguageResources.hpp"
#include "ResourceRuntime.hpp"
#include <SDL3/SDL.h>
#include <algorithm>
#include <bit>
#include <fstream>
#include <limits>
#include <system_error>
Go to the source code of this file.
|
| std::filesystem::path | monopoly::optionsui::saveGameDirectory () |
| |
| std::filesystem::path | monopoly::optionsui::gameBlobPath (std::size_t slot) |
| |
| std::filesystem::path | monopoly::optionsui::gameMetadataPath (std::size_t slot) |
| |
| Rect | monopoly::optionsui::saveSlotRect (std::size_t slot) noexcept |
| |
| Rect | monopoly::optionsui::dialogOkayRect (int width, int height) noexcept |
| |
| Rect | monopoly::optionsui::dialogCancelRect (int width, int height) noexcept |
| |
| std::expected< void, std::string > | monopoly::optionsui::refreshSaveSlots (SaveRuntimeState &state, FileDialogMode mode) |
| |
| void | monopoly::optionsui::closeSaveDialog (SaveRuntimeState &state) noexcept |
| |
| SaveDialogInput | monopoly::optionsui::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 > | monopoly::optionsui::readSelectedGameBlob (const SaveRuntimeState &state) |
| |
| std::expected< void, std::string > | monopoly::optionsui::beginPendingSave (SaveRuntimeState &state, const rules::GameState &ruleState, int city, int system, std::string customBoardName, rules::PlayerNumber requester) |
| |
| void | monopoly::optionsui::clearPendingSave (SaveRuntimeState &state) noexcept |
| |
| std::expected< void, std::string > | monopoly::optionsui::persistPendingSave (SaveRuntimeState &state, std::span< const std::uint8_t > gameBlob) |
| |
| std::expected< void, std::string > | monopoly::optionsui::applySelectedMetadata (const SaveRuntimeState &state, rules::GameState &ruleState, int &city, int &system) |
| |