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
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
e24574897c
[controller] Target portals
...
This will target portals and stairs found within 2 steps if no other
targets are found.
This is naive and doesn't prefer portals propperly.
6 years ago
Gleb Mazovetskiy
16a154f062
Change _INVALID enum values from 0xFFFFFFFF to -1
...
Some of these are assigned to `char` (assumed to be signed), and 0xFFFFFFFF is `-1` only when sizeof(int) == 4.
7 years ago
Guillaume Roche
5f4ba26894
Use an enum for connection type
...
This fixes some "multi-character character constant" warnings.
7 years ago
qndel
7fd66b103b
[hellfire] game_2_ui_class / pfile_get_player_class bin exact ( #1792 )
7 years ago
Anders Jenbo
4caa9be882
Itemdat ( #1717 )
...
* Align itemdat.cpp
* [hellfire] Add itemdat and related enums
7 years ago
galaxyhaxz
3e0fe37b24
Fix monster enum
7 years ago
Anders Jenbo
a18720892b
Correct Hork Demon AI and align table
7 years ago
Anders Jenbo
ad74e68ade
[hellfire] missile data
7 years ago
galaxyhaxz
e49036a801
Fix net commands in hellfire
7 years ago
galaxyhaxz
02570b820f
InitMonsters
7 years ago
Anders Jenbo
9aec39a07d
Add UniqMonst
7 years ago
Anders Jenbo
8e726b3d50
[hellfire] Monster data
7 years ago
Sergey Semushin
cfaeab7d49
hellfire: UseInvItem: bin exact.
7 years ago
qndel
742634eace
[hellfire] ProcessMonsters bin exact ( #1681 )
7 years ago
qndel
2147b71b25
[hellfire] InitFarmer bin exact ( #1625 )
7 years ago
Sergey Semushin
4dcdca87b4
hellfire: apply item changes to AllItemsList + add several items to enums.
7 years ago
galaxyhaxz
3a37b4fc0b
Add music code+quest ( #1575 )
7 years ago
Anders Jenbo
9daea5be8a
Back port clean ups from Hellfire
7 years ago
Anders Jenbo
10c33575ac
Clean ups from hellfire branch
7 years ago
qndel
97a84f9067
[hellfire] ModifyPlrMag bin exact
7 years ago
Anders Jenbo
69a1c6db3f
[hellfire] On_ENDREFLECT
7 years ago
Anders Jenbo
0abe56f006
[hellfire] RndSFX, stream_update and priv_sound_init
7 years ago
galaxyhaxz
a3ce219891
Fix bug in InitItems
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago