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
Robin Eklind
a443e5091e
Make _pInfraFlag a boolean.
...
_pInfraFlag is only ever used in boolean contexts.
7 years ago
Robin Eklind
983d2d6769
Make _pLvlChanging into a boolean.
...
_pLvlChanging is only ever used in boolean contexts.
7 years ago
Robin Eklind
f59439a8ff
Make _pInvincible into a boolean.
...
_pInvincible is only ever used in boolean contexts.
7 years ago
Robin Eklind
3f4a539bf7
Make _pBlockFlag into a boolean.
...
_pBlockFlag is only ever used in boolean contexts.
7 years ago
Robin Eklind
8b85ba2489
Merge pull request #1309 from mewpull/rename-InitNewSeed
...
multi: rename InitNewSeed to InitLevelType
7 years ago
Robin Eklind
8402bbaff5
player: replace WALK_NONE with -1 for lightning index
7 years ago
Robin Eklind
9b6e866878
Update Source/multi.cpp
...
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
7 years ago
Robin Eklind
98ac9ebaf3
multi: use name from PSX for InitLevelType
7 years ago
Robin Eklind
f47e29d60d
multi: rename InitNewSeed to DTypeFromDLvl
7 years ago
Robin Eklind
624b84e8cc
Merge pull request #1308 from Predelnik/PR
...
Cast pointer to ptrdiff_t to make code less undefined for 64-bit.
7 years ago
Sergey Semushin
c4c2132ac6
Cast pointer to ptrdiff_t to make code less undefined for 64-bit.
7 years ago
Anders Jenbo
a52d36a90f
Correct value of DLRG_CHAMBER
7 years ago
Robin Eklind
4cbf8c9ec3
Rename global pCelBuff to pSPentSpn2Cels
...
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.
The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp
pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
7 years ago
galaxyhaxz
0da0dbc9a3
Fix AddCbolt conditional
7 years ago
Adam Newgas
c55c61f23a
Update comments to doxygen style.
7 years ago
Adam Newgas
79ad7b9d9e
Add some comments to some tricky to understand functions.
7 years ago
Adam Newgas
fc8882b7db
Add some bugfix notes.
7 years ago
Adam Newgas
66a1c246e6
Add dlrg_flag enum.
7 years ago
Adam Newgas
3d1d01ce86
More use of DMAXX/DMAXY
7 years ago
Adam Newgas
f363cfa85f
Use DMAXX/DMAXY and BFLAG_EXPLORED in drlg_l2.cpp
7 years ago
Robin Eklind
d113d3a158
debug: add ICURS_GOLD_LARGE enum
7 years ago
Robin Eklind
aa151d98e8
Merge pull request #1302 from mewpull/background
...
Add BACKGROUND.md to detail project background.
7 years ago
Xadhoom
0234ff2ae4
One further BUGFIX in drlg_l4.cpp
7 years ago
Robin Eklind
a6dcce43fb
Add BACKGROUND.md to detail project background.
...
The post is from https://news.ycombinator.com/item?id=20341555
We can update the post as we go. This is just
something to get us started.
7 years ago
Xadhoom
3b203f7c50
BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp
7 years ago
Xadhoom
63847b0f33
Use DMAXX and DMAXY constants
7 years ago
Robin Eklind
4e09aeb3a8
pfile: add assert comments to pfile_rename_temp_to_perm
...
Based on @galaxyhaxz code in https://github.com/diasurgical/devilution/pull/1294#issuecomment-509018789
Also, per suggestion of @sskras .
7 years ago
Anders Jenbo
55b5ce883d
Clean up unformatted files
7 years ago
Anders Jenbo
7883043adc
Clean up files with dirty headers
7 years ago
Anders Jenbo
dc4f0572f6
Remove unused variables
7 years ago
Anders Jenbo
94f7b179e2
Stop clang_format from breaking compiling
7 years ago
Robin Eklind
964c17457b
pfile: add BUGFIX comment for pfile_rename_temp_to_perm
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
galaxyhaxz
ec6562826a
Fix L4firstRoom variables
7 years ago
Robin Eklind
971a25d7a7
Merge pull request #1293 from AJenbo/init.cpp
...
Init.cpp
7 years ago
Anders Jenbo
1d55e5849c
Clean up init.cpp
7 years ago
Anders Jenbo
86e2bab837
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
87d8588f67
Compare int to numbers
7 years ago
Robin Eklind
978fa6e3b7
Merge pull request #1292 from AJenbo/glSeedTbl
...
Correct types related to glSeedTbl
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
c1f9e8293e
Correct new line encoding
...
_asm.cpp and _render.cpp is still incorrectly encoded
7 years ago
Anders Jenbo
73f278b0c8
Fix travis build links
7 years ago
Robin Eklind
b186d1a00d
Merge pull request #1291 from AJenbo/dlgresults
...
Add enum for dlgresults
7 years ago
Anders Jenbo
0483a923c3
Add enum for dlgresults
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Anders Jenbo
d2cb6a59e7
Apply scrollrt naming to town.cpp
7 years ago
Robin Eklind
214c897166
Merge pull request #1288 from galaxyhaxz/fsdfssffs
...
Add DRLG_L3 bugfix comment
7 years ago
galaxyhaxz
ceafdf2337
Add DRLG_L3 bugfix comment
7 years ago