summaryrefslogtreecommitdiff
path: root/src/tables.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit2fcc9f1712b630055ae9ce5c3ecf017b8a93fbbb (patch)
tree49f48e7f03ebeb6fda174e730b0d7455d86618c8 /src/tables.hpp
parent9c26f78ce556d3a0717e4bc5668a1ed59217f414 (diff)
Change flags_group to non-POD type
Diffstat (limited to 'src/tables.hpp')
-rw-r--r--src/tables.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tables.hpp b/src/tables.hpp
index c643d97e..aafbb763 100644
--- a/src/tables.hpp
+++ b/src/tables.hpp
@@ -21,6 +21,8 @@
#include "tactic_info_type.hpp"
#include "tval_desc.hpp"
+#include <vector>
+
extern s16b ddd[9];
extern s16b ddx[10];
extern s16b ddy[10];
@@ -64,7 +66,7 @@ extern tactic_info_type tactic_info[9];
extern activation activation_info[MAX_T_ACT];
extern inscription_info_type inscription_info[MAX_INSCRIPTIONS];
extern cptr sense_desc[];
-extern flags_group flags_groups[MAX_FLAG_GROUP];
+extern std::vector<flags_group> const &flags_groups();
extern power_type powers_type[POWER_MAX];
extern cptr artifact_names_list;
extern monster_power monster_powers[MONSTER_POWERS_MAX];