Commit graph

39 commits

Author SHA1 Message Date
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
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
c2587d9786 use enums (#1997) 2020-01-28 17:33:34 +01:00
qndel
3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo
5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
qndel
6b286941f3 enums 2019-10-02 22:24:37 +02:00
Anders Jenbo
6fba17eec5 Correct GLOBAL types based on PSX SYM 3 2019-07-21 04:10:31 +02:00
Robin Eklind
d113d3a158 debug: add ICURS_GOLD_LARGE enum 2019-07-15 10:46:40 +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
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Duarte Alvim
6a4142fb08 Add gold constants 2019-06-16 02:24:09 +02:00
Anders Jenbo
11b6b1f860 Remove more garbage 2019-06-03 02:20:42 +01:00
Anders Jenbo
565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
galaxyhaxz
c3630c6a55 Implement debug seed sync 2019-05-21 08:54:10 +01:00
Anders Jenbo
47fa5d46d9 Clean up debug.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
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz
5238265702
Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Anders Jenbo
429ececce0 Fix debug build as C (#566)
* Clean up todo

* Fix debug build
2019-01-14 18:54:12 +01:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Robin Eklind
fa8c5f7cfa CheckDungeonClear binary exact
Fixes #230.
2018-11-27 00:49:21 +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
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
fcc4e19287 Format debug related code 2018-10-22 01:45:27 +02:00
Anders Jenbo
bfdf49a3f7 Clean up debug.cpp 2018-10-21 14:29:10 +02:00
Anders Jenbo
48a1035d4a Remove unused varialbes 2018-10-12 11:04:23 +02:00
Anders Jenbo
83e52d47e1 Clean up MaxSpellsCheat and SetSpellLevelCheat 2018-10-11 16:05:12 +02:00
Anders Jenbo
d8c4bcab5c Clean up DropHalfPlayersGold (#330) 2018-09-24 16:50:45 +02: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
Anders Jenbo
db77557dce ValidatePlayer (#318)
* ValidatePlayer

* Add MAX_SPELLS define
2018-09-23 09:40:05 +02:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz
b4a29719a0
Fix for modern compilers
gotta love how everything breaks. :S
2018-07-23 02:10:24 -05:00
galaxyhaxz
0c233e45da
Implement debug stuff from 1.00 (#148) 2018-07-23 02:03:21 -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
b204238a49
Update debug.cpp 2018-06-08 22:09:49 -05:00
mewmew
4a866b32db Fix build issue in debug.cpp
Source/debug.cpp:124:41: error: unable to find numeric literal operator ‘operator""i64’
    *(_QWORD *)plr[myplr]._pMemSpells |= 1i64 << (i - 1);
2018-06-08 11:42:23 +02:00
galaxyhaxz
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00