166 Commits (master)

Author SHA1 Message Date
Andrew James c7abf2f778
Extract logic from CheckInvCut/AutoPlaceItemInInventory (#7494) 1 year ago
qndel 24f108f193
fix many typos (#7322) 2 years ago
Eric Robinson 0d68aed1f7
Sort inventory (#7040) 2 years ago
ephphatha 24a20ce8e2 Extract uses of MyPlayer to prevent future crashes in tests/game init 3 years ago
ephphatha fb97eb7114 Clean up hit detection for inventory slots when pasting large items 3 years ago
Gleb Mazovetskiy d262589021 Support `const` inventory iterators 3 years ago
Gleb Mazovetskiy 8c1a847f41 Remove utils/stdcompat/string_view.hpp 3 years ago
Gleb Mazovetskiy 8101e2c0ba Add `c_any_of` and friends 3 years ago
staphen 9381251b9d Fix net validation of durability for items without durability 3 years ago
Anders Jenbo 89a677d0cb Validate item modifier ranges 3 years ago
Anders Jenbo 23e479e9aa Remove unused item properties from network 3 years ago
Anders Jenbo 01a7966f1d Empty cursor when closing inventory 3 years ago
ephphatha 6b21728440 Inline single use function InvPutItem 3 years ago
ephphatha 3a7ae732cd use unsigned types for item seeds 3 years ago
obligaron c4388b0d41 Remove unused pnum from UseInvItem 3 years ago
ephphatha 94c646ef8f Use rectangles for inventory/belt hit areas 3 years ago
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
Gleb Mazovetskiy 680ab5ec40 Overhaul backbuffer state handling 3 years ago
KPhoenix 069ba7f1d4
[QOL] Colored slot backs (#5266) 3 years ago
obligaron d59a7e2794 Combine SyncDropItem and SyncPutItem 3 years ago
ephphatha ea3ecbd619 Use _item_indexes type where appropriate 3 years ago
staphen e28a8065e9 Sync more item data with TCmdChItem 4 years ago
staphen 73028ec04a Define network struct for ears 4 years ago
Anders Jenbo 872456ae5d Use size_t for a select few pnum variables 4 years ago
Stephen C. Wills a06dd25d17
Synchronize player inventories (#5217) 4 years ago
obligaron 439a9926e5 Clean up spell usage function names 4 years ago
obligaron 6804221199 Store scroll/rune location in SpellCastInfo.spellFrom and remove the scroll/rune only after the spell is casted 4 years ago
obligaron 279e92e69c Checks conditions for spell again, cause initial check was done when spell was queued 4 years ago
obligaron 1cfd1ca99d Fix double casting bug - use separated info for casted and queued spells 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
Anders Jenbo 72656b3011 Move path and palette to the engine folder 4 years ago
ephphatha 3af11ad355 Use the same function when checking and actually dropping an item 4 years ago
Gleb Mazovetskiy 9b72565bb0 Fix `RemoveBeltItemById` 4 years ago
Gleb Mazovetskiy c45170d20e Rename `inv_iterators` methods to `camelCase` 4 years ago
Gleb Mazovetskiy 628406a44c Refactor inventory/belt item presence and removal 4 years ago
ephphatha 0cfd0e194a Refactor TryDropItem to reduce use of globals 4 years ago
ephphatha ad7ad46ce9 Explicitly clear HoldItem when putting an item into the Inventory/Stash 4 years ago
ephphatha 28b6eaf7de Only use HoldItem in InvGetItem if necessary 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
staphen 33338115f6 Don't use HoldItem in CMD_PUTITEM handler 4 years ago
staphen 6a30cd3950 Add gamepad support for stash 4 years ago
staphen 822a0cd22a Fix auto-equip network messages 4 years ago
Anders Jenbo 1ba817ca53
Unify gold handling (withdraw any amount from stash) 4 years ago
Andrew James 4ff83431d2
Remove the use of HoldItem in AutoGetItem (#4178) 4 years ago
obligaron 05658de4e9 Make GetInventorySize public 4 years ago
Anders Jenbo a48f89007d Implement stash 4 years ago
ephphatha f5da32a21c Don't assume holdItem when auto-placing gold 4 years ago
ephphatha eeb9ac3303 Sync dropped items if another player triggers an action on the current level 4 years ago