Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
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
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
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
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
qndel
ee590ad129
DrawAutomapType cleanup
7 years ago
qndel
5253e28584
InitAutomap cleanup
7 years ago
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
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
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
7 years ago
Manuel K
df1d049ae3
Use SCREEN_Y
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
438eec5017
Clean up SetAutomapView
7 years ago
Anders Jenbo
aa2752839a
Clean up switch style
7 years ago
Anders Jenbo
abeaa75c5f
Clean up automap.cpp
7 years ago
Robin Eklind
0757eb4774
GetAutomapType bin exact
...
Fixes #224 .
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Robin Eklind
6d49faba3e
StartQuestlog bin exact. Also, fix type of questlog
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
Anders Jenbo
d8c9a19601
Clean up SetAutomapView ( #562 )
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
galaxyhaxz
b048cac4fe
InitAutomap+ScrollView ( #545 )
7 years ago
Anders Jenbo
355d78fb84
C declaration ( #500 )
...
* Convert monster.cpp to C
* Convert automap.cpp to C
* Convert codec.cpp to C
7 years ago
Anders Jenbo
0eb47e8b1a
Align automap with PSX
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Dennis Duda
684e77708f
Minor style cleanup
8 years ago
Andrew Dunstan
ad81a19310
Clean DrawAutomapPlr
8 years ago
Anders Jenbo
b98e855cad
Format automap.cpp
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
8 years ago
squidcc
99f1a7c1d8
Fix AutomapZoomIn, AutomapZoomOut, AutomapZoomReset ( #349 )
...
Clean DrawAutomapGame (binary exact)
Clean GetAutomapType ("not eax" instead of "not ax")
8 years ago
galaxyhaxz
c775439589
Cleanup "loadsave.cpp" ( #376 )
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Andrew Dunstan
9491d51ec4
fix typo in DrawAutomapType
8 years ago
squidcc
49af056b14
Clean DrawAutomapType ( #299 )
...
cosmetic name corrections
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Dennis Duda
4e061cb2c9
Minor cleanups to DrawAutomap
...
Added missing spacing, converted to post-increment where pre-increment isn't needed
8 years ago
Andrew Dunstan
f305559161
Clean DrawAutomap
8 years ago
Dennis Duda
5143c8dea7
Matched parameters and local variables to the PSX symbols.
...
Reindented the switch cases to match IDA and other cleanups.
8 years ago
Andrew Dunstan
1b364aa3dc
Clean SetAutomapView
8 years ago
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago