Gleb Mazovetskiy
dd3ea66fa2
♻️ Split getTextColor(bool) into 2 functions
...
This is a bit more readable than using a bool argument.
5 years ago
qndel
2f3cf65b27
cleanup getTextColor
5 years ago
qndel
c6398af024
margins and tweaks
5 years ago
qndel
b1d74d2791
alt highlighting ( #2060 )
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
qndel
faae9a65c7
fix typos ( #2038 )
5 years ago
Anders Jenbo
9e2206a673
Format code
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
72598865cc
♻️ Replace PrintGameStr with DrawString
5 years ago
Anders Jenbo
68923c6c33
✨ Generic game text render function
...
This should gradually replace all the direct rendering of game texts
throughout the code. The interface is made to closly mirror that of the
art fonts as that is what will eventually be used for rendering Unicode
fonts both in the menus and ingame.
fixup! ✨ Generic game text render function
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
Gleb Mazovetskiy
afef72f916
🎉 New map renderer
...
Uses integer math only: This speeds up the rendering and eliminates some
zoom artifacts.
Improves player indicator look -- it's now symmetric and more legible.
5 years ago
Anders Jenbo
bfc510fb23
Clean up automap.cpp
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
8257837801
🎨 Fix line endings in Source/qol/*
5 years ago
Gleb Mazovetskiy
47c93c2f9c
🧹 Fix more `-Wformat` warnings
5 years ago
Gleb Mazovetskiy
22ebebb2d1
🎨 Fix line endings in Source/qol/monhealthbar*
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
thebigMuh
ad8f342db0
Adding constness
5 years ago
thebigMuh
7ce3957a8a
Split of QoL features into separate files
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