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
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
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
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
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.
7 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
Anders Jenbo
f80de53b14
_iMagical enum ( #393 )
...
* _iMagical enum
* Color enum
8 years ago
Anders Jenbo
c878a630f5
Monster.cpp ( #402 )
...
* Clean up DeleteMonster
* AddMonster
* Clean up NewMonsterAnim
* Clean up M_Ranged, M_Talker and M_GetDir
* Clean up M_StartDelay
* Clean up M_StartSpStand
* Clean M_StartSpStand
* Add enum to monster Anim
8 years ago
Anders Jenbo
411fa9f24a
Add enumds for _pgfxnum and fully use inv_body_loc ( #392 )
...
* Add enumds for _pgfxnum and fully use inv_body_loc
* _iIdentified is BOOL
* _pgfxnum
8 years ago
Robin Eklind
7515655efb
Run format.sh
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
Anders Jenbo
f269f4561b
PlaySFX_priv, stream_play ( #371 )
...
* PlaySFX_priv, stream_play
* Fix build warnings in player.cpp
* Clean up FreeMonsterSnd
* Added more enums and defines for sound and effects.
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
Anders Jenbo
d62683c891
Clean up MakePlrPath ( #321 )
8 years ago
Anders Jenbo
9bd3b4189e
Clean up CheckNewPath ( #332 )
8 years ago
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Anders Jenbo
081c4a3f93
Fix build
8 years ago
Anders Jenbo
cd79931ed4
Add iCurs enum
8 years ago
Anders Jenbo
b4e9727377
Add dungeon_message enum
8 years ago
Andrew Dunstan
50d3db3ec2
add an enum for types of shrines
8 years ago
Dennis Duda
c614acd242
Changed `PFILE_ALL` to `PFILE_NONDEATH` to not be misleading
8 years ago
Anders Jenbo
6e50ec5337
Work on LoadPlrGFX
8 years ago
Dennis Duda
e8b53791d3
`DrawInv` is now binary exact.
8 years ago
Dennis Duda
a061f6d6f0
Cleaned up `CheckInvSwap` (0x3B6 → 0x390, orig: 0x373)
...
Pretty close to the original binary except for the first loop, which generates differently. (TODO comment added) There are also some questionable double address calculations, which hopfully clear up when the loop is fixed as well.
Also added enums `inv_body_loc` and `inv_xy_slot` to clean up a lot of magic numbers.
8 years ago
Dennis Duda
e7065a0b02
Added `plr_class` enum, moving the define `NUM_CLASSES` into it.
8 years ago
Dennis Duda
9e7ad91000
Added actual names to the typedef'd anonymous enums.
8 years ago
Dennis Duda
66f522f34e
Small corrections/cleanups (thanks @galaxyhaxz :))
...
- Removed the `mt` variable since it didn't exist in the earlier PSX version
- Replaced raw constants with the proper defines
- Reworked the likely use of `numskeltypes`.
- Added `NUM_MTYPES` to `_monster_id` to represent the number of monster types
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago