You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.0 KiB
68 lines
2.0 KiB
//HEADER_GOES_HERE |
|
#ifndef __DRLG_L1_H__ |
|
#define __DRLG_L1_H__ |
|
|
|
extern char L5dungeon[80][80]; |
|
extern BYTE L5dflags[40][40]; |
|
extern BOOL setloadflag; |
|
extern int HR1; |
|
extern int HR2; |
|
extern int HR3; |
|
extern int VR1; |
|
extern int VR2; |
|
extern int VR3; |
|
extern BYTE *pSetPiece; |
|
|
|
void DRLG_Init_Globals(); |
|
void LoadL1Dungeon(char *sFileName, int vx, int vy); |
|
void DRLG_L1Floor(); |
|
void DRLG_L1Pass3(); |
|
void DRLG_InitL1Vals(); |
|
void LoadPreL1Dungeon(char *sFileName, int vx, int vy); |
|
void CreateL5Dungeon(int rseed, int entry); |
|
void DRLG_LoadL1SP(); |
|
void DRLG_FreeL1SP(); |
|
void DRLG_L5(int entry); |
|
void DRLG_PlaceDoor(int x, int y); |
|
void DRLG_L1Shadows(); |
|
int DRLG_PlaceMiniSet(const BYTE *miniset, int tmin, int tmax, int cx, int cy, BOOL setview, int noquad, int ldir); |
|
void InitL5Dungeon(); |
|
void L5ClearFlags(); |
|
void L5firstRoom(); |
|
void L5drawRoom(int x, int y, int w, int h); |
|
void L5roomGen(int x, int y, int w, int h, int dir); |
|
BOOL L5checkRoom(int x, int y, int width, int height); |
|
int L5GetArea(); |
|
void L5makeDungeon(); |
|
void L5makeDmt(); |
|
void L5AddWall(); |
|
int L5HWallOk(int i, int j); |
|
int L5VWallOk(int i, int j); |
|
void L5HorizWall(int i, int j, char p, int dx); |
|
void L5VertWall(int i, int j, char p, int dy); |
|
void L5tileFix(); |
|
void DRLG_L5Subs(); |
|
void L5FillChambers(); |
|
void DRLG_L5GChamber(int sx, int sy, BOOL topflag, BOOL bottomflag, BOOL leftflag, BOOL rightflag); |
|
void DRLG_L5GHall(int x1, int y1, int x2, int y2); |
|
void DRLG_L5SetRoom(int rx1, int ry1); |
|
void DRLG_L5FloodTVal(); |
|
void DRLG_L5FTVR(int i, int j, int x, int y, int d); |
|
void DRLG_L5TransFix(); |
|
void DRLG_L5DirtFix(); |
|
void DRLG_L5CornerFix(); |
|
|
|
/* rdata */ |
|
extern const ShadowStruct SPATS[37]; |
|
extern const BYTE BSTYPES[206]; |
|
extern const BYTE L5BTYPES[206]; |
|
extern const BYTE STAIRSUP[]; |
|
extern const BYTE L5STAIRSUP[]; |
|
extern const BYTE STAIRSDOWN[]; |
|
extern const BYTE LAMPS[]; |
|
extern const BYTE PWATERIN[]; |
|
|
|
/* data */ |
|
extern BYTE L5ConvTbl[16]; |
|
|
|
#endif /* __DRLG_L1_H__ */
|
|
|