830 Commits (d07ac14440bdfd9b080c25535733f31a6a6ba608)

Author SHA1 Message Date
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
Anders Jenbo 1203514383 Clean up use of currlevel 4 years ago
staphen a2fe3a981e Fix issues with ears due to translation 4 years ago
Gleb Mazovetskiy 628406a44c Refactor inventory/belt item presence and removal 4 years ago
qndel f84c35d2dc fix typos 4 years ago
Andrew James 1047e408bd
Simplify logic of UpdateMissilePos using helpers from 4620 (#4621) 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
k-bar 4a4e3a5404 Unwindle If-Elses around petrify monster 4 years ago
k-bar 5b29eda518 Remove of CheckMonsterHit (aka LiftGargoylesAndIgnoreMages) 4 years ago
k-bar 417c4c9ce2 Extract duplicated code to functions related to monster 4 years ago
obligaron 2b0b944afb Manage friendly mode per player and sync state between clients 4 years ago
obligaron 70c5cf6cad
Fix item label text with open stash (#4595) 4 years ago
Anders Jenbo 0645d9b2a1 Correct missing hellfire level mapping in leveltype 4 years ago
obligaron daf299940e ADL: Fix PreviewFrame for some spells 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
DakkJaniels dad46e1905
Item special effect enum (#4129) 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago