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.
33 lines
580 B
33 lines
580 B
/** |
|
* @file levels/drlg_l2.h |
|
* |
|
* Interface of the catacombs level generation algorithms. |
|
*/ |
|
#pragma once |
|
|
|
#include "levels/gendung.h" |
|
|
|
namespace devilution { |
|
|
|
struct HALLNODE { |
|
int nHallx1; |
|
int nHally1; |
|
int nHallx2; |
|
int nHally2; |
|
int nHalldir; |
|
}; |
|
|
|
struct ROOMNODE { |
|
int nRoomx1; |
|
int nRoomy1; |
|
int nRoomx2; |
|
int nRoomy2; |
|
}; |
|
|
|
extern BYTE predungeon[DMAXX][DMAXY]; |
|
|
|
void CreateL2Dungeon(uint32_t rseed, lvl_entry entry); |
|
void LoadPreL2Dungeon(const char *path); |
|
void LoadL2Dungeon(const char *path, Point spawn); |
|
|
|
} // namespace devilution
|
|
|