liblcf
RPG::SavePartyLocation Class Reference

#include <rpg_savepartylocation.h>

+ Inheritance diagram for RPG::SavePartyLocation:
+ Collaboration diagram for RPG::SavePartyLocation:

Public Types

enum  VehicleType {
  VehicleType_none = 0 ,
  VehicleType_skiff = 1 ,
  VehicleType_ship = 2 ,
  VehicleType_airship = 3
}
 
enum  PanState {
  PanState_fixed = 0 ,
  PanState_follow = 1
}
 

Public Attributes

bool boarding = false
 
bool aboard = false
 
int32_t vehicle = 0
 
bool unboarding = false
 
int32_t preboard_move_speed = 4
 
bool menu_calling = false
 
int32_t pan_state = 1
 
int32_t pan_current_x = kPanXDefault
 
int32_t pan_current_y = kPanYDefault
 
int32_t pan_finish_x = kPanXDefault
 
int32_t pan_finish_y = kPanYDefault
 
int32_t pan_speed = kPanSpeedDefault
 
int32_t encounter_steps = 0
 
bool encounter_calling = false
 
int32_t map_save_count = 0
 
int32_t database_save_count = 0
 
bool active = true
 
int32_t map_id = 0
 
int32_t position_x = 0
 
int32_t position_y = 0
 
int32_t direction = 2
 
int32_t sprite_direction = 2
 
int32_t anim_frame = 1
 
int32_t transparency = 0
 
int32_t remaining_step = 0
 
int32_t move_frequency = 2
 
int32_t layer = 1
 
bool overlap_forbidden = false
 
int32_t animation_type = 0
 
bool lock_facing = false
 
int32_t move_speed = 4
 
MoveRoute move_route
 
bool move_route_overwrite = false
 
int32_t move_route_index = 0
 
bool move_route_repeated = false
 
bool sprite_transparent = false
 
bool route_through = false
 
int32_t anim_paused = 0
 
bool through = false
 
int32_t stop_count = 0
 
int32_t anim_count = 0
 
int32_t max_stop_count = 0
 
bool jumping = false
 
int32_t begin_jump_x = 0
 
int32_t begin_jump_y = 0
 
bool pause = false
 
bool flying = false
 
std::string sprite_name
 
int32_t sprite_id = 0
 
bool processed = false
 
int32_t flash_red = -1
 
int32_t flash_green = -1
 
int32_t flash_blue = -1
 
double flash_current_level = 0.0
 
int32_t flash_time_left = 0
 

Static Public Attributes

static constexpr int kPanXDefault = 9 * 256
 
static constexpr int kPanYDefault = 7 * 256
 
static constexpr int kPanSpeedDefault = 2 << 3
 
static constexpr auto kVehicleTypeTags
 
static constexpr auto kPanStateTags
 

Detailed Description

Definition at line 24 of file rpg_savepartylocation.h.

Member Enumeration Documentation

◆ PanState

Enumerator
PanState_fixed 
PanState_follow 

Definition at line 45 of file rpg_savepartylocation.h.

◆ VehicleType

Enumerator
VehicleType_none 
VehicleType_skiff 
VehicleType_ship 
VehicleType_airship 

Definition at line 33 of file rpg_savepartylocation.h.

Member Data Documentation

◆ aboard

static TypedField< RPG::SavePartyLocation, bool > static_aboard & RPG::SavePartyLocation::aboard = false

Definition at line 55 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ active

static TypedField< RPG::SaveMapEventBase, bool > static_active & RPG::SaveMapEventBase::active = true
inherited

Definition at line 27 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ anim_count

static TypedField< RPG::SaveMapEventBase, int32_t > static_anim_count & RPG::SaveMapEventBase::anim_count = 0
inherited

Definition at line 51 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ anim_frame

static TypedField< RPG::SaveMapEventBase, int32_t > static_anim_frame & RPG::SaveMapEventBase::anim_frame = 1
inherited

Definition at line 33 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ anim_paused

static TypedField< RPG::SaveMapEventBase, int32_t > static_anim_paused & RPG::SaveMapEventBase::anim_paused = 0
inherited

Definition at line 48 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ animation_type

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

Definition at line 39 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ begin_jump_x

static TypedField< RPG::SaveMapEventBase, int32_t > static_begin_jump_x & RPG::SaveMapEventBase::begin_jump_x = 0
inherited

Definition at line 54 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ begin_jump_y

static TypedField< RPG::SaveMapEventBase, int32_t > static_begin_jump_y & RPG::SaveMapEventBase::begin_jump_y = 0
inherited

Definition at line 55 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ boarding

