liblcf
|
#include <rpg_mapinfo.h>
Public Types | |
enum | MusicType { MusicType_parent = 0, MusicType_event = 1, MusicType_specific = 2 } |
enum | BGMType { BGMType_parent = 0, BGMType_terrain = 1, BGMType_specific = 2 } |
enum | TriState { TriState_parent = 0, TriState_allow = 1, TriState_forbid = 2 } |
Public Member Functions | |
MapInfo () | |
void | Init () |
Public Attributes | |
int | ID |
std::string | name |
int | parent_map |
int | indentation |
int | type |
int | scrollbar_x |
int | scrollbar_y |
bool | expanded_node |
int | music_type |
Music | music |
int | background_type |
std::string | background_name |
int | teleport |
int | escape |
int | save |
std::vector< Encounter > | encounters |
int | encounter_steps |
Rect | area_rect |
Definition at line 23 of file rpg_mapinfo.h.
Enumerator | |
---|---|
BGMType_parent | |
BGMType_terrain | |
BGMType_specific |
Definition at line 30 of file rpg_mapinfo.h.
Enumerator | |
---|---|
MusicType_parent | |
MusicType_event | |
MusicType_specific |
Definition at line 25 of file rpg_mapinfo.h.
Enumerator | |
---|---|
TriState_parent | |
TriState_allow | |
TriState_forbid |
Definition at line 35 of file rpg_mapinfo.h.
RPG::MapInfo::MapInfo | ( | ) |
Constructor.
Definition at line 15 of file rpg_mapinfo.cpp.
References background_name, background_type, encounter_steps, escape, expanded_node, ID, indentation, Init(), music_type, name, parent_map, save, scrollbar_x, scrollbar_y, teleport, and type.
void RPG::MapInfo::Init | ( | ) |
Definition at line 181 of file rpg_setup.cpp.
Referenced by MapInfo().
Rect RPG::MapInfo::area_rect |
Definition at line 61 of file rpg_mapinfo.h.
std::string RPG::MapInfo::background_name |
Definition at line 55 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::background_type |
Definition at line 54 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::encounter_steps |
Definition at line 60 of file rpg_mapinfo.h.
Referenced by MapInfo(), and RPG::SaveMapInfo::Setup().
std::vector<Encounter> RPG::MapInfo::encounters |
Definition at line 59 of file rpg_mapinfo.h.
int RPG::MapInfo::escape |
Definition at line 57 of file rpg_mapinfo.h.
Referenced by MapInfo().
bool RPG::MapInfo::expanded_node |
Definition at line 51 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::ID |
Definition at line 44 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::indentation |
Definition at line 47 of file rpg_mapinfo.h.
Referenced by MapInfo().
Music RPG::MapInfo::music |
Definition at line 53 of file rpg_mapinfo.h.
int RPG::MapInfo::music_type |
Definition at line 52 of file rpg_mapinfo.h.
Referenced by MapInfo().
std::string RPG::MapInfo::name |
Definition at line 45 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::parent_map |
Definition at line 46 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::save |
Definition at line 58 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::scrollbar_x |
Definition at line 49 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::scrollbar_y |
Definition at line 50 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::teleport |
Definition at line 56 of file rpg_mapinfo.h.
Referenced by MapInfo().
int RPG::MapInfo::type |
Definition at line 48 of file rpg_mapinfo.h.
Referenced by MapInfo().