liblcf
RPG::Chipset Class Reference

#include <rpg_chipset.h>

+ Collaboration diagram for RPG::Chipset:

Public Types

enum  AnimType {
  AnimType_reciprocating = 0 ,
  AnimType_cyclic = 1
}
 

Public Member Functions

 Chipset ()
 
void Init ()
 

Public Attributes

int ID = 0
 
std::string name
 
std::string chipset_name
 
std::vector< int16_t > terrain_data
 
std::vector< uint8_t > passable_data_lower
 
std::vector< uint8_t > passable_data_upper
 
int32_t animation_type = 0
 
int32_t animation_speed = 0
 

Static Public Attributes

static constexpr auto kAnimTypeTags
 

Detailed Description

Definition at line 25 of file rpg_chipset.h.

Member Enumeration Documentation

◆ AnimType

Enumerator
AnimType_reciprocating 
AnimType_cyclic 

Definition at line 27 of file rpg_chipset.h.

Constructor & Destructor Documentation

◆ Chipset()

RPG::Chipset::Chipset ( )

Constructor.

Definition at line 18 of file rpg_chipset.cpp.

References Init().

+ Here is the call graph for this function:

Member Function Documentation

◆ Init()

void RPG::Chipset::Init ( )

Definition at line 174 of file rpg_setup.cpp.

Referenced by Chipset().

+ Here is the caller graph for this function:

Member Data Documentation

◆ animation_speed

static TypedField< RPG::Chipset, int32_t > static_animation_speed & RPG::Chipset::animation_speed = 0

Definition at line 45 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ animation_type

static TypedField< RPG::Chipset, int32_t > static_animation_type & RPG::Chipset::animation_type = 0

Definition at line 44 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ chipset_name

static TypedField< RPG::Chipset, std::string > static_chipset_name & RPG::Chipset::chipset_name

Definition at line 40 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ ID

int RPG::Chipset::ID = 0

Definition at line 38 of file rpg_chipset.h.

◆ kAnimTypeTags

constexpr auto RPG::Chipset::kAnimTypeTags
staticconstexpr
Initial value:
= makeEnumTags<AnimType>(
"reciprocating",
"cyclic"
)

Definition at line 31 of file rpg_chipset.h.

◆ name

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

Definition at line 39 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ passable_data_lower

static TypedField< RPG::Chipset, std::vector< uint8_t > > static_passable_data_lower & RPG::Chipset::passable_data_lower

Definition at line 42 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ passable_data_upper

static TypedField< RPG::Chipset, std::vector< uint8_t > > static_passable_data_upper & RPG::Chipset::passable_data_upper

Definition at line 43 of file rpg_chipset.h.

Referenced by RPG::operator==().

◆ terrain_data

static TypedField< RPG::Chipset, std::vector< int16_t > > static_terrain_data & RPG::Chipset::terrain_data

Definition at line 41 of file rpg_chipset.h.

Referenced by RPG::operator==().


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