static TypedField< RPG::SavePartyLocation, bool > static_boarding & RPG::SavePartyLocation::boarding = false

Definition at line 54 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ database_save_count

static TypedField< RPG::SavePartyLocation, int32_t > static_database_save_count & RPG::SavePartyLocation::database_save_count = 0

Definition at line 69 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ direction

static TypedField< RPG::SaveMapEventBase, int32_t > static_direction & RPG::SaveMapEventBase::direction = 2
inherited

Definition at line 31 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ encounter_calling

static TypedField< RPG::SavePartyLocation, bool > static_encounter_calling & RPG::SavePartyLocation::encounter_calling = false

Definition at line 67 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ encounter_steps

static TypedField< RPG::SavePartyLocation, int32_t > static_encounter_steps & RPG::SavePartyLocation::encounter_steps = 0

Definition at line 66 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ flash_blue

static TypedField< RPG::SaveMapEventBase, int32_t > static_flash_blue & RPG::SaveMapEventBase::flash_blue = -1
inherited

Definition at line 63 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ flash_current_level

static TypedField< RPG::SaveMapEventBase, double > static_flash_current_level & RPG::SaveMapEventBase::flash_current_level = 0.0
inherited

Definition at line 64 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ flash_green

static TypedField< RPG::SaveMapEventBase, int32_t > static_flash_green & RPG::SaveMapEventBase::flash_green = -1
inherited

Definition at line 62 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ flash_red

static TypedField< RPG::SaveMapEventBase, int32_t > static_flash_red & RPG::SaveMapEventBase::flash_red = -1
inherited

Definition at line 61 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ flash_time_left

static TypedField< RPG::SaveMapEventBase, int32_t > static_flash_time_left & RPG::SaveMapEventBase::flash_time_left = 0
inherited

Definition at line 65 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ flying

static TypedField< RPG::SaveMapEventBase, bool > static_flying & RPG::SaveMapEventBase::flying = false
inherited

Definition at line 57 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ jumping

static TypedField< RPG::SaveMapEventBase, bool > static_jumping & RPG::SaveMapEventBase::jumping = false
inherited

Definition at line 53 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ kPanSpeedDefault

constexpr int RPG::SavePartyLocation::kPanSpeedDefault = 2 << 3
staticconstexpr

Definition at line 31 of file rpg_savepartylocation.h.

◆ kPanStateTags

constexpr auto RPG::SavePartyLocation::kPanStateTags
staticconstexpr
Initial value:
= makeEnumTags<PanState>(
"fixed",
"follow"
)

Definition at line 49 of file rpg_savepartylocation.h.

◆ kPanXDefault

constexpr int RPG::SavePartyLocation::kPanXDefault = 9 * 256
staticconstexpr

Definition at line 27 of file rpg_savepartylocation.h.

◆ kPanYDefault

constexpr int RPG::SavePartyLocation::kPanYDefault = 7 * 256
staticconstexpr

Definition at line 29 of file rpg_savepartylocation.h.

◆ kVehicleTypeTags

constexpr auto RPG::SavePartyLocation::kVehicleTypeTags
staticconstexpr
Initial value:
= makeEnumTags<VehicleType>(
"none",
"skiff",
"ship",
"airship"
)

Definition at line 39 of file rpg_savepartylocation.h.

◆ layer

static TypedField< RPG::SaveMapEventBase, int32_t > static_layer & RPG::SaveMapEventBase::layer = 1
inherited

Definition at line 37 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ lock_facing

static TypedField< RPG::SaveMapEventBase, bool > static_lock_facing & RPG::SaveMapEventBase::lock_facing = false
inherited

Definition at line 40 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ map_id

static TypedField< RPG::SaveMapEventBase, int32_t > static_map_id & RPG::SaveMapEventBase::map_id = 0
inherited

Definition at line 28 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ map_save_count

static TypedField< RPG::SavePartyLocation, int32_t > static_map_save_count & RPG::SavePartyLocation::map_save_count = 0

Definition at line 68 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ max_stop_count

static TypedField< RPG::SaveMapEventBase, int32_t > static_max_stop_count & RPG::SaveMapEventBase::max_stop_count = 0
inherited

Definition at line 52 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ menu_calling

static TypedField< RPG::SavePartyLocation, bool > static_menu_calling & RPG::SavePartyLocation::menu_calling = false

Definition at line 59 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ move_frequency

static TypedField< RPG::SaveMapEventBase, int32_t > static_move_frequency & RPG::SaveMapEventBase::move_frequency = 2
inherited

Definition at line 36 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ move_route

static TypedField< RPG::SaveMapEventBase, RPG::MoveRoute > static_move_route & RPG::SaveMapEventBase::move_route
inherited

