liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
data.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 liblcf authors
3  * This file is released under the MIT License
4  * http://opensource.org/licenses/MIT
5  */
6 
7 #ifndef LCF_DATA_H
8 #define LCF_DATA_H
9 
10 #include <string>
11 #include <vector>
12 #include "rpg_actor.h"
13 #include "rpg_skill.h"
14 #include "rpg_item.h"
15 #include "rpg_enemy.h"
16 #include "rpg_troop.h"
17 #include "rpg_attribute.h"
18 #include "rpg_state.h"
19 #include "rpg_terrain.h"
20 #include "rpg_animation.h"
21 #include "rpg_chipset.h"
22 #include "rpg_terms.h"
23 #include "rpg_system.h"
24 #include "rpg_commonevent.h"
25 #include "rpg_class.h"
26 #include "rpg_battlecommand.h"
27 #include "rpg_battleranimation.h"
28 #include "rpg_sound.h"
29 #include "rpg_music.h"
30 #include "rpg_eventcommand.h"
31 #include "rpg_treemap.h"
32 #include "rpg_database.h"
33 
37 namespace Data {
39  extern RPG::Database data;
41  extern std::vector<RPG::Actor>& actors;
42  extern std::vector<RPG::Skill>& skills;
43  extern std::vector<RPG::Item>& items;
44  extern std::vector<RPG::Enemy>& enemies;
45  extern std::vector<RPG::Troop>& troops;
46  extern std::vector<RPG::Terrain>& terrains;
47  extern std::vector<RPG::Attribute>& attributes;
48  extern std::vector<RPG::State>& states;
49  extern std::vector<RPG::Animation>& animations;
50  extern std::vector<RPG::Chipset>& chipsets;
51  extern std::vector<RPG::CommonEvent>& commonevents;
53  extern std::vector<RPG::Class>& classes;
54  extern std::vector<RPG::BattlerAnimation>& battleranimations;
55  extern RPG::Terms& terms;
56  extern RPG::System& system;
57  extern std::vector<RPG::Switch>& switches;
58  extern std::vector<RPG::Variable>& variables;
62  extern RPG::TreeMap treemap;
63 
67  void Clear();
68 }
69 
70 #endif
RPG::Database data
Definition: data.cpp:11
RPG::System & system
Definition: data.cpp:28
void Clear()
Definition: data.cpp:35
Definition: data.cpp:10
std::vector< RPG::Troop > & troops
Definition: data.cpp:17
std::vector< RPG::Terrain > & terrains
Definition: data.cpp:18
std::vector< RPG::Attribute > & attributes
Definition: data.cpp:19
std::vector< RPG::Item > & items
Definition: data.cpp:15
RPG::BattleCommands & battlecommands
Definition: data.cpp:24
std::vector< RPG::Class > & classes
Definition: data.cpp:25
std::vector< RPG::Skill > & skills
Definition: data.cpp:14
std::vector< RPG::BattlerAnimation > & battleranimations
Definition: data.cpp:26
std::vector< RPG::Enemy > & enemies
Definition: data.cpp:16
RPG::Terms & terms
Definition: data.cpp:27
std::vector< RPG::Variable > & variables
Definition: data.cpp:30
RPG::TreeMap treemap
Definition: data.cpp:32
std::vector< RPG::CommonEvent > & commonevents
Definition: data.cpp:23
std::vector< RPG::Switch > & switches
Definition: data.cpp:29
std::vector< RPG::Chipset > & chipsets
Definition: data.cpp:22
std::vector< RPG::Animation > & animations
Definition: data.cpp:21
std::vector< RPG::State > & states
Definition: data.cpp:20
std::vector< RPG::Actor > & actors
Definition: data.cpp:13