Commit Graph

323 Commits

Author SHA1 Message Date
Anders Jenbo 35a766dcbb [hellfire] Correct bard animations 2021-05-07 21:01:39 +02:00
Robin Eklind 4610915124 player: add BUGFIX for CheckNewPath
Without this BUGFIX, pathing towards and attacking a hostile
player with player index 0 (through 3) would trigger the speech
dialogue of a corresponding monster 0 (through 3), should they
have speeches activated. Given that the first 4 monster indices
are reserved for Golems, this BUG would trigger if a golem was
killed, and given the incorrect implementation of pseudo delete
of golems in DeleteMonsterList failing to reserve the golem
monster indices, and a new monster was spawned (e.g. by King
Leoric) thus taking a "golem" monster index. Given this scenario,
attacking a player could trigger a speech dialogue (well, that is
if the spawned monsters had speech dialogues activated).
2021-04-24 06:26:40 +02:00
Robin Eklind 66ee4221c9 player: add BUGFIX for missing lighting town check in StartWalk2 2021-03-04 04:41:21 +01:00
Anders Jenbo adf5f8f504 Clean up hellfire related code 2021-01-31 13:37:42 +01:00
FluffyQuack e3d1b19761 A bunch of comments explaining how variables are used. Mainly for structs.h, but a tiny bit for movement code and game loop as well. 2021-01-19 03:44:47 +01:00
Anders Jenbo 0c01aa9928 [hellfire] M_TryH2HHit 2021-01-15 00:42:37 +01:00
Anders Jenbo 1e86577fc8 Some random cleanups 2021-01-14 00:05:30 +01:00
Anders Jenbo e19150bd0a [hellfire] NetInit 2021-01-11 19:12:56 +01:00
Anders Jenbo abec004ba6 [hellfire] PosOkPlayer 2021-01-10 22:48:42 +01:00
Anders Jenbo 8bf14c1e13 [hellfire] PM_DoAttack 2021-01-10 22:47:56 +01:00
Anders Jenbo 7c22dd2bd5 [hellfire] PlrHitPlr 2021-01-10 17:37:22 +01:00
Anders Jenbo 51c6104edf [hellfire] StartPlrHit 2021-01-10 10:02:55 +01:00
Anders Jenbo 8d27b1db63 [hellfire] CreatePlayer 2021-01-10 09:52:31 +01:00
Anders Jenbo 9cefb7dab5 Remove invalid BUGFIX
Because else it will strip half the players gold
2021-01-09 18:57:27 +01:00
Anders Jenbo c7b32ec4e4 Clean ups 2021-01-08 21:23:00 +01:00
qndel 1dfa505895 [hellfire] CheckPlrSpell bin exact 2020-12-28 16:03:35 +01:00
Anders Jenbo 21d18d5c31 [hellfire] SpawnOnePremium 2020-12-27 06:27:07 +01:00
qndel c4c2e0420c spell defines and macros (#2162) 2020-12-04 19:18:22 +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
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
qndel a2dc735f6b some cleanup 2020-11-23 17:04:50 +01:00
qndel 0947ede2fe Cleanup11 (#2156) 2020-11-12 15:11:07 +01:00
Anders Jenbo f7290182fd Reorder player.cpp 2020-11-09 03:24:05 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
qndel 36dba1cc1c cleanup (#2127) 2020-10-22 17:26:24 +02:00
Anders Jenbo 3157885502 Correct shareware ifdefs 2020-10-13 07:42:35 +02:00
Anders Jenbo 43f9e71acb Unify player structures
Since they are being usered there reserved status can be said to have
changed. Clearly naming them makes it easier to understand what meaning
they have and this doesn't affect bin exact.
2020-10-13 03:08:00 +02:00
Anders Jenbo 3797fca554 Implement player class data 2020-10-12 15:36:03 +02:00
qndel b81d2eb831 some cleanups (#2099) 2020-10-12 00:42:02 +02:00
qndel d16bdd02ac CheckNewPath cleanup 2020-10-12 00:05:10 +02:00
qndel 3e7e9b4012 PlrHitPlr cleanup 2020-10-12 00:03:18 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
pionere ba1f473e34 NUM_CLASSES 2020-10-11 06:41:46 +02:00
Anders Jenbo 81d5728699 Add monk, bard, & barbarian base block from Jarulf 2020-09-17 13:28:11 +02:00
Anders Jenbo c1b4d3d8b5 Copy documentation from sanctuary/notes 2020-07-06 05:43:25 +02:00
Anders Jenbo 1ba96a6777 Add doxygen description to remaining engine files 2020-07-06 05:43:25 +02:00
Anders Jenbo 8c2fb7605e Use defines for tile and screen related magic numbers 2020-05-11 23:21:27 +02:00
Anders Jenbo 2ec7c78eae Format source 2020-04-08 22:28:53 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo e6e0ebe15a Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-07 03:46:20 +02:00
Anders Jenbo f1c216e688 Make player struct x/y fields match monster struct 2020-04-07 03:26:38 +02:00
Anders Jenbo 3f11876aba Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 10:48:11 +02:00
qndel 5191237f42 enums and stuff (#2024) 2020-04-06 08:04:14 +02:00
qndel 92c4824820 [hellfire] CalcPlrItemVals 2020-04-06 07:42:34 +02:00
Anders Jenbo cc0f92d45b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 06:09:30 +02:00
Anders Jenbo 31181b77c4 Bool comparisons 2020-04-06 05:43:20 +02:00
Anders Jenbo b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
galaxyhaxz f89204e7dd Fix function/var names (effects/sound) 2020-03-24 00:22:36 -05:00
galaxyhaxz c632e2d1d0 Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
galaxyhaxz 71565b9c02 Several updates [enums+names] (#2002)
* Several updates

* Correct msg_get_next_packet

* Update enums.h

Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>

Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
2020-03-11 21:27:40 -05:00