225 Commits (cpp20-using-enum)

Author SHA1 Message Date
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
obligaron 2123edbca7 Fix compiling wiht NOSOUND definied 5 years ago
staphen 60492ef954 Add proper graphics for gamepad 5 years ago
Siddharth singh chouhan ba161f623e
Move documentation from implementations to declarations. (#2858) 5 years ago
ephphatha 67ecea1a42 Always set the monster animation when ChangeAnimationData is called 5 years ago
ephphatha 8e155e011f Rename helpers on Monster to match AnimationInfo 5 years ago
ephphatha 956dcc7fc9 Add helper for selecting animation sprites from Direction 5 years ago
ephphatha b12de6fe12 Use scoped enum for Direction 5 years ago
Juliano Leal Goncalves 5430672477
🚚 Rename 'UniqMonstStruct' struct to 'UniqueMonsterData' (#2814) 5 years ago
Juliano Leal Goncalves db1026fa39 🚚 Rename 'MonsterDataStruct' to 'MonsterData' 5 years ago
Juliano Leal Goncalves 6e1d05187e 🚚 Rename 'MissileStruct' to 'Missile' 5 years ago
Juliano Leal Goncalves 20db8d1a11 🚚 Rename 'MonsterStruct' to 'Monster' 5 years ago
Juliano Leal Goncalves 1cd62bbc64 🚚 Rename 'MonsterMode' members for semantic and consistency 5 years ago
Juliano Leal Goncalves 154a033e33 ♻️ Remove unnecessary explicit underlying type on 'MonsterMode' 5 years ago
Juliano Leal Goncalves 69a7cb66d4 ♻️ Convert 'MON_MODE' enum to 'MonsterMode' enum class 5 years ago
Anders Jenbo 7cb73a6717 Minimize impact of NOSOUND 5 years ago
BC Ko 373adcf65b modify AddMissile() parameters and remove Missiles[] in MissToMonst() 5 years ago
BC Ko 4834905eac remove Missiles[] in SpawnGolem() 5 years ago
Anders Jenbo 9a6820493f No missile golem 5 years ago
obligaron 91c8503ea5 Rename leaderflag to leaderRelation and MonsterRelation to LeaderRelation 5 years ago
Anders Jenbo 2d4da488f0 Split path test functions 5 years ago
ephphatha 488ee03f53 Use bound functions for LineClear test function pointer 5 years ago
Anders Jenbo 4e82c70fcb Make MonsterIsTileAccessible aware if monsters can open doors or not 5 years ago
Anders Jenbo a089692850 💄 Introduce MonsterRelation enum 5 years ago
Anders Jenbo 77b72da276 ♻️Use monster by reference when possible 5 years ago