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