447 Commits (3fcbe2de3bd1aab2ce683e9daedccc4ddf69f394)

Author SHA1 Message Date
Anders Jenbo 77b72da276 ♻️Use monster by reference when possible 5 years ago
Anders Jenbo 35ccc8eb1c Apply clang-tidy to code 5 years ago
Anders Jenbo 74b57558c9 🚚 Move local code to anonymous namespace 5 years ago
Anders Jenbo 903d4bd2e1 Scope all for loops 5 years ago
Anders Jenbo 467b74dc06 Rename object globals 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 c8870dbd1f Rename item globals 5 years ago
Anders Jenbo 07ad083fda Rename monster globals 5 years ago
Anders Jenbo bc59218d0d More clang-tidy/Android Studio cleanups 5 years ago
Anders Jenbo 4eabc6024b Apply various cleanups via Android Studio 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
Anders Jenbo 50aa3dce0d Fix GCC warning in inv.cpp 5 years ago
qndel fd3893190f inv cleanup 5 years ago
qndel a1710ff51e
pass item to CelDrawItem (#2265) 5 years ago
Juliano Leal Goncalves cbb84199c2 ♻️ Replace Point addition with 'Point + Displacement' 5 years ago
Juliano Leal Goncalves fd9f2099d0 ♻️ Leverage 'Point' to represent mouse position 5 years ago
Anders Jenbo 790f42d078 Clang-tidy: readability-inconsistent-declaration-parameter-name 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
Anders Jenbo e670faac99 🔥 Remove unused code DrawInvMsg 5 years ago
Gleb Mazovetskiy f98148484f
🐞 Fix inventory manipulation (#2216) 5 years ago
Gleb Mazovetskiy 5cefb4a365 Fix `-Wswitch` in `UseInvItem` 5 years ago
Gleb Mazovetskiy e40b1963f9 🚚 engine.h: Extract `CelSprite` and file loading 5 years ago
Gleb Mazovetskiy aa54675d83 🚚 engine.h: Extract `Size` 5 years ago
Juliano Leal Goncalves a983792880 ♻️ Replace 'pair<int, int>' with 'Size' in 'GetItemSizeOnSlot' and 'GetInvItemSize' 5 years ago
Juliano Leal Goncalves 572c3e632e ♻️ Leverage 'Point' in 'InvDrawSlotBack' implementation 5 years ago
Juliano Leal Goncalves 07a049f667 ♻️ Replace 'INV_SLOT_SIZE_PX' macro with Size-based constexpr 5 years ago
Juliano Leal Goncalves 0e2d734bbb ♻️ Leverage 'Size' in 'CheckInvPaste' implementation 5 years ago
Juliano Leal Goncalves 4ab80d25f4 ♻️ Leverage 'Size' in 'AddItemToInvGrid' function 5 years ago
Gleb Mazovetskiy 43bc08bd63 Hardware Cursor: Fall back to software on failure 5 years ago
Gleb Mazovetskiy 523d838bd4 Hardware Cursor: Use item hotpoint 5 years ago
Gleb Mazovetskiy 432fdacd81 Clip `InvDrawSlotBack` draw call 5 years ago
qndel 816b244689 HasItem/RemoveInvItem combo refactor 5 years ago
qndel 0c39656c91 fix reconstructed note 5 years ago
Juliano Leal Goncalves 1328c9ea93 🎨 Make 'Size' fields camelCase 5 years ago
Vladimir Olteanu 512fcdb790 Use WalkingDistance in PutItem 5 years ago
Juliano Leal Goncalves 8622130966 ♻️ Add '==' and '!=' operators to 'Size' struct 5 years ago
Juliano Leal Goncalves ff3dee8d45 ♻️ Replace poor usages of 'Size' with 'Point's 5 years ago
Juliano Leal Goncalves abee4fe6fe ♻️ Repurpose the 'InvXY' struct as a new 'Size' struct 5 years ago
Juliano Leal Goncalves 21ecaa225f
♻️ Leverage 'Point' struct on inventory functions (#2094) 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
Juliano Leal Goncalves 21fdb0dcd9 ♻️ Replace manual direction displacement logic with 'Point' add operator 5 years ago
Juliano Leal Goncalves d55cd99dd5 🚚 Rename 'direction' enum to 'Direction' 5 years ago
Juliano Leal Goncalves 15c46b9eb0 💬 Rename HeroSpeech members to improve discoverability 5 years ago