Commit graph

31 commits

Author SHA1 Message Date
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.)
2019-07-17 20:42:26 +02:00
Robin Eklind
b727d158ab Make _pSLvlVisited into a boolean.
_pSLvlVisited is only ever used in boolean contexts.
2019-07-17 20:36:02 +02:00
Robin Eklind
29eb52b6d0 Make _pLvlVisited into a boolean.
_pLvlVisited is only ever used in boolean contexts.
2019-07-17 20:34:45 +02:00
Joan Karadimov
fce804a09a Use the dungeon_type enum for leveltype 2019-06-28 11:58:44 +03:00
Anders Jenbo
565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
Anders Jenbo
fe788c4027 Clean up loadsave.cpp 2019-05-02 00:16:46 +01: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
26e9dcb6af Add enum 2019-04-02 18:11:56 -05:00
galaxyhaxz
f16d0c9276 Extra clean 2019-04-02 18:06:29 -05:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
galaxyhaxz
5238265702
Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Anders Jenbo
9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
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}_(' '{}'
2018-12-30 03:19:10 +01:00
Anders Jenbo
b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
c46d92be7a Format save game related files 2018-10-22 01:49:43 +02:00
Anders Jenbo
6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00
Anders Jenbo
456d651f55 Clean up more bools related to sound.cpp 2018-10-18 20:32:44 +02:00
Anders Jenbo
8e2d0df643 Clean up some bools 2018-10-18 20:32:44 +02:00
Anders Jenbo
f1c8439c64 Change setlvlnum to BYTE 2018-10-18 20:14:58 +02:00
Andrew Dunstan
e34be64ef4 Resolve conflicts 2018-10-06 14:13:19 +02:00
galaxyhaxz
395adc3c6b
Minor fixes (#379) 2018-10-02 23:04:20 -05:00
galaxyhaxz
c775439589
Cleanup "loadsave.cpp" (#376) 2018-10-02 22:43:30 -05:00
nomdenom
1c279c3f89 Fix declaration of gbValidSaveFile (BOOL) (#331) 2018-09-24 15:58:43 +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
3a0e40597b Clean up InitPlayer 2018-09-13 00:28:57 +02:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -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
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00