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)
2020-03-01 22:18:00 +01:00
Anders Jenbo
f1616060e5
Document CL2 render functions
2020-02-15 17:06:31 +01:00
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).
2020-02-14 13:12:54 +01:00
qndel
f7a9005204
lighting_color_cycling cleanup
2019-12-21 13:41:58 +01:00
Gleb Mazovetskiy
a4a302c4ed
Fix OOB in lighting.cpp
2019-11-04 21:27:57 +01:00
Anders Jenbo
3e7d352fde
Format files
2019-10-21 20:04:14 +02:00
Robin Eklind
0a0fe4277c
lighting: add X- and Y- axis to improve clarity of docs
2019-08-18 07:47:42 +02:00
Robin Eklind
1fe7d626e7
lighting: add docs for CrawlTable, remove TODO comment
2019-08-18 07:47:42 +02:00
Anders Jenbo
9d3ce818f0
Correct BOOLS
2019-07-21 19:11:11 +02:00
Anders Jenbo
55b5ce883d
Clean up unformatted files
2019-07-08 04:28:31 +02:00
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
2019-07-08 04:12:12 +02:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
Sergey Semushin
0878807e6e
Fix min diff in AddVision.
2019-05-10 21:18:56 +01:00
galaxyhaxz
3b9ff3cc33
MakeLightTable
2019-05-06 09:54:25 +01:00
Anders Jenbo
d61b3e3b63
Clean up scrollrt.cpp
2019-05-02 00:16:46 +01:00
Anders Jenbo
3c1a8cf9b9
Clean up lighting.cpp
2019-05-02 00:16:46 +01:00
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
2019-04-22 13:22:57 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
25d9eb7410
ProcessVisionList
2019-04-11 11:47:39 -05:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
d2174e3454
Apply code style
2019-04-05 21:54:45 +02:00
galaxyhaxz
26e9dcb6af
Add enum
2019-04-02 18:11:56 -05:00
galaxyhaxz
30a48dbd14
Cleanupt lighting.cpp
2019-04-02 17:01:38 -05:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
2019-04-02 14:19:28 -05:00
galaxyhaxz
f6208e643c
Add enums
2019-04-02 05:35:28 -05:00
galaxyhaxz
1b96fbfaae
Cleanup lighting.cpp
2019-04-01 04:54:57 -05:00
galaxyhaxz
574dbd1aba
Final ASM cleanups
2019-03-27 17:28:18 +01:00
Anders Jenbo
ae2630cc46
Mem free dbg ( #685 )
...
* FreeQuestText
* DRLG_FreeL2SP
* GetHall
* FreeGMenu
* FreeObjectGFX
* DRLG_FreeL1SP
* FreeControlPan
* FreeLightTable
* Clean up DRLG_LoadDiabQuads
* DRLG_FreeL4SP
* FreeInterface
2019-03-19 15:37:07 +09:00
Anders Jenbo
9b7da61dcf
Auto format src
2019-01-13 18:55:59 +01:00
Anders Jenbo
ee014547b9
OFSUB fix
2019-01-06 03:21:21 +01:00
Anders Jenbo
4a62a7c678
Code style
2018-12-29 02:15:20 +01:00
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
2018-11-04 22:27:26 +01:00
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
2018-11-04 20:13:51 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
2018-10-21 03:50:52 +02:00
Anders Jenbo
837119d581
Merge branch 'master' of github.com:diasurgical/devilution into nightly
2018-09-28 23:16:16 +02:00
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
2018-09-27 19:23:21 -07:00
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
2018-09-24 08:13:48 +02:00
Robin Eklind
f1f032b4f4
Use BOOL for lightflag and light4flag
2018-09-17 21:49:53 +02:00
Anders Jenbo
3a0e40597b
Clean up InitPlayer
2018-09-13 00:28:57 +02:00
galaxyhaxz
2a377ea876
Fix some struct names and lighting ( #190 )
2018-09-04 12:31:58 -05:00
galaxyhaxz
13126a90d6
Fix garbage structs, data in setmaps ( #189 )
2018-09-04 11:16:14 -05:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
2018-08-15 22:13:15 -05:00
Stephan Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
2018-06-29 10:40:22 -05:00
galaxyhaxz
d03c56e844
Add debug lighting, add cmd line note ( #61 )
2018-06-23 12:19:49 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
f98ee885ce
Fix white pixel glitch in light radius
...
How funny, just a simple signage issue :P
2018-06-15 20:48:12 -05:00
galaxyhaxz
dde68ff89e
Add files via upload
2018-06-06 21:25:54 -05:00