summaryrefslogtreecommitdiff
path: root/src/game_edit_data.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commitfd6449ac75f553e32d2efa84c3cdfba88bb32d6e (patch)
tree61499f66f9f44171085ef4d3ba9aad4955658f2b /src/game_edit_data.hpp
parent1173c144b06d5d2d3c9e6351af5e6f06cb843d4b (diff)
Move ra_gen and ra_info into GameEditData
Diffstat (limited to 'src/game_edit_data.hpp')
-rw-r--r--src/game_edit_data.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game_edit_data.hpp b/src/game_edit_data.hpp
index 7dea2610..2cfea630 100644
--- a/src/game_edit_data.hpp
+++ b/src/game_edit_data.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include "randart_gen_type.hpp"
+#include "randart_part_type.hpp"
#include "vault_type.hpp"
#include <vector>
@@ -15,4 +17,15 @@ struct GameEditData {
*/
std::vector<vault_type> v_info;
+ /**
+ * Random artifact part descriptors, i.e. the bits that
+ * randarts are made up of.
+ */
+ std::vector<randart_part_type> ra_info;
+
+ /**
+ * Random artifact generation parameters.
+ */
+ std::vector<randart_gen_type> ra_gen;
+
};