ephphatha
e8a50f104e
Restore legacy behaviour
...
Ensures that tests pass
4 years ago
Anders Jenbo
acc4f27f63
Remove last usage of DWORD
4 years ago
Vladimir Olteanu
75ea31e89c
Remove unused misc items
4 years ago
Anders Jenbo
16b65120ea
Clean up LevelMonsterTypes related code
4 years ago
Gleb Mazovetskiy
7ad0ec925f
Reduce sizes of Monster (goal)Vars
...
sizeof(Monster): 168 -> 144
4 years ago
Mikołaj Piróg
262fa9ac2d
Rename MonsterData members ( #5000 )
4 years ago
Anders Jenbo
9cae6dad7d
Clean up most usages of DWORD
4 years ago
Mikołaj Piróg
c38db60d0b
Remove monster name member from monster struct ( #4986 )
4 years ago
Gleb Mazovetskiy
f460405818
Fix warnings
...
Note that in test/utf8_test.cpp, the first comparison was redundant.
For a signed char, this iterates from -128 to -1, unsigned from 0 to 128.
4 years ago
Gleb Mazovetskiy
304c62d943
Fix a HeadlessMode typo in monster.cpp
...
Fixes #4990
4 years ago
Anders Jenbo
ac2bf9aaac
Limit what gets called in headless mode
4 years ago
obligaron
ebfb519ee0
Rename gbQuietMode to HeadlessMode
4 years ago
obligaron
40283ca69e
Introduce timedemo based tests
4 years ago
obligaron
bab9baa42a
Handle gbQuietMode for paths in StartGame
4 years ago
obligaron
0d00d75cd3
Items: Handle if CelSprite is not present
4 years ago
Cesar Canassa
ce349789cf
♻️ Refactor M_StartKill to receive a Monster reference ( #4943 )
4 years ago
Cesar Canassa
f0d1d58499
♻️ Remove monsterId from delta_kill_monster
4 years ago
Cesar Canassa
2c558a7aa0
♻️ Adds distanceToEnemy method
4 years ago
Cesar Canassa
fcd5928846
♻️ Refactor RandomWalk to receive a Monster reference ( #4905 )
4 years ago
Andrew James
d9d1385f6c
Take const reference in DirOK ( #4985 )
4 years ago
ephphatha
073b62549c
Cleanup AddTrap
4 years ago
ephphatha
16b8530375
Object reference in AddObjectLight
4 years ago
ephphatha
90c8f41e52
Object reference in AddChest
4 years ago
ephphatha
019b52c247
Remove temporary variables in SpawnRock
4 years ago
ephphatha
c2ccaf2080
Use ObjectAtPosition helpers for dun export
4 years ago
ephphatha
fe62359dbd
Add helper to map unique types to monster types
4 years ago
ephphatha
1337ff6ea2
Add check if a monster potentially has leashed minions
4 years ago
ephphatha
ff1e67ae73
Rework PlaceGroup to not use UniqueMonsterPack enum
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
...
use getId helper for leader id
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
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
Gleb Mazovetskiy
ae6a3dbe5e
Add missing <ctime> includes for `std::tm`
4 years ago
Gleb Mazovetskiy
2be823a468
Fix progress bar on already-visited levels
...
Fixes #4970
4 years ago
Nicholas Calaway
67aaced610
Fix bad interaction between hold to attack and quick cast ( #4965 )
4 years ago
Anders Jenbo
74d985de58
Fix spelling of Pepin ( #4967 )
4 years ago
Andrew James
629fe1647a
Fix incorrect size determination in GetSizeForThemeRoom ( #4959 )
...
This was a corner case where a boundary was determined by the edge of the search region. Not 100% sure it's correct in all cases, aiming to add some tests to try cover every possible case.
4 years ago
Anders Jenbo
38113c0ad8
Convert monster_goal in to a scoped enum
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
a7be622aa3
Clean up naming of event handler
4 years ago
Anders Jenbo
2d21fc372e
Remove more miniwin code
4 years ago
Anders Jenbo
0312bae93f
Remove more miniwin code
4 years ago
Cesar Canassa
e2ebac0b56
♻️ Remove monsterId from HitMonster and MonsterHitMonster
4 years ago
Gleb Mazovetskiy
9928d691e4
Remove `MonsterData#has_trans`
...
1. Removes the field because it is redundant, checks for
`TransFile != nullptr` instead.
2. Fixes the missing TRN on Bone Demon, a stronger variant of Skullwing.
4 years ago
Trihedraf
5ee6e5dd3a
Make zoom a setting in the menu ( #4931 )
4 years ago
staphen
d7b5edb8d0
Fix monster goal variable references
4 years ago
ephphatha
7df7b6fa54
Address warning for comparing signed and unsigned values
4 years ago
qndel
7ca9c8ba3c
fix compiling in VS2019
4 years ago
Anders Jenbo
764c1c6fb9
Extract crypt 1x1 patterns in to arrays ( #4936 )
4 years ago