liblcf
RPG::SavePicture Class Reference

#include <rpg_savepicture.h>

+ Collaboration diagram for RPG::SavePicture:

Classes

struct  Flags
 

Public Types

enum  Effect {
  Effect_none = 0 ,
  Effect_rotation = 1 ,
  Effect_wave = 2
}
 
enum  MapLayer {
  MapLayer_none = 0 ,
  MapLayer_parallax = 1 ,
  MapLayer_tilemap_below = 2 ,
  MapLayer_events_below = 3 ,
  MapLayer_events_same_as_player = 4 ,
  MapLayer_tilemap_above = 5 ,
  MapLayer_events_above = 6 ,
  MapLayer_weather = 7 ,
  MapLayer_animations = 8 ,
  MapLayer_windows = 9 ,
  MapLayer_timers = 10
}
 
enum  BattleLayer {
  BattleLayer_none = 0 ,
  BattleLayer_background = 1 ,
  BattleLayer_battlers_and_animations = 2 ,
  BattleLayer_weather = 3 ,
  BattleLayer_windows_and_status = 4 ,
  BattleLayer_timers = 5
}
 

Public Attributes

int ID = 0
 
std::string name
 
double start_x = 0.0
 
double start_y = 0.0
 
double current_x = 0.0
 
double current_y = 0.0
 
bool fixed_to_map = false
 
double current_magnify = 100.0
 
double current_top_trans = 0.0
 
bool use_transparent_color = false
 
double current_red = 100.0
 
double current_green = 100.0
 
double current_blue = 100.0
 
double current_sat = 100.0
 
int32_t effect_mode = 0
 
double current_effect_power = 0.0
 
double current_bot_trans = 0.0
 
int32_t spritesheet_cols = 1
 
int32_t spritesheet_rows = 1
 
int32_t spritesheet_frame = 0
 
int32_t spritesheet_speed = 0
 
int32_t frames = 0
 
bool spritesheet_play_once = false
 
int32_t map_layer = 7
 
int32_t battle_layer = 0
 
struct RPG::SavePicture::Flags flags
 
double finish_x = 0.0
 
double finish_y = 0.0
 
int32_t finish_magnify = 100
 
int32_t finish_top_trans = 0
 
int32_t finish_bot_trans = 0
 
int32_t finish_red = 100
 
int32_t finish_green = 100
 
int32_t finish_blue = 100
 
int32_t finish_sat = 100
 
int32_t finish_effect_power = 0
 
int32_t time_left = 0
 
double current_rotation = 0.0
 
int32_t current_waver = 0
 

Static Public Attributes

static constexpr auto kEffectTags
 
static constexpr auto kMapLayerTags
 
static constexpr auto kBattleLayerTags
 

Detailed Description

Definition at line 25 of file rpg_savepicture.h.

Member Enumeration Documentation

◆ BattleLayer

Enumerator
BattleLayer_none 
BattleLayer_background 
BattleLayer_battlers_and_animations 
BattleLayer_weather 
BattleLayer_windows_and_status 
BattleLayer_timers 

Definition at line 63 of file rpg_savepicture.h.

◆ Effect

Enumerator
Effect_none 
Effect_rotation 
Effect_wave 

Definition at line 27 of file rpg_savepicture.h.

◆ MapLayer

Enumerator
MapLayer_none 
MapLayer_parallax 
MapLayer_tilemap_below 
MapLayer_events_below 
MapLayer_events_same_as_player 
MapLayer_tilemap_above 
MapLayer_events_above 
MapLayer_weather 
MapLayer_animations 
MapLayer_windows 
MapLayer_timers 

Definition at line 37 of file rpg_savepicture.h.

Member Data Documentation

◆ battle_layer

static TypedField< RPG::SavePicture, int32_t > static_battle_layer & RPG::SavePicture::battle_layer = 0

Definition at line 104 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_blue

static TypedField< RPG::SavePicture, double > static_current_blue & RPG::SavePicture::current_blue = 100.0

Definition at line 92 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_bot_trans

static TypedField< RPG::SavePicture, double > static_current_bot_trans & RPG::SavePicture::current_bot_trans = 0.0

Definition at line 96 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_effect_power

static TypedField< RPG::SavePicture, double > static_current_effect_power & RPG::SavePicture::current_effect_power = 0.0

Definition at line 95 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_green

static TypedField< RPG::SavePicture, double > static_current_green & RPG::SavePicture::current_green = 100.0

Definition at line 91 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_magnify

static TypedField< RPG::SavePicture, double > static_current_magnify & RPG::SavePicture::current_magnify = 100.0

Definition at line 87 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_red

static TypedField< RPG::SavePicture, double > static_current_red & RPG::SavePicture::current_red = 100.0

Definition at line 90 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_rotation

static TypedField< RPG::SavePicture, double > static_current_rotation & RPG::SavePicture::current_rotation = 0.0

Definition at line 133 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_sat

static TypedField< RPG::SavePicture, double > static_current_sat & RPG::SavePicture::current_sat = 100.0

Definition at line 93 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_top_trans

static TypedField< RPG::SavePicture, double > static_current_top_trans & RPG::SavePicture::current_top_trans = 0.0

Definition at line 88 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_waver

static TypedField< RPG::SavePicture, int32_t > static_current_waver & RPG::SavePicture::current_waver = 0

Definition at line 134 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_x

static TypedField< RPG::SavePicture, double > static_current_x & RPG::SavePicture::current_x = 0.0

