Anders Jenbo
966cae8b82
Remove redundant zeroring of variables
5 years ago
Anders Jenbo
08a29fe3a2
Make UpdateMissileVelocity use missile current position as src
5 years ago
qndel
7566a5bedf
fix missiles without dmg ( #2685 )
5 years ago
Anders Jenbo
c5bf9d7abc
Remove redundant zeroing of missile properties
5 years ago
Anders Jenbo
aae1f7f773
Remove dead code
...
Now that Reflection does not leave behind a missile, this code does
nothing
5 years ago
Anders Jenbo
7e5cbd573a
Move manashield and reflect logic out of AddMissile()
5 years ago
Anders Jenbo
fda801e65d
Clean up AddApoca
5 years ago
Anders Jenbo
6ee3eb38ba
Remove needls use of _miVar1 in rage spell
5 years ago
Anders Jenbo
aa2d645db1
[hellfire] bug: correct firering damage and xp
...
- If cast by player damage would be boosted by dungeon level
- If cast by object damage would be boosted by the secound player level
- XP would go to the first player if cast by trap
- XP would go to the secound player if cast by players
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
Anders Jenbo
df636c0afc
Remove DIR_OMNI
5 years ago
Anders Jenbo
bea8cc9d87
Reduce paremters used in add missile functions
5 years ago
BC Ko
ac0a690768
remove Missiles[]
5 years ago
BC Ko
7bbe587669
remove unnecessary assert
5 years ago
BC Ko
6a42f7eb8c
compare pointers intead of indices
5 years ago
BC Ko
bf8c71dc24
remove Missiles[] in PutMissile()
5 years ago
Anders Jenbo
7f6e171b4b
Use BFLAG_MISSILE instead of dMissile
5 years ago
qndel
d76158ca03
reflect without missile! ( #2659 )
5 years ago
Anders Jenbo
3df8af0e9d
Apply missile_id to _mitype
5 years ago
Anders Jenbo
d4bd409472
Deduplicate manashild/reflect code
5 years ago
BC Ko
1a6562e16d
Merge pull request #2648 from bcko/2435_refactor_Missiles_3
5 years ago
qndel
7ba878fd4d
fix reflect on loading
5 years ago
Anders Jenbo
4c6a5bab56
Clean up god mode
5 years ago
BC Ko
14b7e3bdc1
2435 refactor missiles part 2 ( #2635 )
5 years ago
BC Ko
aa109b14b4
refactor UpdateMissileVelocity
...
refactor MI_ResurrectBeam
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
5 years ago
Anders Jenbo
fa7f3442e4
Fix loading monster missiles
5 years ago
Anders Jenbo
f289fbcec5
Remove dead missile code
5 years ago
Vladimir Olteanu
b76e8c060b
Introduce MissileDataFlags
5 years ago
Vladimir Olteanu
61f82d1944
Remove LoadMissileGFX
5 years ago
Vladimir Olteanu
040ca7b1e9
Remove logic related to unused MFLAG_ALLOW_SPECIAL
5 years ago
Vladimir Olteanu
7482b23473
MissileSpriteData: move checks for hidden sprites to class members
5 years ago
Vladimir Olteanu
3364a4e00c
Refactor MisFileData
...
MisFileData: make pinnedMem private
5 years ago
vlad
b7a92d549c
fixes stone curse forever bug caused by negative monster index
...
fixes https://github.com/diasurgical/devilutionX/issues/2550
5 years ago
qndel
0a70a8cece
unify block formula
5 years ago
qndel
9056092cf8
more clamps ( #2496 )
5 years ago
qndel
169f980038
ranged/magic formulas
5 years ago
qndel
bd5e30db52
replace armor formula
5 years ago
Anders Jenbo
4451a519eb
Fix two OOBs in missiles.cpp
5 years ago
Vladimir Olteanu
629bd69fab
Remove duplicate code in AddFooRune
5 years ago
Anders Jenbo
9c4e34f988
Player by reference
5 years ago
Anders Jenbo
8ba3bbb6a4
Have PosOkPlayer take PlayerStruct as input ( #2430 )
5 years ago
Anders Jenbo
0889780923
Remove more usage of miniwin types
5 years ago
Anders Jenbo
78124fb389
Add GolemHoldingCell
5 years ago
Anders Jenbo
bef214d0ca
Clean up monster ide handeling in CheckMissileCol
5 years ago
Anders Jenbo
9c0760e780
♻️ Clean up various checks in monster logic
5 years ago
Anders Jenbo
9264ad4b89
Use IsTileNotSolid() in place of !nSolidTable[dPiece[][]]
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
obligaron
5ed79c38ef
Introduce MissilePosition.StopMissile
5 years ago