Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
5 years ago
qndel
c94c04d049
some cleanup ( #2146 )
5 years ago
qndel
7c2ee3333f
Theme_MonstPit cleanup
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
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
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
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
310b2a4dc3
Fix OOB in Theme_Library
...
Fixes #487
6 years ago
Anders Jenbo
1372d0f6b0
Update themes.cpp
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
qndel
ea5c8bd23a
SpecialThemeFit cleanup
7 years ago
qndel
d269ef5045
InitThemes cleanup
7 years ago
qndel
70726ba2aa
Theme_Library cleanup
7 years ago
qndel
6b2097b602
[hellfire] PlaceThemeMonsts bin exact
7 years ago
galaxyhaxz
12b9e8e8f7
Fix logic in themes.cpp
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
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
7 years ago
Anders Jenbo
d70bd3a1e9
Fix CheckThemeRoom
7 years ago
Anders Jenbo
918a997854
Clean up themes.cpp
7 years ago
galaxyhaxz
87d20ef4d6
themes.cpp bin exact
7 years ago
Anders Jenbo
fcadb84daa
Correct size of ThemeGoodIn
7 years ago
Anders Jenbo
be3526054c
Apply theme_id enums
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Anders Jenbo
9c7001c8e2
Clean up CheckThemeReqs
7 years ago
Anders Jenbo
dade490e9f
Clean up InitThemes
7 years ago
Anders Jenbo
85921ce416
Clean up CheckThemeRoom
7 years ago
Anders Jenbo
66314fe1d3
Themes.cpp ( #989 )
...
* Clean up TFit_Shrine
* Clean up TFit_Obj5
* Clean up SpecialThemeFit
7 years ago
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
ba9cf89a9e
Clean up TFit_Obj3
7 years ago
Anders Jenbo
ad22f6a216
Clean up TFit_GoatShrine
7 years ago
Anders Jenbo
adf3685c1e
Clean up TFit_SkelRoom
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
Anders Jenbo
df61fc06b0
CheckThemeObj3 bin exact
...
This also fixes ThemeStruct and there by most functions in themes.cpp
(again)
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
8e8bd67ebf
Correct ThemeStruct
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago