249 Commits (master)

Author SHA1 Message Date
Cesar Canassa a0cd65e082 ♻️ Remove monsterId from M_SyncStartKill 4 years ago
Anders Jenbo d1189388f5 Use user by reference 4 years ago
Anders Jenbo 16b65120ea Clean up LevelMonsterTypes related code 4 years ago
Gleb Mazovetskiy 7ad0ec925f Reduce sizes of Monster (goal)Vars 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
Cesar Canassa ce349789cf
♻️ Refactor M_StartKill to receive a Monster reference (#4943) 4 years ago
Cesar Canassa 2c558a7aa0 ♻️ Adds distanceToEnemy method 4 years ago
Andrew James d9d1385f6c
Take const reference in DirOK (#4985) 4 years ago
ephphatha 1337ff6ea2 Add check if a monster potentially has leashed minions 4 years ago
ephphatha b60bdf8b9b Unset leader of minions when the leader dies 4 years ago
ephphatha 4fef842b0b Remove use of ID/index from PlaceGroup 4 years ago
ephphatha 1e0f2c149c Add getLeader helper for monsters in a pack 4 years ago
Gleb Mazovetskiy 33ac2cca8e ♻️ Make Monster counters `size_t` 4 years ago
Anders Jenbo 38113c0ad8 Convert monster_goal in to a scoped enum 4 years ago
Anders Jenbo 0312bae93f Remove more miniwin code 4 years ago
Cesar Canassa 4d5aa90d77 ♻️ Refactor M_WalkDir 4 years ago
Mikołaj Piróg 15989609a8
Members' name changes and comments in Monster struct (#4861) 4 years ago
Cesar Canassa de971c6a8b
♻️ Refactor AddMonster to return a monster pointer (#4894) 4 years ago
Cesar Canassa 0d106beaf3 ♻️ Refactor M_StartHit to receive a Monster reference 4 years ago
Cesar Canassa 4bb2f30657
♻️ Refactor MonsterDeath to receive a Monster reference (#4887) 4 years ago
Cesar Canassa 76da2d14c9
Remove monsterId from M_GetKnockback (#4882) 4 years ago
ephphatha 2da2ea7b03 Take monster reference in M_ClearSquares 4 years ago
Cesar Canassa eb2740c7b6
♻️ change M_WalkDir to receive a Monster reference (#4875) 4 years ago
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Cesar Canassa fa62ff75e3
♻️ Get the moster ID dynamically (#4820) 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
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
Mikołaj Piróg 405d9d18b6
Monster cleanup (#4832) 4 years ago
Mikołaj Piróg 2e7ff45fbf
Monster global constants cleanup (#4827) 4 years ago
Anders Jenbo cb63e0c8e8 Better name for function that weakens Na-Krul 4 years ago
Cesar Canassa ddafe87ed3 ♻️ Fix inconsistent monster id variables 4 years ago
Anders Jenbo 1c286b5624 Directly call StartMonsterDeath instead of feeding M_StartKill invalid input 4 years ago
Anders Jenbo f5e7a98fbf Avoid using -1 as a discriminator 4 years ago
Anders Jenbo 99181fd709 Move more files to the engine folder 4 years ago
Anders Jenbo d6b258926e Apply type checking on monster type 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
staphen 32311d4835 Fix Diablo's HP 4 years ago
Gleb Mazovetskiy f4bce38875 Use `uint16_t` for sprite widths 4 years ago
Gleb Mazovetskiy 7fede6c4cb Clean up owned/unowned CelSprite ambiguity 4 years ago
qndel d3995736b9 fix spawning unique monsters 4 years ago
qndel 9ba64ad08b
TRN rewrite + bugfix (#4056) 4 years ago
Gleb Mazovetskiy 48ff656dc0 Load monster graphics into a single buffer 4 years ago
staphen bd0470994a Initialize golems before objects 4 years ago
Gleb Mazovetskiy 7e1fea6f76 clang-format all files in {Source,test}/ 4 years ago
Anders Jenbo 2708b16c05
Validate CMD_SYNCDATA (#2968) 5 years ago