Anders Jenbo
0383f9abcd
Add documentation to more files
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
5ab9f4609a
Clean up signedness
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
Robin Eklind
b727d158ab
Make _pSLvlVisited into a boolean.
...
_pSLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
29eb52b6d0
Make _pLvlVisited into a boolean.
...
_pLvlVisited is only ever used in boolean contexts.
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
fe788c4027
Clean up loadsave.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
26e9dcb6af
Add enum
7 years ago
galaxyhaxz
f16d0c9276
Extra clean
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Robin Eklind
e915623726
rename SetCursor to SetCursor_ to avoid collision with windows.h
...
Translation done automatically using:
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
c46d92be7a
Format save game related files
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
f1c8439c64
Change setlvlnum to BYTE
8 years ago
Andrew Dunstan
e34be64ef4
Resolve conflicts
8 years ago
galaxyhaxz
395adc3c6b
Minor fixes ( #379 )
8 years ago
galaxyhaxz
c775439589
Cleanup "loadsave.cpp" ( #376 )
8 years ago
nomdenom
1c279c3f89
Fix declaration of gbValidSaveFile (BOOL) ( #331 )
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Anders Jenbo
3a0e40597b
Clean up InitPlayer
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
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