Definition at line 84 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ current_y

static TypedField< RPG::SavePicture, double > static_current_y & RPG::SavePicture::current_y = 0.0

Definition at line 85 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ effect_mode

static TypedField< RPG::SavePicture, int32_t > static_effect_mode & RPG::SavePicture::effect_mode = 0

Definition at line 94 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_blue

static TypedField< RPG::SavePicture, int32_t > static_finish_blue & RPG::SavePicture::finish_blue = 100

Definition at line 129 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_bot_trans

static TypedField< RPG::SavePicture, int32_t > static_finish_bot_trans & RPG::SavePicture::finish_bot_trans = 0

Definition at line 126 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_effect_power

static TypedField< RPG::SavePicture, int32_t > static_finish_effect_power & RPG::SavePicture::finish_effect_power = 0

Definition at line 131 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_green

static TypedField< RPG::SavePicture, int32_t > static_finish_green & RPG::SavePicture::finish_green = 100

Definition at line 128 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_magnify

static TypedField< RPG::SavePicture, int32_t > static_finish_magnify & RPG::SavePicture::finish_magnify = 100

Definition at line 124 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_red

static TypedField< RPG::SavePicture, int32_t > static_finish_red & RPG::SavePicture::finish_red = 100

Definition at line 127 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_sat

static TypedField< RPG::SavePicture, int32_t > static_finish_sat & RPG::SavePicture::finish_sat = 100

Definition at line 130 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_top_trans

static TypedField< RPG::SavePicture, int32_t > static_finish_top_trans & RPG::SavePicture::finish_top_trans = 0

Definition at line 125 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_x

static TypedField< RPG::SavePicture, double > static_finish_x & RPG::SavePicture::finish_x = 0.0

Definition at line 122 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ finish_y

static TypedField< RPG::SavePicture, double > static_finish_y & RPG::SavePicture::finish_y = 0.0

Definition at line 123 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ fixed_to_map

static TypedField< RPG::SavePicture, bool > static_fixed_to_map & RPG::SavePicture::fixed_to_map = false

Definition at line 86 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ flags

static TypedField< RPG::SavePicture, RPG::SavePicture::Flags > static_flags & RPG::SavePicture::flags

Definition at line 189 of file lsd_savepicture.cpp.

Referenced by RPG::operator==().

◆ frames

static TypedField< RPG::SavePicture, int32_t > static_frames & RPG::SavePicture::frames = 0

Definition at line 101 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ ID

int RPG::SavePicture::ID = 0

Definition at line 80 of file rpg_savepicture.h.

◆ kBattleLayerTags

constexpr auto RPG::SavePicture::kBattleLayerTags
staticconstexpr
Initial value:
= makeEnumTags<BattleLayer>(
"none",
"background",
"battlers_and_animations",
"weather",
"windows_and_status",
"timers"
)

Definition at line 71 of file rpg_savepicture.h.

◆ kEffectTags

constexpr auto RPG::SavePicture::kEffectTags
staticconstexpr
Initial value:
= makeEnumTags<Effect>(
"none",
"rotation",
"wave"
)

Definition at line 32 of file rpg_savepicture.h.

◆ kMapLayerTags

constexpr auto RPG::SavePicture::kMapLayerTags
staticconstexpr
Initial value:
= makeEnumTags<MapLayer>(
"none",
"parallax",
"tilemap_below",
"events_below",
"events_same_as_player",
"tilemap_above",
"events_above",
"weather",
"animations",
"windows",
"timers"
)

Definition at line 50 of file rpg_savepicture.h.

◆ map_layer

static TypedField< RPG::SavePicture, int32_t > static_map_layer & RPG::SavePicture::map_layer = 7

Definition at line 103 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ name

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

Definition at line 81 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ spritesheet_cols

static TypedField< RPG::SavePicture, int32_t > static_spritesheet_cols & RPG::SavePicture::spritesheet_cols = 1

Definition at line 97 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ spritesheet_frame

static TypedField< RPG::SavePicture, int32_t > static_spritesheet_frame & RPG::SavePicture::spritesheet_frame = 0

Definition at line 99 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ spritesheet_play_once

static TypedField< RPG::SavePicture, bool > static_spritesheet_play_once & RPG::SavePicture::spritesheet_play_once = false

Definition at line 102 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ spritesheet_rows

static TypedField< RPG::SavePicture, int32_t > static_spritesheet_rows & RPG::SavePicture::spritesheet_rows = 1

Definition at line 98 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ spritesheet_speed

static TypedField< RPG::SavePicture, int32_t > static_spritesheet_speed & RPG::SavePicture::spritesheet_speed = 0

Definition at line 100 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ start_x

static TypedField< RPG::SavePicture, double > static_start_x & RPG::SavePicture::start_x = 0.0

Definition at line 82 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ start_y

static TypedField< RPG::SavePicture, double > static_start_y & RPG::SavePicture::start_y = 0.0

Definition at line 83 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ time_left

static TypedField< RPG::SavePicture, int32_t > static_time_left & RPG::SavePicture::time_left = 0

Definition at line 132 of file rpg_savepicture.h.

Referenced by RPG::operator==().

◆ use_transparent_color

static TypedField< RPG::SavePicture, bool > static_use_transparent_color & RPG::SavePicture::use_transparent_color = false

Definition at line 89 of file rpg_savepicture.h.

Referenced by RPG::operator==().


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