liblcf
RPG::MapInfo Class Reference

#include <rpg_mapinfo.h>

+ Collaboration diagram for RPG::MapInfo:

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 Attributes

int ID = 0
 
std::string name
 
int32_t parent_map = 0
 
int32_t indentation = 0
 
int32_t type = -1
 
int32_t scrollbar_x = 0
 
int32_t scrollbar_y = 0
 
bool expanded_node = false
 
int32_t music_type = 0
 
Music music
 
int32_t background_type = 0
 
std::string background_name
 
int32_t teleport = 0
 
int32_t escape = 0
 
int32_t save = 0
 
std::vector< Encounterencounters
 
int32_t encounter_steps = 25
 
Rect area_rect
 

Static Public Attributes

static constexpr auto kMusicTypeTags
 
static constexpr auto kBGMTypeTags
 
static constexpr auto kTriStateTags
 

Detailed Description

Definition at line 28 of file rpg_mapinfo.h.

Member Enumeration Documentation

◆ BGMType

Enumerator
BGMType_parent 
BGMType_terrain 
BGMType_specific 

Definition at line 40 of file rpg_mapinfo.h.

◆ MusicType

Enumerator
MusicType_parent 
MusicType_event 
MusicType_specific 

Definition at line 30 of file rpg_mapinfo.h.

◆ TriState

Enumerator
TriState_parent 
TriState_allow 
TriState_forbid 

Definition at line 50 of file rpg_mapinfo.h.

Member Data Documentation

◆ area_rect

static TypedField< RPG::MapInfo, RPG::Rect > static_area_rect & RPG::MapInfo::area_rect

Definition at line 78 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ background_name

static TypedField< RPG::MapInfo, std::string > static_background_name & RPG::MapInfo::background_name

Definition at line 72 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ background_type

static TypedField< RPG::MapInfo, int32_t > static_background_type & RPG::MapInfo::background_type = 0

Definition at line 71 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ encounter_steps

static TypedField< RPG::MapInfo, int32_t > static_encounter_steps & RPG::MapInfo::encounter_steps = 25

◆ encounters

static TypedField< RPG::MapInfo, std::vector< RPG::Encounter > > static_encounters & RPG::MapInfo::encounters

Definition at line 76 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ escape

static TypedField< RPG::MapInfo, int32_t > static_escape & RPG::MapInfo::escape = 0

Definition at line 74 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ expanded_node

static TypedField< RPG::MapInfo, bool > static_expanded_node & RPG::MapInfo::expanded_node = false

Definition at line 68 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ ID

int RPG::MapInfo::ID = 0

Definition at line 61 of file rpg_mapinfo.h.

◆ indentation

static TypedField< RPG::MapInfo, int32_t > static_indentation & RPG::MapInfo::indentation = 0

Definition at line 64 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ kBGMTypeTags

constexpr auto RPG::MapInfo::kBGMTypeTags
staticconstexpr
Initial value:
= makeEnumTags<BGMType>(
"parent",
"terrain",
"specific"
)

Definition at line 45 of file rpg_mapinfo.h.

◆ kMusicTypeTags

constexpr auto RPG::MapInfo::kMusicTypeTags
staticconstexpr
Initial value:
= makeEnumTags<MusicType>(
"parent",
"event",
"specific"
)

Definition at line 35 of file rpg_mapinfo.h.

◆ kTriStateTags

constexpr auto RPG::MapInfo::kTriStateTags
staticconstexpr
Initial value:
= makeEnumTags<TriState>(
"parent",
"allow",
"forbid"
)

Definition at line 55 of file rpg_mapinfo.h.

◆ music

static TypedField< RPG::MapInfo, RPG::Music > static_music & RPG::MapInfo::music

Definition at line 70 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ music_type

static TypedField< RPG::MapInfo, int32_t > static_music_type & RPG::MapInfo::music_type = 0

Definition at line 69 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ name

static TypedField< RPG::MapInfo, std::string > static_name & RPG::MapInfo::name

Definition at line 62 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ parent_map

static TypedField< RPG::MapInfo, int32_t > static_parent_map & RPG::MapInfo::parent_map = 0

Definition at line 63 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ save

static TypedField< RPG::MapInfo, int32_t > static_save & RPG::MapInfo::save = 0

Definition at line 75 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ scrollbar_x

static TypedField< RPG::MapInfo, int32_t > static_scrollbar_x & RPG::MapInfo::scrollbar_x = 0

Definition at line 66 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ scrollbar_y

static TypedField< RPG::MapInfo, int32_t > static_scrollbar_y & RPG::MapInfo::scrollbar_y = 0

Definition at line 67 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ teleport

static TypedField< RPG::MapInfo, int32_t > static_teleport & RPG::MapInfo::teleport = 0

Definition at line 73 of file rpg_mapinfo.h.

Referenced by RPG::operator==().

◆ type

static TypedField< RPG::MapInfo, int32_t > static_type & RPG::MapInfo::type = -1

Definition at line 65 of file rpg_mapinfo.h.

Referenced by RPG::operator==().


The documentation for this class was generated from the following files: