628 Commits (next)

Author SHA1 Message Date
obligaron 95daecc1bb Introduce GetSpellListSelection and remove selection game logic from DrawSpellList 5 years ago
BC Ko 0a4361d5fc cleanup manual value clamping: control.cpp 5 years ago
Aaron Sun 6701b8a989 Fix attribute up (+) button doesn't work in special case 5 years ago
Aaron Sun aef812fb5a Modify the calculation of panel position 5 years ago
Anders Jenbo 8df8b940c4
Handle some clang-tidy issues 5 years ago
Aaron Sun 3ee90ca629 Add options for sub-panel alignment 5 years ago
Anders Jenbo 90960f0c14 Remove dead code 5 years ago
4aron5un 4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) (#2498) 5 years ago
Vladimir Olteanu b17ff04ee2 Use string_view in DrawString and friends 5 years ago
qndel 169f980038 ranged/magic formulas 5 years ago
qndel bd5e30db52 replace armor formula 5 years ago
Robin Eklind b13c002c14 control: add BUGFIX for loop termination in DrawGoldSplit 5 years ago
Anders Jenbo d523fc1e81 Cleanups 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 5 years ago
Anders Jenbo a2bed56061 Clean up some variables in control.cpp 5 years ago
Anders Jenbo a19e7b2a3b Remove some more use of miniwin 5 years ago
obligaron 1956c6a1c2
Fix some 64bit warnings 5 years ago
Anders Jenbo 77b72da276 ♻️Use monster by reference when possible 5 years ago
Anders Jenbo 352a0ca510 Place local symbols in an anonymous namespace 5 years ago
Anders Jenbo bc51e1616d 🎨 Apply clang-tidy 5 years ago
Anders Jenbo 20262e4569 🚚 Move local symbols in to anon namespace 5 years ago
Anders Jenbo 9ebdb6db69 General clean up 5 years ago
Anders Jenbo 9b8bf92575 Rename quest globals 5 years ago
Anders Jenbo 96bf75b502 Rename player globals 5 years ago
Anders Jenbo dce78dde62 Rename lighting globals 5 years ago
Anders Jenbo 07ad083fda Rename monster globals 5 years ago
Anders Jenbo cb564a2d54 Clean up A-D 5 years ago
Gleb Mazovetskiy 55464eec78 Fix `-Wmissing-braces` 5 years ago
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