![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
An enemy formation. More...
#include <Formation.h>
Classes | |
struct | Camera |
Position for a camera. More... | |
struct | Enemy |
Each enemy in the formation. More... | |
Public Types | |
enum class | Layout { NORMAL = 0 , PREEMPTIVE , BACK_ATTACK , SIDE_ATTACK , PINCER_ATTACK , LOCKED } |
Battle layouts. More... | |
Public Member Functions | |
Formation () | |
Constructor. More... | |
Public Attributes | |
unsigned int | id |
Formation ID. More... | |
int | next_formation |
When all enemies are defeated, begin battle with this ID without ending battle scene. More... | |
float | escape_counter |
Difficulty to escape. More... | |
bool | escapable |
Indicates if the battle can be escaped. More... | |
bool | skip_victory_pose |
If true, the victory pose will be played after the battle. More... | |
bool | skip_spoils |
If true, spoils (item, ap, money...) will not be obtained after the battle. More... | |
bool | preemptive_disabled |
If false, this battle can never be preemtied. More... | |
Layout | layout |
Battle layout. More... | |
std::vector< Enemy > | enemies |
The enemies in the formation. More... | |
int | location |
Location ID. More... | |
std::string | location_name |
Location name. More... | |
std::vector< Camera > | camera_positions |
Camera positions. More... | |
int | initial_camera_position |
Index of the initial camera position. More... | |
bool | is_arena_battle |
Indicates if the formation is an arena battle. More... | |
std::vector< int > | next_arena_formation_candidates |
FOr arena battles, candidates fro the next formation. More... | |
An enemy formation.
|
strong |
Battle layouts.
|
inline |
Constructor.
Initializes to default values.
std::vector<Enemy> Formation::enemies |
The enemies in the formation.
bool Formation::escapable |
Indicates if the battle can be escaped.
float Formation::escape_counter |
Difficulty to escape.
unsigned int Formation::id |
Formation ID.
int Formation::initial_camera_position |
Index of the initial camera position.
bool Formation::is_arena_battle |
Indicates if the formation is an arena battle.
Layout Formation::layout |
Battle layout.
int Formation::location |
Location ID.
Must be set, except for formations referenced by other formation's {
std::string Formation::location_name |
Location name.
Never used, it's to have descriptive XML files.
std::vector<int> Formation::next_arena_formation_candidates |
FOr arena battles, candidates fro the next formation.
int Formation::next_formation |
When all enemies are defeated, begin battle with this ID without ending battle scene.
bool Formation::preemptive_disabled |
If false, this battle can never be preemtied.
bool Formation::skip_spoils |
If true, spoils (item, ap, money...) will not be obtained after the battle.
The spoil screens will not be displayed.
bool Formation::skip_victory_pose |
If true, the victory pose will be played after the battle.