Definition at line 42 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ move_route_index

static TypedField< RPG::SaveMapEventBase, int32_t > static_move_route_index & RPG::SaveMapEventBase::move_route_index = 0
inherited

Definition at line 44 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ move_route_overwrite

static TypedField< RPG::SaveMapEventBase, bool > static_move_route_overwrite & RPG::SaveMapEventBase::move_route_overwrite = false
inherited

Definition at line 43 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ move_route_repeated

static TypedField< RPG::SaveMapEventBase, bool > static_move_route_repeated & RPG::SaveMapEventBase::move_route_repeated = false
inherited

Definition at line 45 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ move_speed

static TypedField< RPG::SaveMapEventBase, int32_t > static_move_speed & RPG::SaveMapEventBase::move_speed = 4
inherited

Definition at line 41 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ overlap_forbidden

static TypedField< RPG::SaveMapEventBase, bool > static_overlap_forbidden & RPG::SaveMapEventBase::overlap_forbidden = false
inherited

Definition at line 38 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ pan_current_x

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_current_x & RPG::SavePartyLocation::pan_current_x = kPanXDefault

Definition at line 61 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pan_current_y

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_current_y & RPG::SavePartyLocation::pan_current_y = kPanYDefault

Definition at line 62 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pan_finish_x

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_finish_x & RPG::SavePartyLocation::pan_finish_x = kPanXDefault

Definition at line 63 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pan_finish_y

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_finish_y & RPG::SavePartyLocation::pan_finish_y = kPanYDefault

Definition at line 64 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pan_speed

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_speed & RPG::SavePartyLocation::pan_speed = kPanSpeedDefault

Definition at line 65 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pan_state

static TypedField< RPG::SavePartyLocation, int32_t > static_pan_state & RPG::SavePartyLocation::pan_state = 1

Definition at line 60 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ pause

static TypedField< RPG::SaveMapEventBase, bool > static_pause & RPG::SaveMapEventBase::pause = false
inherited

Definition at line 56 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ position_x

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

Definition at line 29 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ position_y

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

Definition at line 30 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ preboard_move_speed

static TypedField< RPG::SavePartyLocation, int32_t > static_preboard_move_speed & RPG::SavePartyLocation::preboard_move_speed = 4

Definition at line 58 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ processed

static TypedField< RPG::SaveMapEventBase, bool > static_processed & RPG::SaveMapEventBase::processed = false
inherited

Definition at line 60 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ remaining_step

static TypedField< RPG::SaveMapEventBase, int32_t > static_remaining_step & RPG::SaveMapEventBase::remaining_step = 0
inherited

Definition at line 35 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ route_through

static TypedField< RPG::SaveMapEventBase, bool > static_route_through & RPG::SaveMapEventBase::route_through = false
inherited

Definition at line 47 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ sprite_direction

static TypedField< RPG::SaveMapEventBase, int32_t > static_sprite_direction & RPG::SaveMapEventBase::sprite_direction = 2
inherited

Definition at line 32 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ sprite_id

static TypedField< RPG::SaveMapEventBase, int32_t > static_sprite_id & RPG::SaveMapEventBase::sprite_id = 0
inherited

Definition at line 59 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ sprite_name

static TypedField< RPG::SaveMapEventBase, std::string > static_sprite_name & RPG::SaveMapEventBase::sprite_name
inherited

Definition at line 58 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ sprite_transparent

static TypedField< RPG::SaveMapEventBase, bool > static_sprite_transparent & RPG::SaveMapEventBase::sprite_transparent = false
inherited

Definition at line 46 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ stop_count

static TypedField< RPG::SaveMapEventBase, int32_t > static_stop_count & RPG::SaveMapEventBase::stop_count = 0
inherited

Definition at line 50 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ through

static TypedField< RPG::SaveMapEventBase, bool > static_through & RPG::SaveMapEventBase::through = false
inherited

Definition at line 49 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ transparency

static TypedField< RPG::SaveMapEventBase, int32_t > static_transparency & RPG::SaveMapEventBase::transparency = 0
inherited

Definition at line 34 of file rpg_savemapeventbase.h.

Referenced by RPG::operator==().

◆ unboarding

static TypedField< RPG::SavePartyLocation, bool > static_unboarding & RPG::SavePartyLocation::unboarding = false

Definition at line 57 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().

◆ vehicle

static TypedField< RPG::SavePartyLocation, int32_t > static_vehicle & RPG::SavePartyLocation::vehicle = 0

Definition at line 56 of file rpg_savepartylocation.h.

Referenced by RPG::operator==().


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