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.
37 lines
692 B
37 lines
692 B
/** |
|
* @file drlg_l2.h |
|
* |
|
* Interface of the catacombs level generation algorithms. |
|
*/ |
|
#pragma once |
|
|
|
#include "gendung.h" |
|
#include "miniwin/miniwin.h" |
|
|
|
namespace devilution { |
|
|
|
struct HALLNODE { |
|
Sint32 nHallx1; |
|
Sint32 nHally1; |
|
Sint32 nHallx2; |
|
Sint32 nHally2; |
|
Sint32 nHalldir; |
|
struct HALLNODE *pNext; |
|
}; |
|
|
|
struct ROOMNODE { |
|
Sint32 nRoomx1; |
|
Sint32 nRoomy1; |
|
Sint32 nRoomx2; |
|
Sint32 nRoomy2; |
|
Sint32 nRoomDest; |
|
}; |
|
|
|
extern BYTE predungeon[DMAXX][DMAXY]; |
|
|
|
void InitDungeon(); |
|
void LoadL2Dungeon(const char *sFileName, int vx, int vy); |
|
void LoadPreL2Dungeon(const char *sFileName, int vx, int vy); |
|
void CreateL2Dungeon(DWORD rseed, lvl_entry entry); |
|
|
|
}
|
|
|