Anders Jenbo
97716c26ec
🐛 Update xp bar when gaining xp
2021-04-04 05:57:59 +02:00
Robin Eklind
2636306f70
objects: add BUGFIX for OperateBookCase
...
The monster array index should refer to Zhar the Mad, not the
first Golem.
2021-04-02 01:29:46 +02:00
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
2021-03-29 06:26:31 +02:00
Anders Jenbo
aebf629e16
🐛 Sync special tiles for L2 doors
...
This fixes missing door frames after loading a save game
2021-03-29 04:36:17 +02:00
Anders Jenbo
ce0c323ed3
[Diablo] 🐛 Fix double rendering or door frames in Catacombs
2021-03-26 05:13:08 +01:00
Anders Jenbo
3945e79426
[Diablo] 🐛 Rest dSpecial when closing L1 doors
...
Fixes #1275
This bug is only visible with the improved transparancy. But would have
been a slight performance hit originally.
2021-03-26 02:06:00 +01:00
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
2021-03-20 20:39:28 +01:00
Anders Jenbo
31467cc949
♻️ Remove all usage of basic WIN32 types
...
Note that several WinAPI types are still in use (misc.h)
2021-03-20 20:39:28 +01:00
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
2021-03-14 15:38:23 +01:00
Anders Jenbo
8b8caf5a7e
🐛 Fix quests not activating on Windows
...
Compare _uniqtype instead mName
Fixes #1152
2021-03-13 09:09:47 +01:00
Anders Jenbo
d6ec6395e0
♻️ change QuestTalkData in to an array of _speech_id
...
This gets rid of casting QuestTalkData to DWORD/int in various parts of
the code.
2021-03-11 01:40:13 +01:00
Anders Jenbo
783e4a70b1
♻️ Strongly type items structures
2021-03-06 10:04:07 +01:00
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
2021-03-05 03:52:11 +01:00
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
2021-02-27 23:04:06 +01:00
Anders Jenbo
70ca20b59f
Clean up Hellfire special cases
2021-02-25 05:50:24 +01:00
pionere
486be4efeb
use defs instead of constants
2021-02-20 00:39:31 +01:00
pionere
3137d0c0cf
use pnum instead of myplr in bone chamber ( #835 )
2021-02-19 15:10:32 +01:00
Anders Jenbo
60d3e9ceb1
Clean up rendering
2021-02-19 03:05:12 +01:00
qndel
ab9911064f
unify checks for single and multiplayer
2021-02-18 22:32:01 +01:00
galaxyhaxz
b64beca78b
Several quest fixes
2021-02-13 02:01:24 +01:00
qndel
c0f5749728
Fix RNG diverging during level generation depending on the code path
...
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
2021-02-01 06:44:16 +01:00
Anders Jenbo
93b82e3b7a
Fix regression of static lights from fix of dynamic ones
...
This issue was introduced in 1f532040a8
2021-01-31 14:00:22 +01:00
Anders Jenbo
adf5f8f504
Clean up hellfire related code
2021-01-31 13:37:42 +01:00
Anders Jenbo
7313b10cfa
Fix Archbishop Lazarus entering a broken state when taking the teleport again
...
Fixes #889
2021-01-31 07:38:43 +01:00
Anders Jenbo
a1281d8b54
[hellfire] Fix bugs related to using the wrong player index
...
- Firewall damage was incorrect for player 0 (host or single player)
- Town Shrine would always cast TP from the host instead of the user
- Oily Shrine and Sparkling Shrine would cast there traps as player 0
- The farmer would always think he was talking to the local player
2021-01-23 19:10:15 +01:00
Anders Jenbo
46e73d3d89
Merge branch 'master' of github.com:diasurgical/devilution
2021-01-23 03:51:31 +01:00
Anders Jenbo
b6a5a413e7
Fix lvl3 door appearing wrong when opened by other players
2021-01-23 03:50:32 +01:00
Anders Jenbo
ed825ba102
Apply bugfix to SHRINE_ENCHANTED
2021-01-09 19:37:21 +01:00
Anders Jenbo
f9aacc8704
Merge branch 'master' of github.com:diasurgical/devilution
2021-01-09 19:36:09 +01:00
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
2021-01-09 19:04:31 +01:00
Anders Jenbo
c7b32ec4e4
Clean ups
2021-01-08 21:23:00 +01:00
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
2021-01-08 20:53:06 +01:00
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
2021-01-07 07:19:07 +01:00
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
2021-01-06 08:07:20 +01:00
Anders Jenbo
c802cbdc4d
Merge more Hellfire code paths
2021-01-05 23:14:35 +01:00
Anders Jenbo
5bdbf18902
Merge branch 'master' of github.com:diasurgical/devilution
2021-01-05 22:44:11 +01:00
Anders Jenbo
2467a982a1
[hellfire] SyncL1Doors
2021-01-04 20:01:38 +01:00
Anders Jenbo
201df84849
Clean up OperateShrine ( #2193 )
2021-01-04 18:59:26 +01:00
Anders Jenbo
67923c4c60
[hellfire] SyncObjectAnim
2021-01-04 02:08:31 +01:00
Anders Jenbo
e2a98b75fe
Clean up some magic values
2021-01-02 22:34:32 +01:00
Anders Jenbo
e33914c0c8
Merge branch 'master' of github.com:diasurgical/devilution
2021-01-01 22:57:37 +01:00
Anders Jenbo
aa154e5231
Clean up LoadMapObjects
2021-01-01 21:09:25 +01:00
Anders Jenbo
aa3c0242e7
Merge branch 'master' of github.com:diasurgical/devilution
2020-12-31 02:12:23 +01:00
Anders Jenbo
74849d48bd
[hellfire] PlayerMHit
2020-12-30 20:41:32 +01:00
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
2020-12-28 01:11:25 +01:00
Anders Jenbo
61b2d0de95
Merge branch 'master' of github.com:diasurgical/devilution
2020-12-16 02:24:39 +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