60 Commits (FindSlotUnderCursor)

Author SHA1 Message Date
obligaron 2296bf5625 Use StashStruct::EmptyCell instead for empty stash item check 3 years ago
staphen 58b48e17ea Fix OOB access when accessing stash 3 years ago
ikonomov 49894785b5 Update stash.cpp 3 years ago
obligaron 715e689ecb Introduce Item::isUsable() 3 years ago
KPhoenix a1fbf5253f `enum talk_id` -> `enum class TalkID` 3 years ago
Gleb Mazovetskiy 1788d2f8ec Remove miniwin 3 years ago
Gleb Mazovetskiy ba56673d55 Only load stash graphics in town 3 years ago
KPhoenix 069ba7f1d4
[QOL] Colored slot backs (#5266) 3 years ago
Gleb Mazovetskiy 759ca7f055 `WorldTileRectangle/Size` 3 years ago
staphen 8b6db3a678 Get rid of panelstr, pnumlines, and ClearPanel() 4 years ago
Gleb Mazovetskiy c351acbf7e Remove redundant devilutionx.mpq check 4 years ago
Gleb Mazovetskiy 17a97450bc Convert assets to CLX 4 years ago
Gleb Mazovetskiy 961866e1c4 CLX: A new graphics format 4 years ago
Gleb Mazovetskiy 8ca71272b8 Load all CEL as CL2 4 years ago
Gleb Mazovetskiy a4ac41cece Replace `DVL_VK` virtual key codes with `SDLK` 4 years ago
Anders Jenbo 3ae834148a Split event handeling from general miniwin features 4 years ago
Anders Jenbo 2d21fc372e Remove more miniwin code 4 years ago
Gleb Mazovetskiy 197e1180b2 Add StrCat and StrAppend 4 years ago
Cesar Canassa e538acb248
📝 Fixes Doxygen warnings (#4904) 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
ephphatha c68fcf3cb1 Apply MethodCase config to Rectangle::Contains 4 years ago
Gleb Mazovetskiy 8e9c9e0238 Reduced the size of `OwnedCelSprite*` by 8 bytes 4 years ago
Andrew James 0add7a8af6
Define sizes using Size type in control.cpp/stash.cpp (#4737) 4 years ago
Vladimir Olteanu 2cc9d70fa6
Use decimal separators for gold and XP (#4722) 4 years ago
Gleb Mazovetskiy 779ccaca17 Overhaul translation fetching 4 years ago
Anders Jenbo 1203514383 Clean up use of currlevel 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
ephphatha ca48efc185 Update spell book requirements when refreshing stash items 4 years ago
ephphatha 64a2c41b2c Set clang-tidy config for MethodCase option 4 years ago
ephphatha 7a3722d63b Add helper for clearing an item and using it's old value 4 years ago
ephphatha ad7ad46ce9 Explicitly clear HoldItem when putting an item into the Inventory/Stash 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago
ephphatha 56138ecf25 Invalidate held item when pasting into the stash 4 years ago
ephphatha 026b428c7d Add NewCursor(Item&) for setting the cursor based on a held item 4 years ago
Anders Jenbo dc706e8ed5 Use HoldItem for determining if an item is held 4 years ago
Andrew James 538e3de309 Play sound after withdrawing gold from the stash 4 years ago
Andrew James 08052fdf74 Play gold sound effect when depositing in stash 4 years ago
ephphatha 907e1376b0 Add function to get item id at grid coords 4 years ago
ephphatha cef42d47a8 Add function to get current grid 4 years ago
Andrew James 6dca3b50c1
Remove use of SetICursor and related globals from CheckStashPaste (#4429) 4 years ago
ephphatha 6a04d441c1 Expand hot area of stash cell to include bottom-right border 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
qndel 6e4542f444 increase max stash pages from 50 to 100 4 years ago
Andrew James 028c5945b8
Add helpers to change stash pages (#4287) 4 years ago
obligaron 7b7cee52db
AddItemToStashGrid: Use PointsInRectangleRange with a starting position (#4297) 4 years ago
ephphatha e8e20c1159 Min, not max, when clamping stash page... 4 years ago
staphen 6a30cd3950 Add gamepad support for stash 4 years ago
ephphatha 2b47f3abcc Address type conversion warnings in loadsave.cpp 4 years ago
Anders Jenbo 1ba817ca53
Unify gold handling (withdraw any amount from stash) 4 years ago
Andrew James 308ac7d7ad
Use PointsInRectangleRange with a starting position (#4202) 4 years ago