summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-18 08:23:42 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-18 08:23:42 +0000
commit10104fd665356015a69e545a84452d1f85fe2698 (patch)
tree20f2164e1677a4cc386977826e2cfb80c72ba83a /crawl-ref/source/maps.h
parent2602987755200fb6399fdc8b8183d00ab1abc076 (diff)
downloadcrawl-ref-10104fd665356015a69e545a84452d1f85fe2698.tar.gz
crawl-ref-10104fd665356015a69e545a84452d1f85fe2698.zip
New entry vaults and regular vaults (Lemuel). The regular vaults are probably
intended to be portal vaults for Hell portals; we need to add support for portal vaults. Added support for monster slot randomisation for maps. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@865 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r--crawl-ref/source/maps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h
index 096ab50365..676d468190 100644
--- a/crawl-ref/source/maps.h
+++ b/crawl-ref/source/maps.h
@@ -14,6 +14,7 @@
#include "FixVec.h"
#include "dungeon.h"
+#include "mapdef.h"
class map_def;
struct vault_placement
@@ -21,16 +22,15 @@ struct vault_placement
int x, y;
int width, height;
int orient;
- const map_def *map;
+ map_def map;
vault_placement()
- : x(-1), y(-1), width(0), height(0), map(NULL)
+ : x(-1), y(-1), width(0), height(0), map()
{
}
};
int vault_main(map_type vgrid,
- FixedVector<int, 7>& mons_array,
vault_placement &vp,
int vault_force,
int many_many);