staphen
bd0470994a
Initialize golems before objects
4 years ago
obligaron
f2f764ed68
Fix Knockback checks wrong position when a monster is moving
4 years ago
obligaron
f58a42ca97
Check that monsters aren't placed in doors
4 years ago
Anders Jenbo
ffae6d805b
Clean up check for borken monster position in DirOK
4 years ago
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
4 years ago
qndel
7b82c52da9
add _mai_id enums in comment
4 years ago
Gleb Mazovetskiy
3aa8149d3e
`PrintMonstHistory`: Fix string manipulation
...
The code previously assumed that there is an ASCII separator after each
resistance type.
Different languages may use something else entirely. Relaxes the
assumption to any single code point to avoid producing malformed
UTF-8.
4 years ago
qndel
1110927057
make berserked monsters fight each other
4 years ago
Andrew James
796e2813cf
Use scoped enums for DungeonFlags/BFLAG ( #3135 )
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
Anders Jenbo
160c0fc2e4
Fix OOB when monsters attack monsters
4 years ago
qndel
e567953bc9
Sharing automap exploration in multiplayer
4 years ago
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