Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Anders Jenbo
d0014b0414
Fix untranlsatable strings
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
qndel
81800e64bb
MAXCHARLEVEL cleanup
4 years ago
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
obligaron
635f378722
Add OptionEntry Experience Bar
4 years ago
Anders Jenbo
7771a08d03
Translatable mainpanel
5 years ago
Anders Jenbo
3b0858cdac
Don't show xp bar when chat is open
5 years ago
Juliano Leal Goncalves
3251171a5c
♻️ Leverage 'Point' in 'xpbar.DrawBar' function
5 years ago
Juliano Leal Goncalves
20d356a6eb
♻️ Leverage 'Point' in art_draw functions
5 years ago
ephphatha
8f2e94ae4d
Use unsigned types for player experience and related values
5 years ago
ephphatha
0575716eac
Rename UiFlags members to group related options
5 years ago
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
5 years ago
Anders Jenbo
7f5ea145e9
Fix MSVC C4477 warning
...
Also take translation in to account when printing XP info
5 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
a7c7fa0030
Fully apply clang-tidy/format to all files
5 years ago
Gleb Mazovetskiy
cb0dae8590
🚚 Rename `CelOutputBuf` to `Surface` and extract
5 years ago
Anders Jenbo
b71b0149a3
Clang-tidy: ConstexprVariableCase
5 years ago
Juliano Leal Goncalves
fd9f2099d0
♻️ Leverage 'Point' to represent mouse position
5 years ago
Gleb Mazovetskiy
f9f301b054
🚚 engine.h: Extract `Point`, `Direction`, `clamp`
...
`engine.h` is getting quite bloated. Moves this code to their own files.
5 years ago
Anders Jenbo
8a7ec56d3a
Player by reference part 2
...
This mostly change player to be by reference instead of by index.
But additionally it does stript checks for gold in the belt, move some
value types to the initialization and short circute a few functiongs.
5 years ago
Jmgr
bbd39aa513
Replace sprintfs with strcpy for translatable strings
5 years ago
Jmgr
6e85cde978
Update format strings
5 years ago
Jmgr
0c27e756f7
Add fmt::format
5 years ago
Anders Jenbo
34744c068f
♻️ Consitantly use %i and not %d
5 years ago
Anders Jenbo
68e73c0dfe
🐛 Fix infopanel text color
5 years ago
Anders Jenbo
e665a0c4b0
♻️ Draw info box text using DrawString
5 years ago
Anders Jenbo
dbf5662ce6
:note: Update MPQ error messages
5 years ago
Gleb Mazovetskiy
710ddb9af6
♻️ Make SetPixel a method
5 years ago
Gleb Mazovetskiy
b9d452390b
🧹 Source/qol: FastDraw -> UnsafeDraw
5 years ago
Anders Jenbo
654a2b8834
♻️ Clean up automap code
...
Use Point for x,y pairs. Make helpers for drawing door and squares
5 years ago
Gleb Mazovetskiy
47c93c2f9c
🧹 Fix more `-Wformat` warnings
5 years ago
Gleb Mazovetskiy
4408ddc127
🧹 Fix some -Wformat warnings
5 years ago
Gleb Mazovetskiy
fe99f79bb0
🎨 Fix line endings in Source/qol/xpbar*
5 years ago
Anders Jenbo
b69d18f12d
🌐 Enable translation of all remaning strings
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
thebigMuh
fa1f58e586
Fixing OOB error when drawing partially filled XP bar pixels. ( #1636 )
5 years ago
Anders Jenbo
d16ff1ac82
🔥 Remove unused const
5 years ago
Anders Jenbo
b978d80119
🎨 llvm-include-order
5 years ago
thebigMuh
50dcf587f4
Adding fancier XP bar ( #1597 )
5 years ago