summaryrefslogtreecommitdiff
path: root/src/game_edit_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_edit_data.hpp')
-rw-r--r--src/game_edit_data.hpp138
1 files changed, 138 insertions, 0 deletions
diff --git a/src/game_edit_data.hpp b/src/game_edit_data.hpp
new file mode 100644
index 00000000..a4727d90
--- /dev/null
+++ b/src/game_edit_data.hpp
@@ -0,0 +1,138 @@
+#pragma once
+
+#include "ability_type.hpp"
+#include "artifact_type.hpp"
+#include "dungeon_info_type.hpp"
+#include "ego_item_type.hpp"
+#include "feature_type.hpp"
+#include "monster_ego.hpp"
+#include "monster_race.hpp"
+#include "object_kind.hpp"
+#include "owner_type.hpp"
+#include "player_class.hpp"
+#include "player_race.hpp"
+#include "player_race_mod.hpp"
+#include "randart_gen_type.hpp"
+#include "randart_part_type.hpp"
+#include "set_type.hpp"
+#include "skill_descriptor.hpp"
+#include "store_action_type.hpp"
+#include "store_info_type.hpp"
+#include "vault_type.hpp"
+#include "wilderness_type_info.hpp"
+
+#include <vector>
+
+/**
+ * Game edit data, i.e. the parsed contents of the edit .txt
+ * files.
+ */
+struct GameEditData {
+
+ /**
+ * Dungeons
+ */
+ std::vector<dungeon_info_type> d_info;
+
+ /**
+ * Vaults
+ */
+ 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;
+
+ /**
+ * Artifacts
+ */
+ std::vector<artifact_type> a_info;
+
+ /**
+ * Ego items
+ */
+ std::vector<ego_item_type> e_info;
+
+ /**
+ * Artifact sets
+ */
+ std::vector<set_type> set_info;
+
+ /**
+ * Object kinds
+ */
+ std::vector<object_kind> k_info;
+
+ /**
+ * Building actions.
+ */
+ std::vector<store_action_type> ba_info;
+
+ /**
+ * Buildings
+ */
+ std::vector<store_info_type> st_info;
+
+ /**
+ * Building owners.
+ */
+ std::vector<owner_type> ow_info;
+
+ /**
+ * Player classes.
+ */
+ std::vector<player_class> class_info;
+
+ /**
+ * Player races.
+ */
+ std::vector<player_race> race_info;
+
+ /**
+ * Player subraces.
+ */
+ std::vector<player_race_mod> race_mod_info;
+
+ /**
+ * Player skills
+ */
+ std::vector<skill_descriptor> s_descriptors;
+
+ /*
+ * The monster races
+ */
+ std::vector<monster_race> r_info;
+
+ /**
+ * Monster race egos
+ */
+ std::vector<monster_ego> re_info;
+
+ /*
+ * Terrain features
+ */
+ std::vector<feature_type> f_info;
+
+ /**
+ * Wilderness features
+ */
+ std::vector<wilderness_type_info> wf_info;
+
+ /**
+ * Base skills for all characters.
+ */
+ skill_modifiers gen_skill;
+
+ /**
+ * Player abilities.
+ */
+ std::vector<ability_type> ab_info;
+
+};