summaryrefslogtreecommitdiff
path: root/src/game_edit_data.hpp
blob: 9370b7d4bceabdd8400e7a1aa2afad778553e4fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#pragma once

#include "hist_type.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 "store_action_type.hpp"
#include "vault_type.hpp"

#include <vector>

/**
 * Game edit data, i.e. the parsed contents of the edit .txt
 * files.
 */
struct GameEditData {

	/**
	 * 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;

	/**
	 * Building actions.
	 */
	std::vector<store_action_type> ba_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 race histories
	 */
	std::vector<hist_type> bg;

};