-
Notifications
You must be signed in to change notification settings - Fork 51
/
data.h
73 lines (67 loc) · 1.92 KB
/
data.h
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
68
69
70
71
72
73
/*
* This file is part of liblcf. Copyright (c) 2017 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code.
*/
#ifndef LCF_DATA_H
#define LCF_DATA_H
#include <string>
#include <vector>
#include "rpg_actor.h"
#include "rpg_skill.h"
#include "rpg_item.h"
#include "rpg_enemy.h"
#include "rpg_troop.h"
#include "rpg_attribute.h"
#include "rpg_state.h"
#include "rpg_terrain.h"
#include "rpg_animation.h"
#include "rpg_chipset.h"
#include "rpg_terms.h"
#include "rpg_system.h"
#include "rpg_commonevent.h"
#include "rpg_class.h"
#include "rpg_battlecommand.h"
#include "rpg_battleranimation.h"
#include "rpg_sound.h"
#include "rpg_music.h"
#include "rpg_eventcommand.h"
#include "rpg_treemap.h"
#include "rpg_database.h"
/**
* Data namespace
*/
namespace Data {
/** Database Data (ldb) */
extern RPG::Database data;
/** @{ */
extern std::vector<RPG::Actor>& actors;
extern std::vector<RPG::Skill>& skills;
extern std::vector<RPG::Item>& items;
extern std::vector<RPG::Enemy>& enemies;
extern std::vector<RPG::Troop>& troops;
extern std::vector<RPG::Terrain>& terrains;
extern std::vector<RPG::Attribute>& attributes;
extern std::vector<RPG::State>& states;
extern std::vector<RPG::Animation>& animations;
extern std::vector<RPG::Chipset>& chipsets;
extern std::vector<RPG::CommonEvent>& commonevents;
extern RPG::BattleCommands& battlecommands;
extern std::vector<RPG::Class>& classes;
extern std::vector<RPG::BattlerAnimation>& battleranimations;
extern RPG::Terms& terms;
extern RPG::System& system;
extern std::vector<RPG::Switch>& switches;
extern std::vector<RPG::Variable>& variables;
/** @} */
/** TreeMap (lmt) */
extern RPG::TreeMap treemap;
/**
* Clears database data.
*/
void Clear();
}
#endif