FluffyQuack
44d8b9fb3a
Refactored the monster functions DoWalk(), DoWalk2(), and DoWalk3() into one function.
5 years ago
FluffyQuack
e7486163af
Refactored StartWalk(), StartWalk2(), and StartWalk3() into one function, and added some comments.
5 years ago
FluffyQuack
007b5a576c
Refactored DoWalk(), DoWalk2(), and DoWalk3() into one function and added comments.
5 years ago
galaxyhaxz
fcb7873d06
Fix quest items from previous games breaking dungeon
5 years ago
Anders Jenbo
dcb8bc8c2c
Unify majority of netcode
5 years ago
Anders Jenbo
be917d43c2
Make diablo vegan frindly
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
c802cbdc4d
Merge more Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
c4f8a95bbc
Fix build warnings
5 years ago
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
qndel
f2c7ee7dfd
ids next to items
5 years ago
qndel
f137159b8d
monsters cleanup
6 years ago
qndel
3ce3dedd4d
Cleanup ( #2147 )
6 years ago
qndel
c94c04d049
some cleanup ( #2146 )
6 years ago
Anders Jenbo
12d4b61b68
Fix compiler warrnings related to clicktype
6 years ago
qndel
c3380d3104
some cleanups
6 years ago
Anders Jenbo
6580222d1c
Add enums for level entrances
6 years ago
qndel
fa0b326498
unify names
6 years ago
Anders Jenbo
c009b72d9d
Unify SFX enums
6 years ago
Anders Jenbo
fd7a2a63b5
[hellfire] mainmenu_loop
...
UiMainMenuDialog UiSupportDialog have been disabled as to avoid having
to implement hellfireui.dll for now.
6 years ago
Anders Jenbo
df4308a2f9
Merge Hellfire enums
...
Thease enums do not affect others so enable them all in both builds
6 years ago
Anders Jenbo
e0825eb60a
Clean up SaveItemPower
6 years ago
Anders Jenbo
4e8843ee7c
Implement most of the Hellfire menu
...
Still missing is the support screen (functionally identical to the
credit screen)
This also fixes a long standing issue with the menu code where it would
some times return the index and some times the value of the selected
menu item. It now always returns the index and reciver must look up the
value.
6 years ago
qndel
1371d5b118
fix compiling and apply enum
6 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
qndel
cf15c6e9d2
FindValidShrine cleanup + enums
6 years ago
Anders Jenbo
fcf0c0f81d
Add right facing bookcase for mapping
6 years ago
qndel
2cc494581f
Add enum for icreateinfo
6 years ago
Robin Eklind
c821d43c94
missiles: add BUGFIX for MFILE_NONE enum
...
The current definition of MFILE_NONE is set to 255 (or -1 when
interpreted as a signed 8-bit integer). The definitions of missiles
without graphic animations use MFILE_NONE for the mFileNum field in
missiledata. This is problematic as it results in an out-of-bounds
access in SetMissAnim when accessing misfiledata for such a missile.
One such example is the Recharge Staff skill which does not use a
missile graphic animation and thus has _miAnimType set to MFILE_NONE.
The code path leading to out-of-bounds access after casting Recharge
is as follows: AddMissile -> SetMissDir -> SetMissAnim, which in turn
accesses misfiledata[animtype], i.e. misfiledata[255].
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Anders Jenbo
2ec7c78eae
Format source
6 years ago
Anders Jenbo
c9db23de5b
Correct sfx_* names, can be seen in assert strings
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
bb9315db92
Correct shareware data
...
This fixes the intro music being played to frequently in the menu, and
makes sure that some spells are not avalible.
6 years ago
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>
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Gleb Mazovetskiy
763db7a11a
Fix conn_type enum order
...
DiabloUI selconn.cp relies on the enum values to be ordered in the same
way as the UI items (e.g. for keyboard navigation).
This restores the order to what it was prior to:
4e29a4b8aa
6 years ago
Gleb Mazovetskiy
4e29a4b8aa
Single-player: Use loopback instead of TCP
...
Previously, single-player games initialized a TCP connection!
Changes this to loopback.
Refs #555
6 years ago
Anders Jenbo
b7837cd490
[hellfire] PrintItemPower
6 years ago
galaxyhaxz
38c748b6fd
Add network commands and cursors ( #1967 )
6 years ago
Anders Jenbo
14aab09dee
[hellfire] TalkToTowner and CreateAmulet ( #1966 )
...
* [hellfire] CreateAmulet
* [hellfire] TalkToTowner
6 years ago
Anders Jenbo
2751ecedd2
[hellfire] Add missing enums
6 years ago
qndel
2aaaa844ea
[hellfire] OperateShrine ( #1931 )
6 years ago
Anders Jenbo
1a65a029df
[hellfire] errors
6 years ago
Anders Jenbo
1b19118d1f
[hellfire] Add _uniq_monsterid and dungeon_type
6 years ago
qndel
0499179382
add hellfire shrine enums
6 years ago