liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RPG::State Class Reference

#include <rpg_state.h>

+ Collaboration diagram for RPG::State:

Public Types

enum  Persistence {
  Persistence_ends = 0,
  Persistence_persists = 1
}
 
enum  Restriction {
  Restriction_normal = 0,
  Restriction_do_nothing = 1,
  Restriction_attack_enemy = 2,
  Restriction_attack_ally = 3
}
 
enum  AffectType {
  AffectType_half = 0,
  AffectType_double = 1,
  AffectType_nothing = 2
}
 
enum  ChangeType {
  ChangeType_lose = 0,
  ChangeType_gain = 1,
  ChangeType_nothing = 2
}
 

Public Member Functions

 State ()
 

Public Attributes

int ID
 
std::string name
 
int type
 
int color
 
int priority
 
int restriction
 
int a_rate
 
int b_rate
 
int c_rate
 
int d_rate
 
int e_rate
 
int hold_turn
 
int auto_release_prob
 
int release_by_damage
 
int affect_type
 
bool affect_attack
 
bool affect_defense
 
bool affect_spirit
 
bool affect_agility
 
int reduce_hit_ratio
 
bool avoid_attacks
 
bool reflect_magic
 
bool cursed
 
int battler_animation_id
 
bool restrict_skill
 
int restrict_skill_level
 
bool restrict_magic
 
int restrict_magic_level
 
int hp_change_type
 
int sp_change_type
 
std::string message_actor
 
std::string message_enemy
 
std::string message_already
 
std::string message_affected
 
std::string message_recovery
 
int hp_change_max
 
int hp_change_val
 
int hp_change_map_val
 
int hp_change_map_steps
 
int sp_change_max
 
int sp_change_val
 
int sp_change_map_val
 
int sp_change_map_steps
 

Detailed Description

Definition at line 19 of file rpg_state.h.

Member Enumeration Documentation

Enumerator
AffectType_half 
AffectType_double 
AffectType_nothing 

Definition at line 31 of file rpg_state.h.

Enumerator
ChangeType_lose 
ChangeType_gain 
ChangeType_nothing 

Definition at line 36 of file rpg_state.h.

Enumerator
Persistence_ends 
Persistence_persists 

Definition at line 21 of file rpg_state.h.

Enumerator
Restriction_normal 
Restriction_do_nothing 
Restriction_attack_enemy 
Restriction_attack_ally 

Definition at line 25 of file rpg_state.h.

Constructor & Destructor Documentation

Member Data Documentation

int RPG::State::a_rate

Definition at line 50 of file rpg_state.h.

Referenced by State().

bool RPG::State::affect_agility

Definition at line 62 of file rpg_state.h.

Referenced by State().

bool RPG::State::affect_attack

Definition at line 59 of file rpg_state.h.

Referenced by State().

bool RPG::State::affect_defense

Definition at line 60 of file rpg_state.h.

Referenced by State().

bool RPG::State::affect_spirit

Definition at line 61 of file rpg_state.h.

Referenced by State().

int RPG::State::affect_type

Definition at line 58 of file rpg_state.h.

Referenced by State().

int RPG::State::auto_release_prob

Definition at line 56 of file rpg_state.h.

Referenced by State().

bool RPG::State::avoid_attacks

Definition at line 64 of file rpg_state.h.

Referenced by State().

int RPG::State::b_rate

Definition at line 51 of file rpg_state.h.

Referenced by State().

int RPG::State::battler_animation_id

Definition at line 67 of file rpg_state.h.

Referenced by State().

int RPG::State::c_rate

Definition at line 52 of file rpg_state.h.

Referenced by State().

int RPG::State::color

Definition at line 47 of file rpg_state.h.

Referenced by State().

bool RPG::State::cursed

Definition at line 66 of file rpg_state.h.

Referenced by State().

int RPG::State::d_rate

Definition at line 53 of file rpg_state.h.

Referenced by State().

int RPG::State::e_rate

Definition at line 54 of file rpg_state.h.

Referenced by State().

int RPG::State::hold_turn

Definition at line 55 of file rpg_state.h.

Referenced by State().

int RPG::State::hp_change_map_steps

Definition at line 82 of file rpg_state.h.

Referenced by State().

int RPG::State::hp_change_map_val

Definition at line 81 of file rpg_state.h.

Referenced by State().

int RPG::State::hp_change_max

Definition at line 79 of file rpg_state.h.

Referenced by State().

int RPG::State::hp_change_type

Definition at line 72 of file rpg_state.h.

Referenced by State().

int RPG::State::hp_change_val

Definition at line 80 of file rpg_state.h.

Referenced by State().

int RPG::State::ID

Definition at line 44 of file rpg_state.h.

Referenced by State().

std::string RPG::State::message_actor

Definition at line 74 of file rpg_state.h.

Referenced by State().

std::string RPG::State::message_affected

Definition at line 77 of file rpg_state.h.

Referenced by State().

std::string RPG::State::message_already

Definition at line 76 of file rpg_state.h.

Referenced by State().

std::string RPG::State::message_enemy

Definition at line 75 of file rpg_state.h.

Referenced by State().

std::string RPG::State::message_recovery

Definition at line 78 of file rpg_state.h.

Referenced by State().

std::string RPG::State::name

Definition at line 45 of file rpg_state.h.

Referenced by State().

int RPG::State::priority

Definition at line 48 of file rpg_state.h.

Referenced by State().

int RPG::State::reduce_hit_ratio

Definition at line 63 of file rpg_state.h.

Referenced by State().

bool RPG::State::reflect_magic

Definition at line 65 of file rpg_state.h.

Referenced by State().

int RPG::State::release_by_damage

Definition at line 57 of file rpg_state.h.

Referenced by State().

bool RPG::State::restrict_magic

Definition at line 70 of file rpg_state.h.

Referenced by State().

int RPG::State::restrict_magic_level

Definition at line 71 of file rpg_state.h.

Referenced by State().

bool RPG::State::restrict_skill

Definition at line 68 of file rpg_state.h.

Referenced by State().

int RPG::State::restrict_skill_level

Definition at line 69 of file rpg_state.h.

Referenced by State().

int RPG::State::restriction

Definition at line 49 of file rpg_state.h.

Referenced by State().

int RPG::State::sp_change_map_steps

Definition at line 86 of file rpg_state.h.

Referenced by State().

int RPG::State::sp_change_map_val

Definition at line 85 of file rpg_state.h.

Referenced by State().

int RPG::State::sp_change_max

Definition at line 83 of file rpg_state.h.

Referenced by State().

int RPG::State::sp_change_type

Definition at line 73 of file rpg_state.h.

Referenced by State().

int RPG::State::sp_change_val

Definition at line 84 of file rpg_state.h.

Referenced by State().

int RPG::State::type

Definition at line 46 of file rpg_state.h.

Referenced by State().


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