98 Commits (M_RoundWalk)

Author SHA1 Message Date
qndel fd3893190f inv cleanup 5 years ago
Anders Jenbo ee7b32d8f6 Player by reference part 3 5 years ago
Anders Jenbo e670faac99 🔥 Remove unused code DrawInvMsg 5 years ago
Gleb Mazovetskiy f9f301b054 🚚 engine.h: Extract `Point`, `Direction`, `clamp` 5 years ago
Juliano Leal Goncalves 07a049f667 ♻️ Replace 'INV_SLOT_SIZE_PX' macro with Size-based constexpr 5 years ago
Juliano Leal Goncalves ff3dee8d45 ♻️ Replace poor usages of 'Size' with 'Point's 5 years ago
Juliano Leal Goncalves 58501cab26 🚚 Move 'Size' struct to engine.h 5 years ago
Juliano Leal Goncalves abee4fe6fe ♻️ Repurpose the 'InvXY' struct as a new 'Size' struct 5 years ago
Juliano Leal Goncalves 21ecaa225f
♻️ Leverage 'Point' struct on inventory functions (#2094) 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 0c2042fa52 ♻️ Player by reference 5 years ago
Stefan Mielke dfece830ad
Controller Inventory Improvements (#1885) 5 years ago
Aneurin 2365b5f440
Improve inventory filling algorithm (#1876) 5 years ago
Anders Jenbo 6321bf04d5 ♻️Pass player to towner by reference instead of index 5 years ago
Anders Jenbo f884ba5340 🔥 Remove more miniwin dependencies 5 years ago
Anders Jenbo d5173f4c9c ♻️Clean up PutItem 5 years ago
obligaron a3229741d1 🖌️ Refurbish tables in source code (clang-format off) 5 years ago
Jmgr c33182d6de Modernize deprecated headers 5 years ago
Anders Jenbo 7912e510f0 🎨 Clean up overuse of SDL types 5 years ago
Anders Jenbo d024f79b0e 🧹 performance-unnecessary-value-param 5 years ago
qndel d8444ed695
Clean DrawInvBelt + outline colors 5 years ago
Anders Jenbo f450d6a125 🚚 Move defines to there proper files 5 years ago
FluffyQuack 8365998b49 🐮 Slightly altered RemoveInvItem() so a mostly identical code snippet could be replaced with a call to that function. Also added some documentation to the function. 5 years ago
Anders Jenbo e7ae8ddd04 🚚 Move all enums to there respective headers 5 years ago
Anders Jenbo 61244c4d93 ♻️ Rearange and apply more enums 5 years ago
Anders Jenbo 93d42b62b8 ♻️ Change BOOL to bool 5 years ago
Juliano Leal Goncalves da18b0f97b ♻️ Reuse 'AutoPlaceItemInInventory' inside 'StoreAutoPlace' 5 years ago
Juliano Leal Goncalves 0b8a35f4b0 🔥 Remove now useless 'SpecialAutoPlace' function 5 years ago
Juliano Leal Goncalves cae4461c39 ♻️ Reuse existing functions in place of 'SpecialAutoPlace' 5 years ago
Juliano Leal Goncalves 1bc44bc969 🎨 Rename 'AutoPlaceItemInInventorySlot' arguments for readability/consistency 5 years ago
Juliano Leal Goncalves 462acd9422 ♻️ Replace 'BOOL' macro with 'bool' type on 'AutoPlaceItemInInventorySlot' 5 years ago
Juliano Leal Goncalves 1c15e244b2 🚚 Rename 'AutoPlace' to 'AutoPlaceItemInInventorySlot' 5 years ago
Juliano Leal Goncalves e33ea53086 ♻️ Pass ItemStruct on inv AutoGetItem function 5 years ago
Juliano Leal Goncalves b5a89578f0 ♻️ Pass ItemStruct on inv InvGetItem function 5 years ago
Juliano Leal Goncalves 8e22f3a056 ♻️ Pass ItemStruct on inv AutoPlace function 5 years ago
Anders Jenbo 433edc63ea ♻️ Consistently use pragma once to guard the headers 5 years ago
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 5 years ago
Anders Jenbo 630e507f63 🚚 Apply namespace 5 years ago
Anders Jenbo 6f1498d315 🚚 Move structures to there respective headers 5 years ago
Juliano Leal Goncalves bcf63dfc1a 🐛 Allow shift+click to equip weapons on monk 5 years ago
Anders Jenbo bba73ea20f Handle mixed item origins in multiplayer 5 years ago
Juliano Leal Goncalves 95ae8fd5c6 Autoequip items on purchase 5 years ago
Juliano Goncalves fc1d9b684f Allow shift+click moving to inventory 5 years ago
Juliano Goncalves 5287d6e329 Allow shift+click moving to belt 5 years ago
Anders Jenbo a75d09e19d 🚚 Move item_color to inv.h 5 years ago
Gleb Mazovetskiy b43325028f Migrate `CelDraw` to `CelDrawTo` 5 years ago
Juliano Leal Goncalves 2c14908cf4 🚚 Move 'ItemStruct' to 'items.h' 5 years ago
Gleb Mazovetskiy d55a1c8a7d
Pass CelOutputBuffer to game text printing (#1095) 5 years ago
Juliano Leal Goncalves 3de338e5b6 ♻️ Pass item referece on SpecialAutoPlace 5 years ago