liblcf
RPG::Terrain Class Reference

#include <rpg_terrain.h>

+ Collaboration diagram for RPG::Terrain:

Classes

struct  Flags
 

Public Types

enum  BushDepth {
  BushDepth_normal = 0,
  BushDepth_third = 1,
  BushDepth_half = 2,
  BushDepth_full = 3
}
 
enum  BGAssociation {
  BGAssociation_background = 0,
  BGAssociation_frame = 1
}
 

Public Attributes

int ID = 0
 
std::string name
 
int32_t damage = 0
 
int32_t encounter_rate = 100
 
std::string background_name
 
bool boat_pass = false
 
bool ship_pass = false
 
bool airship_pass = true
 
bool airship_land = true
 
int32_t bush_depth = 0
 
Sound footstep
 
bool on_damage_se = false
 
int32_t background_type = 0
 
std::string background_a_name
 
bool background_a_scrollh = false
 
bool background_a_scrollv = false
 
int32_t background_a_scrollh_speed = 0
 
int32_t background_a_scrollv_speed = 0
 
bool background_b = false
 
std::string background_b_name
 
bool background_b_scrollh = false
 
bool background_b_scrollv = false
 
int32_t background_b_scrollh_speed = 0
 
int32_t background_b_scrollv_speed = 0
 
struct RPG::Terrain::Flags special_flags
 
int32_t special_back_party = 15
 
int32_t special_back_enemies = 10
 
int32_t special_lateral_party = 10
 
int32_t special_lateral_enemies = 5
 
int32_t grid_location = 0
 
int32_t grid_top_y = 120
 
int32_t grid_elongation = 392
 
int32_t grid_inclination = 16000
 

Static Public Attributes

static constexpr auto kBushDepthTags
 
static constexpr auto kBGAssociationTags
 

Detailed Description

Definition at line 26 of file rpg_terrain.h.

Member Enumeration Documentation

◆ BGAssociation

Enumerator
BGAssociation_background 
BGAssociation_frame 

Definition at line 40 of file rpg_terrain.h.

◆ BushDepth

Enumerator
BushDepth_normal 
BushDepth_third 
BushDepth_half 
BushDepth_full 

Definition at line 28 of file rpg_terrain.h.

Member Data Documentation

◆ airship_land

static TypedField< RPG::Terrain, bool > static_airship_land & RPG::Terrain::airship_land = true

Definition at line 57 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ airship_pass

static TypedField< RPG::Terrain, bool > static_airship_pass & RPG::Terrain::airship_pass = true

Definition at line 56 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_a_name

static TypedField< RPG::Terrain, std::string > static_background_a_name & RPG::Terrain::background_a_name

Definition at line 62 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_a_scrollh

static TypedField< RPG::Terrain, bool > static_background_a_scrollh & RPG::Terrain::background_a_scrollh = false

Definition at line 63 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_a_scrollh_speed

static TypedField< RPG::Terrain, int32_t > static_background_a_scrollh_speed & RPG::Terrain::background_a_scrollh_speed = 0

Definition at line 65 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_a_scrollv

static TypedField< RPG::Terrain, bool > static_background_a_scrollv & RPG::Terrain::background_a_scrollv = false

Definition at line 64 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_a_scrollv_speed

static TypedField< RPG::Terrain, int32_t > static_background_a_scrollv_speed & RPG::Terrain::background_a_scrollv_speed = 0

Definition at line 66 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b

static TypedField< RPG::Terrain, bool > static_background_b & RPG::Terrain::background_b = false

Definition at line 67 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b_name

static TypedField< RPG::Terrain, std::string > static_background_b_name & RPG::Terrain::background_b_name

Definition at line 68 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b_scrollh

static TypedField< RPG::Terrain, bool > static_background_b_scrollh & RPG::Terrain::background_b_scrollh = false

Definition at line 69 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b_scrollh_speed

static TypedField< RPG::Terrain, int32_t > static_background_b_scrollh_speed & RPG::Terrain::background_b_scrollh_speed = 0

