liblcf
RPG::EventPage Class Reference

#include <rpg_eventpage.h>

+ Collaboration diagram for RPG::EventPage:

Public Types

enum  Direction {
  Direction_up = 0,
  Direction_right = 1,
  Direction_down = 2,
  Direction_left = 3
}
 
enum  Frame {
  Frame_left = 0,
  Frame_middle = 1,
  Frame_right = 2,
  Frame_middle2 = 3
}
 
enum  MoveType {
  MoveType_stationary = 0,
  MoveType_random = 1,
  MoveType_vertical = 2,
  MoveType_horizontal = 3,
  MoveType_toward = 4,
  MoveType_away = 5,
  MoveType_custom = 6
}
 
enum  Trigger {
  Trigger_action = 0,
  Trigger_touched = 1,
  Trigger_collision = 2,
  Trigger_auto_start = 3,
  Trigger_parallel = 4
}
 
enum  Layers {
  Layers_below = 0,
  Layers_same = 1,
  Layers_above = 2
}
 
enum  AnimType {
  AnimType_non_continuous = 0,
  AnimType_continuous = 1,
  AnimType_fixed_non_continuous = 2,
  AnimType_fixed_continuous = 3,
  AnimType_fixed_graphic = 4,
  AnimType_spin = 5,
  AnimType_step_frame_fix = 6
}
 
enum  MoveSpeed {
  MoveSpeed_eighth = 1,
  MoveSpeed_quarter = 2,
  MoveSpeed_half = 3,
  MoveSpeed_normal = 4,
  MoveSpeed_double = 5,
  MoveSpeed_fourfold = 6
}
 

Public Attributes

int ID = 0
 
EventPageCondition condition
 
std::string character_name
 
int32_t character_index = 0
 
int32_t character_direction = 2
 
int32_t character_pattern = 1
 
bool translucent = false
 
int32_t move_type = 1
 
int32_t move_frequency = 3
 
int32_t trigger = 0
 
int32_t layer = 0
 
bool overlap_forbidden = false
 
int32_t animation_type = 0
 
int32_t move_speed = 3
 
MoveRoute move_route
 
std::vector< EventCommandevent_commands
 

Static Public Attributes

static constexpr auto kDirectionTags
 
static constexpr auto kFrameTags
 
static constexpr auto kMoveTypeTags
 
static constexpr auto kTriggerTags
 
static constexpr auto kLayersTags
 
static constexpr auto kAnimTypeTags
 

Detailed Description

Definition at line 28 of file rpg_eventpage.h.

Member Enumeration Documentation

◆ AnimType

Enumerator
AnimType_non_continuous 
AnimType_continuous 
AnimType_fixed_non_continuous 
AnimType_fixed_continuous 
AnimType_fixed_graphic 
AnimType_spin 
AnimType_step_frame_fix 

Definition at line 96 of file rpg_eventpage.h.

◆ Direction

Enumerator
Direction_up 
Direction_right 
Direction_down 
Direction_left 

Definition at line 30 of file rpg_eventpage.h.

◆ Frame

Enumerator
Frame_left 
Frame_middle 
Frame_right 
Frame_middle2 

Definition at line 42 of file rpg_eventpage.h.

◆ Layers

Enumerator
Layers_below 
Layers_same 
Layers_above 

Definition at line 86 of file rpg_eventpage.h.

◆ MoveSpeed

Enumerator
MoveSpeed_eighth 
MoveSpeed_quarter 
MoveSpeed_half 
MoveSpeed_normal 
MoveSpeed_double 
MoveSpeed_fourfold 

Definition at line 114 of file rpg_eventpage.h.

◆ MoveType

Enumerator
MoveType_stationary 
MoveType_random 
MoveType_vertical 
MoveType_horizontal 
MoveType_toward 
MoveType_away 
MoveType_custom 

Definition at line 54 of file rpg_eventpage.h.

◆ Trigger

Enumerator
Trigger_action 
Trigger_touched 
Trigger_collision 
Trigger_auto_start 
Trigger_parallel 

