561 Commits (a41dcbf78aebc154863ce09259cbf00fcfee44f2)

Author SHA1 Message Date
ephphatha 0cfd0e194a Refactor TryDropItem to reduce use of globals 4 years ago
ephphatha 4d7c08d5b4 Deduplicate code for setting stat requirements/flag 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
Andrew James 72cfdc31ea
Clear held item when putting in an empty belt slot (#4490) 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 28b6eaf7de Only use HoldItem in InvGetItem if necessary 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
ephphatha 5b83f2a7c4 Remove SetICursor and unused globals 4 years ago
ephphatha aab970dcde Use GetIventorySize(Item) instead of SetICursor in inv.cpp 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
Anders Jenbo c5a3d138e0 Avoid using HeldItem in CheckInvSwap 4 years ago
staphen 33b27f630f Clean up logic for 1-handed weapons in CheckInvPaste() 4 years ago
staphen d16c2f0086 Avoid recreating items in PutItem locally 4 years ago
staphen cf41911417 Use appropriate spell ID when quick casting from scroll or staff 4 years ago
qndel a6ebc506a0 refresh stats when sending an item to stash by ctrl + click 4 years ago
staphen 33338115f6 Don't use HoldItem in CMD_PUTITEM handler 4 years ago
staphen 6a30cd3950 Add gamepad support for stash 4 years ago
staphen 82f53c53b0 Fix shift-click equipment swapping network messages 4 years ago
staphen 822a0cd22a Fix auto-equip network messages 4 years ago
Anders Jenbo e2fef44c9f Close gold withdraw when closing stash 4 years ago
ephphatha 4bbc2e56a0 Restore position of dropped note when recombining fragments 4 years ago
Anders Jenbo 1ba817ca53
Unify gold handling (withdraw any amount from stash) 4 years ago
Anders Jenbo 6d28810dc7 Change infostr from char[128] to std::string 4 years ago
Andrew James 4ff83431d2
Remove the use of HoldItem in AutoGetItem (#4178) 4 years ago
obligaron 92993ad039
Ctrl+click stash item swap: if there is no room left, don't drop the item on the ground 4 years ago
obligaron b495cabeb5 Allow to swap items with ctrl+click between inventory and stash 4 years ago
obligaron 05658de4e9 Make GetInventorySize public 4 years ago
Anders Jenbo be57d62684 Use UTF8 aware string copying 4 years ago
Anders Jenbo 718c46e7fe Remove use of tempstr 4 years ago
obligaron 2617332a41 Allow only one gold input panel to be open 4 years ago
Anders Jenbo a48f89007d Implement stash 4 years ago
ephphatha ca1ec8548f Move GoldAutoPlaceInInventorySlot to anonymous namespace 4 years ago
ephphatha f5da32a21c Don't assume holdItem when auto-placing gold 4 years ago
Andrew James f64d17bfa9
Initial clean up of code related to creating items (#2943) 4 years ago
Gleb Mazovetskiy 7fede6c4cb Clean up owned/unowned CelSprite ambiguity 4 years ago
qndel be0845f41d barb 2h cleanup 4 years ago
staphen 331072cdcf Persist the placed item in AutoPlaceItemInInventorySlot() 4 years ago
ephphatha eeb9ac3303 Sync dropped items if another player triggers an action on the current level 4 years ago
ephphatha db1d776539 Deduplicate PItem and DItem 4 years ago
Anders Jenbo 6b2481a76c Touch support on all SDL2 platforms 4 years ago
ephphatha 77a783098d Use ObjectAtPosition when checking if an item can be dropped 4 years ago
ephphatha e633d7ff1e Restrict dropping items to adjacent tiles 4 years ago
Anders Jenbo 6d346c7e18
Use std::string in PrintItemPower 4 years ago
ephphatha bda0a0624b Replace some usages of Item.statFlag 4 years ago
Andrew James a1a64ef32e fix negated check in SyncGetItem 4 years ago
obligaron ff5de056fa
Add all (boolean) Game Settings to Settingsmenu (#3616) 4 years ago
Gleb Mazovetskiy c57644970f Move `UiFlags` and `UiPanels` into their own files 4 years ago