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
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
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
qndel
7129558d0b
apply enums
7 years ago
Robin Eklind
57213a4faa
update names as per @galaxyhaxz suggestion, use info from assert strings
7 years ago
Robin Eklind
fe839e90d9
diablo: rename spszMsgTbl and spszMsgKeyTbl to NetMsgStr and NetMsgHotKey
...
Rationale described in sanctuary/notes@3cd6417cdfafba340145939c2054ec614e1bd33e
as included below:
Infer the name of NetMsgStr and NetMsgHotKey from the
PSX debug names of:
char *PanBtnHotKey[8];
unsigned long PanBtnStr[8];
Note, the previous use of spsz hungarian notation has been removed
since searching for "spsz" gave no results in the merged output of
PSX debug info: https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/_dump_merge_c_
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
dc4f0572f6
Remove unused variables
7 years ago
Anders Jenbo
f71471eab7
Correct types related to glSeedTbl
...
Reference:
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/global_0.cpp#L2431
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l1.cpp#L542
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l2.cpp#L538
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l3.cpp#L499
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l4.cpp#L484
7 years ago
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
7 years ago
Anders Jenbo
a5c4efa8c3
Remove alignment hack
7 years ago
galaxyhaxz
610580625e
Split data from files
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
508a653a3d
the big PR of the day
7 years ago
Anders Jenbo
7ea77e8d56
Clean up SpawnHealer
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
205a370f22
Cleanup Diablo.cpp
7 years ago
Anders Jenbo
74e1d42f1c
Clarify some variable names
7 years ago
Anders Jenbo
cfbe27f3b8
Clean up ( #568 )
...
* Clean up mana checks
* Don't expose static globals
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
galaxyhaxz
040b4b0cc9
Cleanup game_loop
7 years ago
galaxyhaxz
51d5793e08
Cleanup LeftMouseCmd
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
bace152240
Fix tail functions ( #463 )
7 years ago
galaxyhaxz
d9a285327f
StartGame and PressEscKey ( #461 )
7 years ago
galaxyhaxz
b3fdda7c18
GM_Game+others ( #458 )
7 years ago
galaxyhaxz
f1b129d84d
Cleanup DisableInputWndProc ( #459 )
7 years ago
galaxyhaxz
c4c6572f06
Correct name diablo_init_menu
7 years ago
galaxyhaxz
24285a220f
WinMain+Direct file access from HDD ( #456 )
7 years ago
Anders Jenbo
4d5a785921
Clean up diablo.cpp
8 years ago
Anders Jenbo
7d27f1985b
Correct type for fullscreen
8 years ago
Anders Jenbo
cf4c110f41
Clean up mainmenu.cpp
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
Anders Jenbo
456d651f55
Clean up more bools related to sound.cpp
8 years ago
Anders Jenbo
8e2d0df643
Clean up some bools
8 years ago
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
8 years ago
Anders Jenbo
1e40fdf51e
Clean PM_DoAttack & CanTalkToMonst ( #311 )
...
* Clean PM_DoAttack & CanTalkToMonst
* Fix friendly mode default
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
20ad6eb218
Fix signature of diablo_find_window ( #187 )
...
Byte identical now
8 years ago
nomdenom
f3fc93491a
Use WNDPROC type for window procedures ( #162 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
0c233e45da
Implement debug stuff from 1.00 ( #148 )
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
dde68ff89e
Add files via upload
8 years ago