blob: 46ec273ed4a247b09f2e83c77b685d2639b11419 (
plain)
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
|
#pragma once
#include "dungeon_flag_set.hpp"
#include <boost/optional.hpp>
#include <string>
/**
* Get the level description, for special levels.
*/
boost::optional<std::string> get_level_description();
/**
* Get the level name, for special levels.
*/
boost::optional<std::string> get_dungeon_name();
/**
* Get the map name, for special levels.
*/
boost::optional<std::string> get_dungeon_map_name();
/**
* Get the dungeon save file extension, for special levels.
*/
boost::optional<std::string> get_dungeon_save_extension();
/**
* Get dungeon flags, for special levels. Returns an empty
* set of flags for non-special levels.
*/
dungeon_flag_set get_level_flags();
/**
* Get target dungeon to which this level branches, if any.
* Returns 0 when the dungeon level does not branch.
*/
int get_branch();
/**
* Get parent dungeon of this dungeon, if any.
* Returns 0 when the dungeon was not entered via a branch.
*/
int get_fbranch();
/**
* Get the target depth of the parent dungeon, if any.
* Returns 0 when the dungeon has no parent dungeon.
*/
int get_flevel();
|