Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
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
qndel
34caded4de
fix hotkeys
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
a1321539fb
enums
6 years ago
qndel
a6a89bca3a
apply TRUE/FALSE
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
galaxyhaxz
6605e1de5e
Fix variable 'gbSelectProvider'
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
aedf8c993b
PressKey clean up
6 years ago
Anders Jenbo
8a2cd19d95
DisableInputWndProc clean up
6 years ago
Anders Jenbo
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
2ff16c34bb
Correct NetSendCmdLocParam1 input
...
Fixes #1838
6 years ago
Anders Jenbo
3638381b48
SetCursor CURSOR_NONE
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
048429b4cd
Apply more constants
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
qndel
57f1fcce4c
some enums ( #1816 )
6 years ago
qndel
7129558d0b
apply enums
7 years ago
Anders Jenbo
edbc23f144
Clean up diablo.cpp
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Anders Jenbo
1aa0b809e1
Clean up diablo_find_window
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
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Robin Eklind
105a583ce0
Use TRUE and FALSE enums for setlevel.
...
Also simplify if conditions to make
use of boolean values.
(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
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
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
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
334c06c6d3
Correct type in calls to AddPanelString
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Anders Jenbo
b6a2406d47
Clean up LeftMouseDown
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
qndel
66f160a962
gmenu_left_mouse bin exact
7 years ago
galaxyhaxz
31cbaed01e
fix name type
7 years ago
galaxyhaxz
0b1b4e8062
PressChar bin exact as C++ ( #1136 )
7 years ago
galaxyhaxz
8ead9a8606
run_game_loop
7 years ago
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
7 years ago
Anders Jenbo
9504b5cf57
Clean up drlg_l3.cpp
7 years ago