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
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.
6 years ago
Guillaume Roche
5f4ba26894
Use an enum for connection type
...
This fixes some "multi-character character constant" warnings.
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
galaxyhaxz
a3ce219891
Fix bug in InitItems
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
galaxyhaxz
484b17d259
Add Select Hero enum ( #1330 )
7 years ago
Anders Jenbo
a52d36a90f
Correct value of DLRG_CHAMBER
7 years ago
Adam Newgas
66a1c246e6
Add dlrg_flag enum.
7 years ago
Anders Jenbo
0483a923c3
Add enum for dlgresults
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Sergey Semushin
8bc995e681
Add _uniq_monsterid enum for indexes in UniqMonst for special unique monsters.
...
Apply it where necessary.
7 years ago
Anders Jenbo
be3526054c
Apply theme_id enums
7 years ago
Anders Jenbo
89c2b533cb
Implement ui layout framework
7 years ago
Anders Jenbo
a58e3af89a
Refactor menu navigation
...
This also implements fully accurate list navigation
7 years ago
Anders Jenbo
0e0d41376f
Enum for dlgresult
7 years ago
Anders Jenbo
c75d50a82c
Split up menu code
7 years ago
Anders Jenbo
aeedc755b5
Implement basic MP menu
7 years ago
Xadhoom
0ad1c713e4
fix possible, but not certain, upstream bugs
7 years ago
Anders Jenbo
5b87336b9a
Fix flickering menu
7 years ago
Anders Jenbo
937afed84b
Implement splash screen
7 years ago
Anders Jenbo
3d392fc0f8
Implement splash screen
7 years ago
Anders Jenbo
1528845957
Implement hero select menu
7 years ago
Anders Jenbo
b4fe143e29
Add player_weapon_type
7 years ago
Anders Jenbo
14610a2345
Apply FILE_SYSTEM enum
7 years ago
Anders Jenbo
8b21de7b0d
apply _artfonts enum ( #486 )
7 years ago
Anders Jenbo
f505809699
C compatible enum.h and struct.h
7 years ago
Anders Jenbo
2037972450
Fix M_Enemy ( #467 )
...
This fixes an issue where the gargoyle would not sleep
7 years ago
galaxyhaxz
b3fdda7c18
GM_Game+others ( #458 )
7 years ago
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
8 years ago
Anders Jenbo
a8e5319838
Add todo notes to enums
8 years ago
Anders Jenbo
e340ce2241
Monster.cpp ( #442 )
...
* Clean M_UpdateLeader
* Clean up M_DoRSpAttack
* Add definition for mFlags
Fixes #416
8 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
8 years ago
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
8 years ago
Anders Jenbo
5394f63dd7
Define diablo_message enum
8 years ago