|
|
|
|
@ -7,7 +7,7 @@ extern int nSx2; // weak
|
|
|
|
|
extern int nSy1; |
|
|
|
|
extern int nSy2; // weak
|
|
|
|
|
extern int nRoomCnt; |
|
|
|
|
extern char predungeon[40][40]; |
|
|
|
|
extern unsigned char predungeon[40][40]; |
|
|
|
|
extern ROOMNODE RoomList[81]; |
|
|
|
|
extern HALLNODE *pHallList; |
|
|
|
|
|
|
|
|
|
@ -17,17 +17,17 @@ 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(unsigned int rseed, int entry); |
|
|
|
|
void DRLG_LoadL2SP(); |
|
|
|
|
void DRLG_FreeL2SP(); |
|
|
|
|
void DRLG_L2(int entry); |
|
|
|
|
BOOLEAN DRLG_L2PlaceMiniSet(unsigned char *miniset, int tmin, int tmax, int cx, int cy, BOOLEAN setview, int ldir); |
|
|
|
|
BOOL DRLG_L2PlaceMiniSet(unsigned char *miniset, int tmin, int tmax, int cx, int cy, BOOL setview, int ldir); |
|
|
|
|
void DRLG_L2PlaceRndSet(unsigned char *miniset, int rndper); |
|
|
|
|
void DRLG_L2Subs(); |
|
|
|
|
void DRLG_L2Shadows(); |
|
|
|
|
void DRLG_L2SetRoom(int rx1, int ry1); |
|
|
|
|
void L2TileFix(); |
|
|
|
|
BOOLEAN CreateDungeon(); |
|
|
|
|
BOOL CreateDungeon(); |
|
|
|
|
void CreateRoom(int nX1, int nY1, int nX2, int nY2, int nRDest, int nHDir, int ForceHW, int nH, int nW); |
|
|
|
|
void DefineRoom(int nX1, int nY1, int nX2, int nY2, int ForceHW); |
|
|
|
|
void AddHall(int nX1, int nY1, int nX2, int nY2, int nHd); |
|
|
|
|
@ -36,8 +36,8 @@ void ConnectHall(int nX1, int nY1, int nX2, int nY2, int nHd);
|
|
|
|
|
void CreateDoorType(int nX, int nY); |
|
|
|
|
void PlaceHallExt(int nX, int nY); |
|
|
|
|
void DoPatternCheck(int i, int j); |
|
|
|
|
BOOLEAN DL2_FillVoids(); |
|
|
|
|
BOOLEAN DL2_Cont(BOOLEAN x1f, BOOLEAN y1f, BOOLEAN x2f, BOOLEAN y2f); |
|
|
|
|
BOOL DL2_FillVoids(); |
|
|
|
|
BOOL DL2_Cont(BOOL x1f, BOOL y1f, BOOL x2f, BOOL y2f); |
|
|
|
|
int DL2_NumNoChar(); |
|
|
|
|
void DL2_DrawRoom(int x1, int y1, int x2, int y2); |
|
|
|
|
void DL2_KnockWalls(int x1, int y1, int x2, int y2); |
|
|
|
|
|