-
Notifications
You must be signed in to change notification settings - Fork 1
/
DungeonManager.h
57 lines (39 loc) · 1.46 KB
/
DungeonManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_DUNGEONMANAGER_H__AE152525_8D5E_4921_81AF_15FF648CBCC7__INCLUDED_)
#define AFX_DUNGEONMANAGER_H__AE152525_8D5E_4921_81AF_15FF648CBCC7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DungeonLevel.h"
#define MAX_DUNGEON_LEVELS 20
class DungeonManager
{
public:
int Initialise();
virtual int PopulateDungeon(int level);
Coord * NewMonsterPosition(int lev);
Coord * NewBridgePosition(int lev);
virtual int AddItems(int lev);
virtual int BuildCompleteDungeon(int max_num_levels);
virtual int CreateDungeon(int dlevel,int type);
virtual int DeleteDungeon(int dlevel);
void CreateLockedDungeon();
void CreateSpecialDungeon();
void PrintDungeons();
void PopulateSpecialDungeon(int level,int type);
DungeonLevel* CurrentLevel();
static std::string getLevelName(int level);
DungeonLevel & level(int level);
private:
DungeonLevel dungeonLevels[21];
int AddKeysToDungeon();
};
#endif // !defined(AFX_DUNGEONMANAGER_H__AE152525_8D5E_4921_81AF_15FF648CBCC7__INCLUDED_)