Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
MoneyFormat.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "DataBanks.hpp"
4
5#include <cstdint>
6#include <expected>
7#include <string>
8
9namespace monopoly::money
10{
11 // Portable equivalent of UDPENNY_ReturnMoneyValueBasedOnMonatarySystem.
12 // USA retail builds always force dollars regardless of DISPLAY_state.system.
13 [[nodiscard]] std::expected<std::string, std::string> format(
14 std::int64_t defaultValue,
15 int monetarySystem,
16 bool printSymbol,
17 data::BoardEdition edition);
18}
unsigned index
SDL_GPUShaderFormat format