obligaron
b916c8e428
Introduce Open/Close/ToggleCharPanel
3 years ago
KPhoenix
a1fbf5253f
`enum talk_id` -> `enum class TalkID`
3 years ago
Gleb Mazovetskiy
ae6a3dbe5e
Add missing <ctime> includes for `std::tm`
4 years ago
Gleb Mazovetskiy
d07ac14440
Handle nullptr localtime
...
`localtime` can return `nullptr` on some platforms (e.g. NXDK)
Improve portability by handling the `nullptr` result.
4 years ago
Gleb Mazovetskiy
1fc8ecb6f6
Add fmt::runtime annotations for C++20 support
...
`fmt` requires non-contexpr format string arguments to be wrapped in
`fmt::runtime` in C++20.
4 years ago
Gleb Mazovetskiy
779ccaca17
Overhaul translation fetching
...
1. Do not modify the map after loading. Instead, return string views
(guaranteed to be null-terminated) from look up functions and return
the key directly if not found.
2. Use an `unorded_map` instead of `map` where available (C++20).
Saves a bit of RAM (~50 KiB) and improves lookup performance.
4 years ago
qndel
354e329644
Players[MyPlayerId] -> MyPlayer
4 years ago
obligaron
d86c4e5d84
Introduce GetUIRectangle() to distinguish between UI and main panel
4 years ago
Gleb Mazovetskiy
80599319bc
Don't hide the automap in Help and Chat Log ( #4379 )
...
This was necessary in the past due to stippled transparency but we use
blended transparency now.
Fixes #4355
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
qndel
b8fc442210
fix chatlog translation entry ( #4140 )
4 years ago
qndel
48f102eff1
Chat log
4 years ago