162 Commits (cpp20-using-enum)

Author SHA1 Message Date
Bernd Stellwag f1a0aa3b49
Replace broken link with @see annotation to text representation of the linked image 4 years ago
Anders Jenbo 31ba8e2bc6 Validate additional network messages 5 years ago
Yuri Pourre b8450dc792 Assign ctrl to drop items 5 years ago
BC Ko 51f50570da documentation cleanup : inv 5 years ago
Juliano Leal Goncalves bb2dfdfb73 🚚 Rename 'ItemStruct' to 'Item' 5 years ago
Juliano Leal Goncalves bbf529c65a 🚚 Rename 'PlayerStruct' to 'Player' 5 years ago
Anders Jenbo 4044fadeb5 Clean up some players references 5 years ago
Gleb Mazovetskiy 032eaf7491 External iterators for player items 5 years ago
Robin 62a33c61d9
objects: deduplicate logic in OperateShrineGloomy using ForEachItem function 5 years ago
Anders Jenbo 8df8b940c4
Handle some clang-tidy issues 5 years ago
Anders Jenbo a19e7b2a3b Remove some more use of miniwin 5 years ago
Anders Jenbo 4eabc6024b Apply various cleanups via Android Studio 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
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