596 Commits (a0cd65e0820669c14a5ea57b031cdf0398e6e50a)

Author SHA1 Message Date
ephphatha 9e76cd4ab7 Use object pointer for pcursobj 4 years ago
ephphatha 0c08980c71 Combine Telekinesis with other object network commands 4 years ago
Gleb Mazovetskiy 8ca71272b8 Load all CEL as CL2 4 years ago
Anders Jenbo 56915974d6 Minimize passing of player indexes 4 years ago
Anders Jenbo ac2bf9aaac Limit what gets called in headless mode 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
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
Gleb Mazovetskiy 197e1180b2 Add StrCat and StrAppend 4 years ago
Cesar Canassa e538acb248
📝 Fixes Doxygen warnings (#4904) 4 years ago
Mikołaj Piróg 15989609a8
Members' name changes and comments in Monster struct (#4861) 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
Cesar Canassa 6579aa53c5
Normalise the player and monster walking function naming (#4877) 4 years ago
Gleb Mazovetskiy d152d2c0fb Add OptionalOwnedCelSprite 4 years ago
Gleb Mazovetskiy 72660d9189
Migrate snprintf to fmt (#4845) 4 years ago
Anders Jenbo 0cc5ee4344 Clean up variable definitions 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
Vladimir Olteanu 2588cc12d7
Reduce reliance on `bool done` for control flow, part 2 of x (#4741) 4 years ago
Anders Jenbo 6d56058708 Move level generation to subfolder 4 years ago
ephphatha 3af11ad355 Use the same function when checking and actually dropping an item 4 years ago
Gleb Mazovetskiy 8e9c9e0238 Reduced the size of `OwnedCelSprite*` by 8 bytes 4 years ago
obligaron 9ac04314f4 Introduce Player::isOnLevel 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
Vladimir Olteanu 4d6ff58c22
Reduce reliance on `bool done` for control flow (part 1 of x) (#4720) 4 years ago
Gleb Mazovetskiy 1fc8ecb6f6 Add fmt::runtime annotations for C++20 support 4 years ago
Gleb Mazovetskiy 779ccaca17 Overhaul translation fetching 4 years ago
Anders Jenbo 1203514383 Clean up use of currlevel 4 years ago
Gleb Mazovetskiy e76d5fc494 UseScroll: use `HasInventoryOrBeltItem` 4 years ago
Gleb Mazovetskiy 628406a44c Refactor inventory/belt item presence and removal 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
obligaron bc15bdf3a9 Remove PANEL_ defines and replace them with GetMainPanel() 4 years ago
Stephen C. Wills 99ab06776c
Apply clang-format to inv.cpp (#4581) 4 years ago
Nick Tholin 5fd93408f8 Move identical belt items down belt as they are used. 4 years ago
ephphatha af3187a15e Provide sound cue when gold is auto-placed into the open inventory 4 years ago
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