460 Commits (be21eebb0830e0b1c2d24237a51202adee635010)

Author SHA1 Message Date
Anders Jenbo 5ddcd90ff9 Make NetSendCmdQuest() take a quest structure as input 5 years ago
Anders Jenbo 4a7fecb9c1 Fix OOB in inventory code 5 years ago
BC Ko a02eaeecda use abs 5 years ago
BC Ko a293abc2a6 cleanup manual value clamping: inv.cpp 5 years ago
Juliano Leal Goncalves f64521a722 🐛 Centralize readied spell update on equipment change 5 years ago
Juliano Leal Goncalves 022502660d ♻️ Extract logic to ready spell from staff to player function 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
4aron5un 4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) (#2498) 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 a19e7b2a3b Remove some more use of miniwin 5 years ago
qndel 4f4bef623c
fix upper left inventory corner (#2394) 5 years ago
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