mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
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
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ int gnLevelTypeTbl[NUMLEVELS];
|
||||
int MouseY; // idb
|
||||
int MouseX; // idb
|
||||
BOOL gbGameLoopStartup; // idb
|
||||
int glSeedTbl[NUMLEVELS];
|
||||
DWORD glSeedTbl[NUMLEVELS];
|
||||
BOOL gbRunGame;
|
||||
int glMid3Seed[NUMLEVELS];
|
||||
BOOL gbRunGameResult;
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ extern int gnLevelTypeTbl[NUMLEVELS];
|
||||
extern int MouseY; // idb
|
||||
extern int MouseX; // idb
|
||||
extern BOOL gbGameLoopStartup; // idb
|
||||
extern int glSeedTbl[NUMLEVELS];
|
||||
extern DWORD glSeedTbl[NUMLEVELS];
|
||||
extern BOOL gbRunGame;
|
||||
extern int glMid3Seed[NUMLEVELS];
|
||||
extern BOOL gbRunGameResult;
|
||||
|
||||
+1
-1
@@ -371,7 +371,7 @@ void LoadPreL1Dungeon(char *sFileName, int vx, int vy)
|
||||
mem_free_dbg(pLevelMap);
|
||||
}
|
||||
|
||||
void CreateL5Dungeon(int rseed, int entry)
|
||||
void CreateL5Dungeon(DWORD rseed, int entry)
|
||||
{
|
||||
SetRndSeed(rseed);
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ void DRLG_L1Floor();
|
||||
void DRLG_L1Pass3();
|
||||
void DRLG_InitL1Vals();
|
||||
void LoadPreL1Dungeon(char *sFileName, int vx, int vy);
|
||||
void CreateL5Dungeon(int rseed, int entry);
|
||||
void CreateL5Dungeon(DWORD rseed, int entry);
|
||||
void DRLG_LoadL1SP();
|
||||
void DRLG_FreeL1SP();
|
||||
void DRLG_L5(int entry);
|
||||
|
||||
+1
-1
@@ -551,7 +551,7 @@ void LoadPreL2Dungeon(char *sFileName, int vx, int vy)
|
||||
mem_free_dbg(pLevelMap);
|
||||
}
|
||||
|
||||
void CreateL2Dungeon(int rseed, int entry)
|
||||
void CreateL2Dungeon(DWORD rseed, int entry)
|
||||
{
|
||||
if (gbMaxPlayers == 1) {
|
||||
if (currlevel == 7 && !quests[8]._qactive) {
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ void L2DoorFix();
|
||||
void LoadL2Dungeon(char *sFileName, int vx, int vy);
|
||||
void DRLG_L2Pass3();
|
||||
void LoadPreL2Dungeon(char *sFileName, int vx, int vy);
|
||||
void CreateL2Dungeon(int rseed, int entry);
|
||||
void CreateL2Dungeon(DWORD rseed, int entry);
|
||||
void DRLG_LoadL2SP();
|
||||
void DRLG_FreeL2SP();
|
||||
void DRLG_L2(int entry);
|
||||
|
||||
+1
-1
@@ -287,7 +287,7 @@ BOOL DRLG_L3Lockout()
|
||||
return t == lockoutcnt;
|
||||
}
|
||||
|
||||
void CreateL3Dungeon(int rseed, int entry)
|
||||
void CreateL3Dungeon(DWORD rseed, int entry)
|
||||
{
|
||||
int i, j;
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ void FixL3Warp();
|
||||
void FixL3HallofHeroes();
|
||||
void DRLG_L3LockRec(int x, int y);
|
||||
BOOL DRLG_L3Lockout();
|
||||
void CreateL3Dungeon(int rseed, int entry);
|
||||
void CreateL3Dungeon(DWORD rseed, int entry);
|
||||
void DRLG_L3(int entry);
|
||||
void InitL3Dungeon();
|
||||
BOOL DRLG_L3FillRoom(int x1, int y1, int x2, int y2);
|
||||
|
||||
+1
-1
@@ -469,7 +469,7 @@ void DRLG_L4GeneralFix()
|
||||
}
|
||||
}
|
||||
|
||||
void CreateL4Dungeon(int rseed, int entry)
|
||||
void CreateL4Dungeon(DWORD rseed, int entry)
|
||||
{
|
||||
SetRndSeed(rseed);
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ BOOL IsDURWall(char d);
|
||||
BOOL IsDLLWall(char dd);
|
||||
void L4FixRim();
|
||||
void DRLG_L4GeneralFix();
|
||||
void CreateL4Dungeon(int rseed, int entry);
|
||||
void CreateL4Dungeon(DWORD rseed, int entry);
|
||||
void DRLG_L4(int entry);
|
||||
void DRLG_L4Shadows();
|
||||
void InitL4Dungeon();
|
||||
|
||||
Reference in New Issue
Block a user