213 Commits (cpp20-using-enum)

Author SHA1 Message Date
Gleb Mazovetskiy 8ca71272b8 Load all CEL as CL2 4 years ago
Anders Jenbo 56915974d6 Minimize passing of player indexes 4 years ago
Gleb Mazovetskiy a4ac41cece Replace `DVL_VK` virtual key codes with `SDLK` 4 years ago
Mikołaj Piróg 262fa9ac2d
Rename MonsterData members (#5000) 4 years ago
Mikołaj Piróg c38db60d0b
Remove monster name member from monster struct (#4986) 4 years ago
ephphatha 1337ff6ea2 Add check if a monster potentially has leashed minions 4 years ago
ephphatha 1e0f2c149c Add getLeader helper for monsters in a pack 4 years ago
Gleb Mazovetskiy ae6a3dbe5e Add missing <ctime> includes for `std::tm` 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
Trihedraf 5ee6e5dd3a
Make zoom a setting in the menu (#4931) 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
Gleb Mazovetskiy d07ac14440 Handle nullptr localtime 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
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Gleb Mazovetskiy 6949a6f418 Monster: Remove MType/MData pointers 4 years ago
Gleb Mazovetskiy 72660d9189
Migrate snprintf to fmt (#4845) 4 years ago
Mikołaj Piróg 7cab074aa5
Correct members' names in monster.h (#4850) 4 years ago
Trihedraf e002de4d69 show item labels toggle in menu 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
ephphatha c68fcf3cb1 Apply MethodCase config to Rectangle::Contains 4 years ago
Gleb Mazovetskiy 8e9c9e0238 Reduced the size of `OwnedCelSprite*` by 8 bytes 4 years ago
Andrew James 0add7a8af6
Define sizes using Size type in control.cpp/stash.cpp (#4737) 4 years ago
Gleb Mazovetskiy 563ee3af7c Optimize `FormatInteger` 4 years ago
Vladimir Olteanu 2cc9d70fa6
Use decimal separators for gold and XP (#4722) 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
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
obligaron bc15bdf3a9 Remove PANEL_ defines and replace them with GetMainPanel() 4 years ago
obligaron d86c4e5d84 Introduce GetUIRectangle() to distinguish between UI and main panel 4 years ago
obligaron 70c5cf6cad
Fix item label text with open stash (#4595) 4 years ago
qndel 89109dc9f4
HP bar tweaks and fixes (#4525) 4 years ago
ephphatha ca48efc185 Update spell book requirements when refreshing stash items 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
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 56138ecf25 Invalidate held item when pasting into the stash 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
Andrew James 538e3de309 Play sound after withdrawing gold from the stash 4 years ago
Andrew James 08052fdf74 Play gold sound effect when depositing in stash 4 years ago
ephphatha 907e1376b0 Add function to get item id at grid coords 4 years ago
ephphatha cef42d47a8 Add function to get current grid 4 years ago
Andrew James 6dca3b50c1
Remove use of SetICursor and related globals from CheckStashPaste (#4429) 4 years ago
ephphatha 6a04d441c1 Expand hot area of stash cell to include bottom-right border 4 years ago