Definition at line 71 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b_scrollv

static TypedField< RPG::Terrain, bool > static_background_b_scrollv & RPG::Terrain::background_b_scrollv = false

Definition at line 70 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_b_scrollv_speed

static TypedField< RPG::Terrain, int32_t > static_background_b_scrollv_speed & RPG::Terrain::background_b_scrollv_speed = 0

Definition at line 72 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_name

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

Definition at line 53 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ background_type

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

Definition at line 61 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ boat_pass

static TypedField< RPG::Terrain, bool > static_boat_pass & RPG::Terrain::boat_pass = false

Definition at line 54 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ bush_depth

static TypedField< RPG::Terrain, int32_t > static_bush_depth & RPG::Terrain::bush_depth = 0

Definition at line 58 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ damage

static TypedField< RPG::Terrain, int32_t > static_damage & RPG::Terrain::damage = 0

Definition at line 51 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ encounter_rate

static TypedField< RPG::Terrain, int32_t > static_encounter_rate & RPG::Terrain::encounter_rate = 100

Definition at line 52 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ footstep

static TypedField< RPG::Terrain, RPG::Sound > static_footstep & RPG::Terrain::footstep

Definition at line 59 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ grid_elongation

static TypedField< RPG::Terrain, int32_t > static_grid_elongation & RPG::Terrain::grid_elongation = 392

Definition at line 93 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ grid_inclination

static TypedField< RPG::Terrain, int32_t > static_grid_inclination & RPG::Terrain::grid_inclination = 16000

Definition at line 94 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ grid_location

static TypedField< RPG::Terrain, int32_t > static_grid_location & RPG::Terrain::grid_location = 0

Definition at line 91 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ grid_top_y

static TypedField< RPG::Terrain, int32_t > static_grid_top_y & RPG::Terrain::grid_top_y = 120

Definition at line 92 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ ID

int RPG::Terrain::ID = 0

Definition at line 49 of file rpg_terrain.h.

◆ kBGAssociationTags

constexpr auto RPG::Terrain::kBGAssociationTags
staticconstexpr
Initial value:
= makeEnumTags<BGAssociation>(
"background",
"frame"
)

Definition at line 44 of file rpg_terrain.h.

◆ kBushDepthTags

constexpr auto RPG::Terrain::kBushDepthTags
staticconstexpr
Initial value:
= makeEnumTags<BushDepth>(
"normal",
"third",
"half",
"full"
)

Definition at line 34 of file rpg_terrain.h.

◆ name

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

Definition at line 50 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ on_damage_se

static TypedField< RPG::Terrain, bool > static_on_damage_se & RPG::Terrain::on_damage_se = false

Definition at line 60 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ ship_pass

static TypedField< RPG::Terrain, bool > static_ship_pass & RPG::Terrain::ship_pass = false

Definition at line 55 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ special_back_enemies

static TypedField< RPG::Terrain, int32_t > static_special_back_enemies & RPG::Terrain::special_back_enemies = 10

Definition at line 88 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ special_back_party

static TypedField< RPG::Terrain, int32_t > static_special_back_party & RPG::Terrain::special_back_party = 15

Definition at line 87 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ special_flags

static TypedField< RPG::Terrain, RPG::Terrain::Flags > static_special_flags & RPG::Terrain::special_flags

Definition at line 182 of file ldb_terrain.cpp.

Referenced by RPG::operator==().

◆ special_lateral_enemies

static TypedField< RPG::Terrain, int32_t > static_special_lateral_enemies & RPG::Terrain::special_lateral_enemies = 5

Definition at line 90 of file rpg_terrain.h.

Referenced by RPG::operator==().

◆ special_lateral_party

static TypedField< RPG::Terrain, int32_t > static_special_lateral_party & RPG::Terrain::special_lateral_party = 10

Definition at line 89 of file rpg_terrain.h.

Referenced by RPG::operator==().


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