Definition at line 72 of file rpg_eventpage.h.

Member Data Documentation

◆ animation_type

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

Definition at line 135 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ character_direction

static TypedField< RPG::EventPage, int32_t > static_character_direction & RPG::EventPage::character_direction = 2

Definition at line 127 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ character_index

static TypedField< RPG::EventPage, int32_t > static_character_index & RPG::EventPage::character_index = 0

Definition at line 126 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ character_name

static TypedField< RPG::EventPage, std::string > static_character_name & RPG::EventPage::character_name

Definition at line 125 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ character_pattern

static TypedField< RPG::EventPage, int32_t > static_character_pattern & RPG::EventPage::character_pattern = 1

Definition at line 128 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ condition

static TypedField< RPG::EventPage, RPG::EventPageCondition > static_condition & RPG::EventPage::condition

Definition at line 124 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ event_commands

static TypedField< RPG::EventPage, std::vector< RPG::EventCommand > > static_event_commands & RPG::EventPage::event_commands

Definition at line 138 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ ID

int RPG::EventPage::ID = 0

Definition at line 123 of file rpg_eventpage.h.

◆ kAnimTypeTags

constexpr auto RPG::EventPage::kAnimTypeTags
static
Initial value:
= makeEnumTags<AnimType>(
"non_continuous",
"continuous",
"fixed_non_continuous",
"fixed_continuous",
"fixed_graphic",
"spin",
"step_frame_fix"
)

Definition at line 105 of file rpg_eventpage.h.

◆ kDirectionTags

constexpr auto RPG::EventPage::kDirectionTags
static
Initial value:
= makeEnumTags<Direction>(
"up",
"right",
"down",
"left"
)

Definition at line 36 of file rpg_eventpage.h.

◆ kFrameTags

constexpr auto RPG::EventPage::kFrameTags
static
Initial value:
= makeEnumTags<Frame>(
"left",
"middle",
"right",
"middle2"
)

Definition at line 48 of file rpg_eventpage.h.

◆ kLayersTags

constexpr auto RPG::EventPage::kLayersTags
static
Initial value:
= makeEnumTags<Layers>(
"below",
"same",
"above"
)

Definition at line 91 of file rpg_eventpage.h.

◆ kMoveTypeTags

constexpr auto RPG::EventPage::kMoveTypeTags
static
Initial value:
= makeEnumTags<MoveType>(
"stationary",
"random",
"vertical",
"horizontal",
"toward",
"away",
"custom"
)

Definition at line 63 of file rpg_eventpage.h.

◆ kTriggerTags

constexpr auto RPG::EventPage::kTriggerTags
static
Initial value:
= makeEnumTags<Trigger>(
"action",
"touched",
"collision",
"auto_start",
"parallel"
)

Definition at line 79 of file rpg_eventpage.h.

◆ layer

static TypedField< RPG::EventPage, int32_t > static_layer & RPG::EventPage::layer = 0

Definition at line 133 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ move_frequency

static TypedField< RPG::EventPage, int32_t > static_move_frequency & RPG::EventPage::move_frequency = 3

Definition at line 131 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ move_route

static TypedField< RPG::EventPage, RPG::MoveRoute > static_move_route & RPG::EventPage::move_route

Definition at line 137 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ move_speed

static TypedField< RPG::EventPage, int32_t > static_move_speed & RPG::EventPage::move_speed = 3

Definition at line 136 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ move_type

static TypedField< RPG::EventPage, int32_t > static_move_type & RPG::EventPage::move_type = 1

Definition at line 130 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ overlap_forbidden

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

Definition at line 134 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ translucent

static TypedField< RPG::EventPage, bool > static_translucent & RPG::EventPage::translucent = false

Definition at line 129 of file rpg_eventpage.h.

Referenced by RPG::operator==().

◆ trigger

static TypedField< RPG::EventPage, int32_t > static_trigger & RPG::EventPage::trigger = 0

Definition at line 132 of file rpg_eventpage.h.

Referenced by RPG::operator==().


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