Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
qndel
e24f3c83de
fix automap
5 years ago
qndel
40d33f6778
fix gharbad and vision
5 years ago
qndel
ced74f76f9
fix gharbad and vision
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
a2656637e4
🎨 Format source
5 years ago
pionere
a841be2708
✅ Test CrawlTable
5 years ago
Anders Jenbo
8d6d508222
Correct some incorrect bool operations
5 years ago
Anders Jenbo
a60a620e51
Update bugfix comment
5 years ago
qndel
1b304e7bb3
[diablo/hellfire] 🐛 Correct unitialized variable in AddVision
5 years ago
Anders Jenbo
327042c2e5
Strip out debug features from the release builds
...
leveldebug and lightmax still remains
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
93b82e3b7a
Fix regression of static lights from fix of dynamic ones
...
This issue was introduced in 1f532040a8
5 years ago
qndel
1f532040a8
Fix dynamically added lights being overwritten by default light
...
This issues could be seen when opening the final room in the Arkaine's
Valor quest.
5 years ago
qndel
3627d9df9d
Formatting vCrawlTable
5 years ago
qndel
6e096143f0
Add no-light define and fix usage
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
437b5d1187
[hellfire] MakeLightTable
5 years ago
Anders Jenbo
d2f495daa2
[hellfire] implement DoLighting
5 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
Anders Jenbo
014308ef01
Explicit casting
6 years ago
Anders Jenbo
3b8bcf98bf
Enable assertions
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
6 years ago
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
Anders Jenbo
813b68bffb
Fix OOB in lighting
6 years ago
Gleb Mazovetskiy
a4a302c4ed
Fix OOB in lighting.cpp
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
810b12a37d
Drop unused code
7 years ago
Anders Jenbo
002ac55318
Fix DoUnLight
7 years ago
qndel
871ea76ef8
[hellfire] DoUnLight bin exact
7 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