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
Anders Jenbo
6a8fd04067
Use player by references ( #4938 )
4 years ago
Anders Jenbo
6ec782fb7a
Fix FillChambers() and clean up rotated layout
4 years ago
Stephen C. Wills
4398c1e06a
Use absolute coordinates for temp position when north-walking ( #4937 )
4 years ago
Andrew James
593a9f3b4b
Pull distinct points from VisionCrawlTable used by guardians ( #4844 )
4 years ago
Gleb Mazovetskiy
53975d9264
monstdat: Simplify paths
...
1. Remove `Monsters\` from `sndfile` and `TransFile`.
2. Where `sndfile` is the same as `GraphicType`, set `sndfile` to
`nullptr`.
4 years ago
Gleb Mazovetskiy
197e1180b2
Add StrCat and StrAppend
...
Adds simple string / integer concatenation functions.
Many of the uses of `fmt::format` are simply concatenation
of a few strings and integers.
`StrCat` is an easier-to-read alternative to such uses of `fmt`.
4 years ago
ephphatha
1fb45a7f25
Take Player reference in FixPlrWalkTags
4 years ago
ephphatha
4802c0c8cf
Split loops by phases
...
Hoping the comments make it easier to understand, I think this is what the intent was.
4 years ago
ephphatha
3812d75480
Use point/size for WillThemeRoomFit, rename to match use
4 years ago
ephphatha
7bb401d9e8
Simplify loop used to find the area for a theme room
4 years ago
ephphatha
7a8fa64e69
Include leftover coinflips following conflict resolution
4 years ago
ephphatha
7bda8dcc9a
Include coin flips from room gen cleanup
4 years ago
ephphatha
420a248e0c
Use FlipCoin for most uses of GenerateRnd with variable frequency
4 years ago
ephphatha
7c54066f31
Use PickRandomlyAmong when choosing between two options
4 years ago
ephphatha
bc0a058350
Invert FlipCoin
4 years ago
Anders Jenbo
8351aac2c8
Clean up monster mode
4 years ago