liblcf
RPG::SaveMapInfo Class Reference

#include <rpg_savemapinfo.h>

+ Collaboration diagram for RPG::SaveMapInfo:

Public Member Functions

void Setup ()
 
void Setup (const RPG::Map &map)
 
void Fixup (const RPG::Map &map)
 
void Fixup (const RPG::MapInfo &map)
 
void UnFixup (const RPG::Map &map)
 
void UnFixup (const RPG::MapInfo &map)
 

Public Attributes

int32_t position_x = 0
 
int32_t position_y = 0
 
int32_t encounter_rate = -1
 
int32_t chipset_id = -1
 
std::vector< SaveMapEventevents
 
std::vector< uint8_t > lower_tiles
 
std::vector< uint8_t > upper_tiles
 
std::string parallax_name
 
bool parallax_horz = false
 
bool parallax_vert = false
 
bool parallax_horz_auto = false
 
int32_t parallax_horz_speed = 0
 
bool parallax_vert_auto = false
 
int32_t parallax_vert_speed = 0
 

Detailed Description

Definition at line 27 of file rpg_savemapinfo.h.

Member Function Documentation

◆ Fixup() [1/2]

void RPG::SaveMapInfo::Fixup ( const RPG::Map map)

Definition at line 225 of file rpg_fixup.cpp.

References RPG::Map::chipset_id, and FixInt().

+ Here is the call graph for this function:

◆ Fixup() [2/2]

void RPG::SaveMapInfo::Fixup ( const RPG::MapInfo map)

Definition at line 229 of file rpg_fixup.cpp.

References RPG::MapInfo::encounter_steps, and FixInt().

+ Here is the call graph for this function:

◆ Setup() [1/2]

void RPG::SaveMapInfo::Setup ( )

Definition at line 69 of file rpg_setup.cpp.

◆ Setup() [2/2]

◆ UnFixup() [1/2]

void RPG::SaveMapInfo::UnFixup ( const RPG::Map map)

Definition at line 233 of file rpg_fixup.cpp.

References RPG::Map::chipset_id, and UnFixInt().

+ Here is the call graph for this function:

◆ UnFixup() [2/2]

void RPG::SaveMapInfo::UnFixup ( const RPG::MapInfo map)

Definition at line 237 of file rpg_fixup.cpp.

References RPG::MapInfo::encounter_steps, and UnFixInt().

+ Here is the call graph for this function:

Member Data Documentation

◆ chipset_id

static TypedField< RPG::SaveMapInfo, int32_t > static_chipset_id & RPG::SaveMapInfo::chipset_id = -1

Definition at line 38 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ encounter_rate

static TypedField< RPG::SaveMapInfo, int32_t > static_encounter_rate & RPG::SaveMapInfo::encounter_rate = -1

Definition at line 37 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ events

static TypedField< RPG::SaveMapInfo, std::vector< RPG::SaveMapEvent > > static_events & RPG::SaveMapInfo::events

Definition at line 39 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ lower_tiles

static TypedField< RPG::SaveMapInfo, std::vector< uint8_t > > static_lower_tiles & RPG::SaveMapInfo::lower_tiles

Definition at line 40 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_horz

static TypedField< RPG::SaveMapInfo, bool > static_parallax_horz & RPG::SaveMapInfo::parallax_horz = false

Definition at line 43 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_horz_auto

static TypedField< RPG::SaveMapInfo, bool > static_parallax_horz_auto & RPG::SaveMapInfo::parallax_horz_auto = false

Definition at line 45 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_horz_speed

static TypedField< RPG::SaveMapInfo, int32_t > static_parallax_horz_speed & RPG::SaveMapInfo::parallax_horz_speed = 0

Definition at line 46 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_name

static TypedField< RPG::SaveMapInfo, std::string > static_parallax_name & RPG::SaveMapInfo::parallax_name

Definition at line 42 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_vert

static TypedField< RPG::SaveMapInfo, bool > static_parallax_vert & RPG::SaveMapInfo::parallax_vert = false

Definition at line 44 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_vert_auto

static TypedField< RPG::SaveMapInfo, bool > static_parallax_vert_auto & RPG::SaveMapInfo::parallax_vert_auto = false

Definition at line 47 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ parallax_vert_speed

static TypedField< RPG::SaveMapInfo, int32_t > static_parallax_vert_speed & RPG::SaveMapInfo::parallax_vert_speed = 0

Definition at line 48 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ position_x

static TypedField< RPG::SaveMapInfo, int32_t > static_position_x & RPG::SaveMapInfo::position_x = 0

Definition at line 35 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ position_y

static TypedField< RPG::SaveMapInfo, int32_t > static_position_y & RPG::SaveMapInfo::position_y = 0

Definition at line 36 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().

◆ upper_tiles

static TypedField< RPG::SaveMapInfo, std::vector< uint8_t > > static_upper_tiles & RPG::SaveMapInfo::upper_tiles

Definition at line 41 of file rpg_savemapinfo.h.

Referenced by RPG::operator==().


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