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
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
qndel
f9558c81c4
AddObject cleanup
6 years ago
qndel
59ccb89e12
ProcessObjects cleanup
6 years ago
Marco
a939a7f0be
Enum for object trap
6 years ago
qndel
6a8e2f0e25
SetupObject cleanup
6 years ago
qndel
b01f1907b5
Obj_Circle cleanup
6 years ago
qndel
1abb61cb64
OperateCauldron cleanup
6 years ago
qndel
3a66af638d
OperateTrapLvr cleanup
6 years ago
qndel
3f9398812a
SyncDoors cleanup
6 years ago
Marco
4626450e11
some more item based enum consts
6 years ago
Marco
d6d60f0109
OperateSkelBook const IMISC_SCROLL
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
6 years ago
qndel
1414b7e2aa
apply enum to max shrines
6 years ago
qndel
80ee6b2668
apply TRUE/FALSE
6 years ago
qndel
5cb4e9ad25
AddMagicCircle cleanup
6 years ago
qndel
dd7a8d7b2d
Obj_Trap cleanup
6 years ago
qndel
8ab71cb98b
AddL1Door cleanup
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
galaxyhaxz
80840b4d69
PlrHasItem: change pointer to reference
7 years ago
qndel
06e7b4dbdb
more enums
7 years ago
qndel
7129558d0b
apply enums
7 years ago
qndel
93f7c5f935
AddWeaponRack cleanup
7 years ago
qndel
2cef74bd57
AddArmorStand cleanup
7 years ago
qndel
7daee74e3d
BreakCrux cleanup
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Robin Eklind
f4e8860297
objects: use boolean values for fileload
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Robin Eklind
7441f29867
Use TRUE value for _iIdentified.
7 years ago
Robin Eklind
105a583ce0
Use TRUE and FALSE enums for setlevel.
...
Also simplify if conditions to make
use of boolean values.
(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Manuel K
ce1f397658
Use MAX_PLRS
7 years ago
Anders Jenbo
58bbfcf8ad
Fix OperateLazStand
7 years ago
Anders Jenbo
635deebbd4
Apply enums to SpawnQuestItem
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Sergey Semushin
6ec6e3c530
Make MonstrStruct::_msquelch and DMonstrStr::_mactive unsigned.
...
Also utilize UCHAR_MAX for value of 255 used extensively for those flags.
7 years ago
Sergey Semushin
33e9005239
Make OperateL{1-3}Door bin exact.
7 years ago
Sergey Semushin
187bf5844e
Make ActivateTrapLine bin exact.
7 years ago