Commit Graph

335 Commits

Author SHA1 Message Date
qndel 3df3a81f50 golem addmonster bugfix 2021-11-26 17:16:13 +01:00
Robin Eklind 0db71a1975 monster: add BUGFIX for MAI_Fallen, invalid out-of-bounds check
The out-of-bounds check in MAI_Fallen checks whether the relative
offset coordinates (x, y) are out of bounds, rather than the
absoulte coordinate (xpos, ypos) which is used for array access
into dMonster.
2021-11-15 01:48:36 +01:00
Anders Jenbo 4c0a4317f0 Document causing of Scavenger leader getting stuck (#2256) 2021-10-16 08:25:15 +02:00
Robin Eklind 27df8f7aef monsters: add BUGFIXes for ProcessMonsters, PosOkMonst, PosOkMonst2, PosOkMonst3
Incorrect firewall check and time of access bug related to
monster enemy targets.
2021-08-04 16:11:49 +02:00
qndel f1b85a5cd3 cleanup 2021-04-20 22:26:55 +02:00
qndel 8aecfc9f6f bugfix comment 2021-04-18 20:50:38 +02:00
Robin Eklind 9e489df41d monster: add BUGFIX for DeleteMonsterList
Golems should only be pseudo deleted, as their monster array
indices are special and should not appear in the available
monster index list.
2021-04-02 01:43:26 +02:00
Robin Eklind 45dd962f27 monster: add BUGFIX for M_WalkDir
MWVel velocity values are not rounded consistently (inconsistent use of
floor and ceil). The original formula is (for 16, 32 and 64 pixels of
movement, respectively):

    vel16 = (16 << monsterWalkShift) / nframes
    vel32 = (32 << monsterWalkShift) / nframes
    vel64 = (64 << monsterWalkShift) / nframes

The BUGFIX comment contains updated monster walk velocity values for
the MWVel table, where the formala is calculated as above with consistent
rounding to nearest integer.
2021-03-08 04:52:13 +01:00
Robin Eklind 21e860df77 monster: add BUGFIX to M2MStartKill
Also, correct minor typo in BUGFIX of M2MStartHit. The DevilX code
is correct in M2MStartHit (the Devilution comment used
`<=` rather than `<`).

Both were related to the special handling of golem monster numbers.
Having golems occupy the first 4 monster number slots feels like
such a lovely hack :P
2021-03-08 03:07:33 +01:00
Robin Eklind b11d675543 monster: add BUGFIX for M_FallenFear
The index used to access monster was incorrect for the fallen
one flee behaviour. The AI should make fallen ones flee from
the direction of the monster which got hit. Right now, it's
random as the wrong index is used.
2021-03-08 01:55:08 +01:00
Anders Jenbo 97f638321a Correct diablos walk direction on death 2021-02-20 00:02:59 +01:00
Anders Jenbo adf5f8f504 Clean up hellfire related code 2021-01-31 13:37:42 +01:00
Anders Jenbo 2b6286dd7f Clean ups and BUGFIX notes 2021-01-17 14:29:33 +01:00
Anders Jenbo 21fe5b7daf [hellfire] MissToMonst 2021-01-16 01:42:53 +01:00
Anders Jenbo 8a0ab18ae9 [hellfire] PrintMonstHistory 2021-01-16 01:35:38 +01:00
Anders Jenbo 578471a030 Clean up LineClear 2021-01-16 01:22:22 +01:00
Anders Jenbo a6af2690f0 Clean up LineClearF 2021-01-16 01:02:47 +01:00
Anders Jenbo 966ae9c8f5 [hellfire] DirOK 2021-01-15 23:00:42 +01:00
Anders Jenbo b5f3567400 [hellfire] MAI_Lazhelp 2021-01-15 19:09:08 +01:00
Anders Jenbo e12f6a35bb [hellfire] MAI_Lazurus 2021-01-15 18:57:49 +01:00
Anders Jenbo 92e193b756 [hellfire] MAI_Rhino 2021-01-15 02:39:40 +01:00
Anders Jenbo 0c01aa9928 [hellfire] M_TryH2HHit 2021-01-15 00:42:37 +01:00
Anders Jenbo 4dfc1f6674 [hellfire] MAI_Counselor 2021-01-15 00:26:29 +01:00
Anders Jenbo 5f9719d210 [hellfire] MAI_SkelKing 2021-01-15 00:24:29 +01:00
Anders Jenbo d0328a3ee8 [hellfire] MAI_SnotSpil 2021-01-15 00:23:12 +01:00
Anders Jenbo 9d3bcb0de3 [hellfire] MAI_Zhar 2021-01-15 00:07:26 +01:00
Anders Jenbo b683b5d2d0 [hellfire] TalktoMonster 2021-01-15 00:05:51 +01:00
Anders Jenbo b455cbc688 [hellfire] MAI_Golum 2021-01-14 23:55:51 +01:00
Anders Jenbo 6862028680 [hellfire] MAI_RR2 2021-01-14 22:16:08 +01:00
Anders Jenbo 4a75c2c275 [hellfire] Better monster AI naming 2021-01-14 21:44:57 +01:00
Anders Jenbo fd41a5767b [hellfire] MAI_Garg 2021-01-14 19:52:44 +01:00
Anders Jenbo 7d169f8334 [hellfire] MAI_Scav 2021-01-14 19:39:04 +01:00
Anders Jenbo f3bf2f4f05 [hellfire] M_TryM2MHit 2021-01-14 11:08:23 +01:00
Anders Jenbo 74a0f68bab [hellfire] M2MStartKill 2021-01-14 09:52:50 +01:00
Anders Jenbo 6a16d458b9 [hellfire] M2MStartHit 2021-01-14 09:22:39 +01:00
Anders Jenbo ae3570f221 [hellfire] M_Enemy 2021-01-14 00:05:30 +01:00
Anders Jenbo 1e86577fc8 Some random cleanups 2021-01-14 00:05:30 +01:00
Anders Jenbo 16796a4fc2 [hellfire] M_StartHit 2021-01-13 22:52:45 +01:00
Anders Jenbo 510c0cc794 Correct ifdef 2021-01-09 16:48:32 +01:00
Anders Jenbo c7b32ec4e4 Clean ups 2021-01-08 21:23:00 +01:00
Anders Jenbo a68c10edf2 Document another Hellfire bug 2020-12-31 04:35:15 +01:00
Anders Jenbo f884d8b06a Fix more compiler warnings 2020-12-12 08:11:57 +01:00
qndel 7f7ae623df Goe (#2163)
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
2020-12-04 19:16:58 +01:00
qndel a597e6d0d5 fix compiling (#2166) 2020-12-04 08:31:45 +01:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
qndel e34ac43457 SyncMonsterAnim bin exact 2020-11-12 16:21:07 +01:00
qndel f137159b8d monsters cleanup 2020-11-10 20:12:55 +01:00
SourceCodeDeleted 39a9ada5ff [Hellfire] DoEnding BinExact (#2151) 2020-11-08 22:53:05 +01:00
qndel 3ce3dedd4d Cleanup (#2147) 2020-11-07 12:34:07 +01:00
qndel c94c04d049 some cleanup (#2146) 2020-11-04 03:33:40 +01:00