summaryrefslogtreecommitdiff
path: root/src/variable.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
commitdc261d2c9732554d9f510e11711ac84d028e5ac1 (patch)
tree2eeb12d57fa130309f26160277fb2677bf928c37 /src/variable.hpp
parenteea082ffd1a3ecf73b7c464cc28da5ef74d3a30f (diff)
Use grid<> for wilderness grid
Diffstat (limited to 'src/variable.hpp')
-rw-r--r--src/variable.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/variable.hpp b/src/variable.hpp
index 3385bebd..e305d6bd 100644
--- a/src/variable.hpp
+++ b/src/variable.hpp
@@ -13,6 +13,7 @@
#include "ego_item_type_fwd.hpp"
#include "fate.hpp"
#include "feature_type_fwd.hpp"
+#include "grid.hpp"
#include "hist_type_fwd.hpp"
#include "meta_class_type_fwd.hpp"
#include "monster_ego_fwd.hpp"
@@ -207,9 +208,7 @@ extern char *ANGBAND_DIR_DNGN;
extern bool_ (*get_mon_num_hook)(int r_idx);
extern bool_ (*get_mon_num2_hook)(int r_idx);
extern bool_ (*get_obj_num_hook)(int k_idx);
-extern u16b max_wild_x;
-extern u16b max_wild_y;
-extern wilderness_map **wild_map;
+extern grid<wilderness_map> *wilderness_ptr;
extern u16b max_ab_idx;
extern u16b max_s_idx;
extern u16b max_r_idx;