(by Codex) Keep bank overview totals and currency display in 64 bits

This commit is contained in:
Codex committed 2026-11-01 18:01:00 +01:00
1 parent 8baf80564a
commit 86e2bfd32a
8 files changed
+156 -38

No files matched your search

+2
View File
@@ -72,5 +72,7 @@ std::string format_amount(const GameState& g, int32_t value);
// FormatNumber(buf, value, flags, ""): bits 0-5 the field width, bit 0x40 no dot grouping,
// bit 0x100 an amount of money (converted, " EU" appended).
std::string format_number(const GameState& g, int32_t value, int flags);
// Read-only aggregates can exceed a native save word; preserve currency and padding.
std::string format_number_wide(const GameState& g, int64_t value, int flags);
} // namespace bmh