948 Commits (cpp20-using-enum)

Author SHA1 Message Date
Cesar Canassa ce349789cf
♻️ Refactor M_StartKill to receive a Monster reference (#4943) 4 years ago
ephphatha 1337ff6ea2 Add check if a monster potentially has leashed minions 4 years ago
Gleb Mazovetskiy 33ac2cca8e ♻️ Make Monster counters `size_t` 4 years ago
Anders Jenbo 3d08f951d6 Clean up use of miniwin 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
qndel 7ca9c8ba3c fix compiling in VS2019 4 years ago
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
Stephen C. Wills 4398c1e06a
Use absolute coordinates for temp position when north-walking (#4937) 4 years ago
Gleb Mazovetskiy 197e1180b2 Add StrCat and StrAppend 4 years ago
ephphatha 1fb45a7f25 Take Player reference in FixPlrWalkTags 4 years ago
ephphatha 7a8fa64e69 Include leftover coinflips following conflict resolution 4 years ago
ephphatha 420a248e0c Use FlipCoin for most uses of GenerateRnd with variable frequency 4 years ago
staphen 17a12e273a Restore vanilla Diablo behavior for elemental damage on weapons 4 years ago
staphen cab75ded6b Check both SPL_NULL and SPL_INVALID to determine spell validity 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
Cesar Canassa 0d106beaf3 ♻️ Refactor M_StartHit to receive a Monster reference 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
Cesar Canassa 76da2d14c9
Remove monsterId from M_GetKnockback (#4882) 4 years ago
obligaron 4db1c6f315
Make DirectionSettings::offset match ActorPosition::offset2 (#4883) 4 years ago
Anders Jenbo 0b7ad34c9d
Take player by reference in StartWalkStand and RemovePlrMissiles (#4874) 4 years ago
Cesar Canassa 6579aa53c5
Normalise the player and monster walking function naming (#4877) 4 years ago
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Gleb Mazovetskiy 17f8cdddc4 Clean up `GetSpellLevel` 4 years ago
Gleb Mazovetskiy 6949a6f418 Monster: Remove MType/MData pointers 4 years ago
Gleb Mazovetskiy 21dc7f553d Add OptionalCelSprite: smaller than std::optional 4 years ago
obligaron e87aca38bb Change animation frames and tick per frame to int8_t 4 years ago
obligaron d4638f290c Don't call player.AnimInfo.ProcessAnimation if player death animation is finished 4 years ago
Anders Jenbo b00ae287b8 Minimize propegation of global Players index 4 years ago
Gleb Mazovetskiy 72660d9189
Migrate snprintf to fmt (#4845) 4 years ago
Gleb Mazovetskiy 3b2e560fa0
Non-int versions of `Point` and `Displacement` (#4824) 4 years ago
Mikołaj Piróg 7cab074aa5
Correct members' names in monster.h (#4850) 4 years ago
Gleb Mazovetskiy 3178dd5158
Replace most uses of `sprintf` with `fmt` (#4837) 4 years ago
Mikołaj Piróg 2e7ff45fbf
Monster global constants cleanup (#4827) 4 years ago
Anders Jenbo 0cc5ee4344 Clean up variable definitions 4 years ago
Anders Jenbo 54598e2a8f CreatePlayer by reference 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
Vladimir Olteanu 84687fec42 Remove spurious "I can't cast that here" 4 years ago
ephphatha c68fcf3cb1 Apply MethodCase config to Rectangle::Contains 4 years ago
Gleb Mazovetskiy 01ad1814ea Make path finding index-based 4 years ago
Anders Jenbo 4cc3a5264c Make dPiece zero-indexed 4 years ago
obligaron 184290a977 Support setlevel in multiplayer 4 years ago
obligaron ceb08d783f Introduce Player::plrIsOnSetLevel 4 years ago
obligaron d0c14fe92f Introduce Player::setlevel 4 years ago
obligaron 9ac04314f4 Introduce Player::isOnLevel 4 years ago
obligaron 19749420b5 Introduce Player::isOnActiveLevel 4 years ago
Gleb Mazovetskiy 2386fd12a9 Fix a few warnings 4 years ago
Gleb Mazovetskiy 1fc8ecb6f6 Add fmt::runtime annotations for C++20 support 4 years ago