qndel
0ccdf940f7
fix bounds checks ( #3237 )
4 years ago
Anders Jenbo
0e3c1321fb
🐛 Fix scavenger groups getting stuck
4 years ago
Thomas Christlieb
e5f5c4ef0c
Make variable a const reference
...
Co-authored-by: Juliano Leal Goncalves <julealgon@gmail.com>
4 years ago
ThomasChr
b473a33496
remove light source when killing a berserk monster
4 years ago
Anders Jenbo
aa90229821
🐛 Make monsters follow the leader
4 years ago
qndel
f8cda02456
apply bounds check function
4 years ago
qndel
2d81357069
fix anvil monsters placement ( #3035 )
5 years ago
Anders Jenbo
2708b16c05
Validate CMD_SYNCDATA ( #2968 )
5 years ago
Anders Jenbo
671fdbd125
Implement contextural translation (pgettext)
...
Fixes #2369
Fixes #2790
5 years ago
obligaron
0acaec710c
Remove -m debug command line
5 years ago
obligaron
74a1810576
Remove most uses of BFLAG_MONSTLR
5 years ago
obligaron
e62aaa562f
Fix missiles don't hit horizontal walking players/monsters
5 years ago
qndel
a5ea763567
fix saves bricked by spawn command
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
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
5 years ago
ephphatha
8e155e011f
Rename helpers on Monster to match AnimationInfo
5 years ago
ephphatha
b12de6fe12
Use scoped enum for Direction
...
Identified and removed an instance of Direction being used as an argument for a bool parameter
Removed a single-use temporary variable being cast from sprite frame to direction to size_t
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Fix alignment of WalkSettings array
5 years ago
Anders Jenbo
cd79f0204d
🚨 Fix compiler warnings
5 years ago
qndel
90eb35d718
fix golems on maps with set pieces
5 years ago
ephphatha
6fa3018f05
Move Init/FreeMissileGFX functions alongside MissileSpriteData array definition
...
Also combined the two free missile graphics functions as they were always called together (just slightly out of order previously).
5 years ago
qndel
22ff664dee
golem assert fix
5 years ago
Juliano Leal Goncalves
5430672477
🚚 Rename 'UniqMonstStruct' struct to 'UniqueMonsterData' ( #2814 )
5 years ago
Juliano Leal Goncalves
9f4438fa22
🚚 Rename 'TextDataStruct' struct to 'Speech' ( #2805 )
5 years ago
Juliano Leal Goncalves
32e22a16b3
♻️ Leverage conversion constructor for 'Direction' to 'Displacement'
...
This makes code more consistent overall as we use the same pattern for dealing with Sizes.
5 years ago
Juliano Leal Goncalves
0d3d4c14f6
🚚 Rename 'Dead' concept to 'Corpse' everywhere ( #2808 )
5 years ago
Juliano Leal Goncalves
940a120bf9
♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition'
5 years ago
Juliano Leal Goncalves
d225202c34
🚚 Rename 'MonsterClass' members for consistency
5 years ago
Juliano Leal Goncalves
21b481bb46
♻️ Convert 'MonsterClass' enum to enum class
5 years ago
Juliano Leal Goncalves
db1026fa39
🚚 Rename 'MonsterDataStruct' to 'MonsterData'
5 years ago
Juliano Leal Goncalves
6146b828e9
🚚 Rename 'MonsterData' global to 'MonstersData'
...
This avoids conflicts with the struct name as we'll be renaming that next.
5 years ago
qndel
0323b46e40
fix quest unique monster level
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
fe95e36d90
🎨 Leverage 'IsAnyOf' on monster mode checks
5 years ago
Juliano Leal Goncalves
1cd62bbc64
🚚 Rename 'MonsterMode' members for semantic and consistency
5 years ago
Juliano Leal Goncalves
69a7cb66d4
♻️ Convert 'MON_MODE' enum to 'MonsterMode' enum class
5 years ago
Juliano Leal Goncalves
314ae59828
♻️ Leverage 'IsWalking' function for monster walking checks
5 years ago
Juliano Leal Goncalves
5a9dd86e80
🎨 Simplify monster AI walking checks using 'IsAnyOf'/'IsNoneOf'
5 years ago
Anders Jenbo
7cb73a6717
Minimize impact of NOSOUND
5 years ago
Anders Jenbo
bee8388c20
Fix inaccurate gameplay with NOSOUND
5 years ago
Anders Jenbo
cf4989bcbb
[hellfire] Fix monsters being unable to hit at close range
...
This seams to have been done to better align the magic missile fired by
the bonedeamon, but for all other monsters the alignment is less ideal
and they become unable to hit there enemy at close range.
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
...
Simplify spawning golem, the golem will now spawn in the same tick
instead of next tick
5 years ago
Anders Jenbo
d7c6d8b189
Use proper Direction type for AddMissile midir
5 years ago
Anders Jenbo
c15f4d1fa9
Remove abuse of midir for unrelated values
...
- Lightnings cast by familiars have a short range, this was communicated
by setting midir to -1. Solved by looking at the type of the owner
- Lightning and Inferno sync position with the parent missile. Solved by
copying the sync from the guardian spell
5 years ago
qndel
3d92b6eea5
Rewrite manashield into not using a missile
5 years ago
qndel
9647299146
share info about expiring reflect
5 years ago
Anders Jenbo
96b19ca8d5
Set _micaster type to mienemy_type
...
Rino never made use of the player id, so no reason to abuse _micaster
5 years ago