28 Commits (next)

Author SHA1 Message Date
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
Gleb Mazovetskiy 4f9e9e04b1 Fix ConsumeScroll 3 years ago
staphen ffdd1c61b5 Set up loopback network provider for GoldAutoPlace test 4 years ago
Gleb Mazovetskiy 188dc79f6e Make `Players` a vector 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 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
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
Gleb Mazovetskiy 628406a44c Refactor inventory/belt item presence and removal 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
ephphatha 64a2c41b2c Set clang-tidy config for MethodCase option 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago
ephphatha 3f5a697086 Add tests for GetInventorySize 4 years ago
staphen cf41911417 Use appropriate spell ID when quick casting from scroll or staff 4 years ago
ephphatha f5da32a21c Don't assume holdItem when auto-placing gold 4 years ago
Gleb Mazovetskiy 7fede6c4cb Clean up owned/unowned CelSprite ambiguity 4 years ago
Juliano Leal Goncalves 379a27b64a ♻️ Convert 'ItemType' enum to enum class 5 years ago
Juliano Leal Goncalves 776a3d4e84 🐛 Use 'Spell' instead of 'RSpell' for clearing used inventory scrolls 5 years ago
Juliano Leal Goncalves bb2dfdfb73 🚚 Rename 'ItemStruct' to 'Item' 5 years ago
Anders Jenbo 96bf75b502 Rename player globals 5 years ago
Anders Jenbo ee7b32d8f6 Player by reference part 3 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
Anders Jenbo c11945e62b 🎨 Fix line endings 5 years ago
Anders Jenbo 6321bf04d5 ♻️Pass player to towner by reference instead of index 5 years ago
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 5 years ago
Anders Jenbo 53a3657b29 🚚 Move tests to a standard folder 5 years ago
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 5 years ago
Anders Jenbo aba0a8fc44 Clean up name spacesage in tests 5 years ago
Anders Jenbo 4082dee1c8 Correct inv grid layout of multi tile items 5 years ago
Łukasz Łapiński 0f778fbb34
Inventory tests (#1153) 5 years ago
lkk7 e616e21f80 Set up inventory tests; add scroll usage tests 5 years ago