Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
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
f1616060e5
Document CL2 render functions
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
f7a9005204
lighting_color_cycling cleanup
6 years ago
Gleb Mazovetskiy
a4a302c4ed
Fix OOB in lighting.cpp
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Robin Eklind
0a0fe4277c
lighting: add X- and Y- axis to improve clarity of docs
7 years ago
Robin Eklind
1fe7d626e7
lighting: add docs for CrawlTable, remove TODO comment
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
55b5ce883d
Clean up unformatted files
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
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Sergey Semushin
0878807e6e
Fix min diff in AddVision.
7 years ago
galaxyhaxz
3b9ff3cc33
MakeLightTable
7 years ago
Anders Jenbo
d61b3e3b63
Clean up scrollrt.cpp
7 years ago
Anders Jenbo
3c1a8cf9b9
Clean up lighting.cpp
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
25d9eb7410
ProcessVisionList
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
26e9dcb6af
Add enum
7 years ago
galaxyhaxz
30a48dbd14
Cleanupt lighting.cpp
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
f6208e643c
Add enums
7 years ago
galaxyhaxz
1b96fbfaae
Cleanup lighting.cpp
7 years ago
galaxyhaxz
574dbd1aba
Final ASM cleanups
7 years ago
Anders Jenbo
ae2630cc46
Mem free dbg ( #685 )
...
* FreeQuestText
* DRLG_FreeL2SP
* GetHall
* FreeGMenu
* FreeObjectGFX
* DRLG_FreeL1SP
* FreeControlPan
* FreeLightTable
* Clean up DRLG_LoadDiabQuads
* DRLG_FreeL4SP
* FreeInterface
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
ee014547b9
OFSUB fix
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
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Robin Eklind
f1f032b4f4
Use BOOL for lightflag and light4flag
8 years ago
Anders Jenbo
3a0e40597b
Clean up InitPlayer
8 years ago
galaxyhaxz
2a377ea876
Fix some struct names and lighting ( #190 )
8 years ago
galaxyhaxz
13126a90d6
Fix garbage structs, data in setmaps ( #189 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
Stephan Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
8 years ago
galaxyhaxz
d03c56e844
Add debug lighting, add cmd line note ( #61 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
f98ee885ce
Fix white pixel glitch in light radius
...
How funny, just a simple signage issue :P
8 years ago