diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-23 22:06:04 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-23 22:06:04 +0000 |
commit | 281255938e3fe3b4489c86eba89ae8da1783c337 (patch) | |
tree | b1bf2cd82f0523a3cb37768375e927effac3cb23 /crawl-ref/source/maps.h | |
parent | c8189c13faf12b8e598645a2ce4d5526ef2bcb6d (diff) | |
download | crawl-ref-281255938e3fe3b4489c86eba89ae8da1783c337.tar.gz crawl-ref-281255938e3fe3b4489c86eba89ae8da1783c337.zip |
Removed redundant buffer used to go from map_def to env.grid and all the tedious code used to mess with this pointless buffer.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7560 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r-- | crawl-ref/source/maps.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index b729c3b36c..01b6af9fb4 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -12,35 +12,12 @@ #include "FixVec.h" #include "dungeon.h" -#include "mapdef.h" #include <vector> class map_def; -struct vault_placement -{ - coord_def pos; - coord_def size; - - int orient; - map_def map; - std::vector<coord_def> exits; - - int level_number, altar_count, num_runes; - - // If we're not placing runes, this is the substitute feature. - int rune_subst; - - vault_placement() - : pos(-1, -1), size(0, 0), orient(0), map(), - exits(), level_number(0), altar_count(0), num_runes(0), - rune_subst(-1) - { - } -}; - -int vault_main(map_type vgrid, - vault_placement &vp, + +int vault_main(vault_placement &vp, int vault_force, bool check_place = false); |