550 Commits (inv)

Author SHA1 Message Date
Anders Jenbo 4eabc6024b Apply various cleanups via Android Studio 5 years ago
Andrew James 3508aa6d3d
Align Life/Mana flask drawing routines (#2291) 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
Anders Jenbo d9e0658643 Clang-tidy: basic naming 5 years ago
ephphatha 3f69faaecf Refactor DrawLifeFlask to minimise bounds checks, add comments 5 years ago
ephphatha 58f3ca9ba3 Refactor player hp percentage calculation to avoid C4244 warnings 5 years ago
Juliano Leal Goncalves cbb84199c2 ♻️ Replace Point addition with 'Point + Displacement' 5 years ago
Juliano Leal Goncalves 0441ffc2f4 ♻️ Move 'fromDirection' from 'Point' type to 'Displacement' type 5 years ago
Anders Jenbo e7f0ce2764 Apply cleanups to codec, control, and some of cursor 5 years ago
Juliano Leal Goncalves a37311ddc4 ♻️ Leverage 'Point.Contains' for bound checks related to character buttons 5 years ago
Juliano Leal Goncalves fd9f2099d0 ♻️ Leverage 'Point' to represent mouse position 5 years ago
Anders Jenbo 48113d064a Clang-tidy: readability-redundant-declaration 5 years ago
Anders Jenbo 79c9078fa1 ♻️Clean up type sizes 5 years ago
Andrew James 60a47caf1b
Refactor Draw* functions to use Rectangle and Point types 5 years ago
Anders Jenbo ee7b32d8f6 Player by reference part 3 5 years ago
Gleb Mazovetskiy e40b1963f9 🚚 engine.h: Extract `CelSprite` and file loading 5 years ago
Juliano Leal Goncalves 25eaac78c1 ♻️ Leverage 'Size' to represent a 'Rectangle's width/height 5 years ago
Juliano Leal Goncalves e3ea6a9042 ♻️ Leverage 'Point' to represent a 'Rectangle's position 5 years ago
Juliano Leal Goncalves ff147f9280 🚚 Rename 'RECT32' to 'Rectangle' to match naming style of other core structs 5 years ago
Gleb Mazovetskiy 982260d94e Clip control.cpp draw calls 5 years ago
Kalebe Alves 118efe8e6d
Use Point/SDL_Rect for control functions coordinate system 5 years ago
Gleb Mazovetskiy dd3ea66fa2 ♻️ Split getTextColor(bool) into 2 functions 5 years ago
qndel 2f3cf65b27 cleanup getTextColor 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
Anders Jenbo 6ce8f13751 Apply clang-tidy to more code and do some related cleanups 5 years ago
Jmgr 0e7ada15fc Apply new format to ngexttext translations 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 a03a2c2634 Render chat panel using common text rendering 5 years ago
Anders Jenbo d723ebce1a Render help text using common text rendering 5 years ago
Anders Jenbo a11bc61ea8 ♻️Render spellbook text via DrawString 5 years ago
thebigMuh 7fbcfeb35c Adding text rendering flag to adjust spacing to fit horizontally 5 years ago
Anders Jenbo 34744c068f ♻️Consitantly use %i and not %d 5 years ago
arcas 6502a3ca4d
Adding resources for translation (#1973) 5 years ago
Anders Jenbo 7667880de4 🐛 Implement letter spacing in new font rendering 5 years ago
Anders Jenbo 0c2042fa52 ♻️ Player by reference 5 years ago
Anders Jenbo 68e73c0dfe 🐛 Fix infopanel text color 5 years ago
Anders Jenbo 69e7f9527a ♻️Draw character panel text using DrawString 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 5 years ago
Anders Jenbo 6321bf04d5 ♻️Pass player to towner by reference instead of index 5 years ago
Gleb Mazovetskiy 0edfa3de66 🚚 Move CEL rendering to engine/render/cel_render.cpp 5 years ago
Anders Jenbo f579b2f287 Handle cel/cl2 files as byte arrays 5 years ago
Anders Jenbo 92db72719d 🔥 Remove some unused code 5 years ago
Anders Jenbo 4e284ede14
Correct singular "Scroll" in texts. 5 years ago
Jmgr 994c5e7cfe Add a keymapper 5 years ago
Gleb Mazovetskiy ff7fdd2848 🐞 Fix spellbook rendering crash in hellfire 5 years ago
Anders Jenbo 3f891a4333 🌐 Correctly handle two more plural translation 5 years ago