blob: e9ec8fb48ea3fa7b559a21b479cef93b4d479c82 (
plain) (
blame)
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
|
/*
* File: maps.cc
* Summary: Functions used to create vaults.
* Written by: Linley Henzell
*
* Change History (most recent first):
*
* <1> -/--/-- LRH Created
*/
#ifndef MAPS_H
#define MAPS_H
#include "FixVec.h"
#include "dungeon.h"
struct vault_placement
{
int x, y;
int width, height;
vault_placement()
: x(-1), y(-1), width(0), height(0)
{
}
};
int vault_main(map_type vgrid,
FixedVector<int, 7>& mons_array,
vault_placement &vp,
int vault_force,
int many_many);
int find_map_for(const std::string &place);
int find_map_named(const std::string &name);
int random_map_for_depth(int depth, bool want_minivault = false);
int random_map_for_tag(std::string tag);
#endif
|