include/battle
Guide: Battle Engine
Files
| File | Description |
|---|---|
ability_staging.h | How each ability is staged in battle: the staging and effect tables (ability_staging.c) and the values of BATTLE_ACTION_RUN.staging and battleEffect. |
battle.h | The battle module's functions and globals, as the other modules see them: its tables, types and constants, then its functions, grouped by the part of battle.c that holds them. |
battle_action.h | A battle's battle objects and sprites, each unit's command and action, and the spoils. |
battle_action_run.h | BATTLE_ACTION_RUN, an action planned for its targets: the hits, criticals and multipliers rolled. |
battle_actor.h | BATTLE_ACTOR, the view of ACTOR one battle function gives a unit its sprites through. |
battle_camera.h | The battle camera, its view state and the battle background's affine state, and the stack state an action's staging keeps for its battle effect. |
battle_effect_params.h | BATTLE_EFFECT_PARM, the command an effect's caller, dispatcher and handlers share, and the macros that define effect kinds. |
battle_effect_state.h | BATTLE_EFFECT_STATE, the running battle effect's state, and its sprites. |
battle_random.h | BattleRandomSeed, the battle's random seed. |
battle_side.h | Which units are in a battle, and the Djinn recovery list. |
battle_sprites.h | Summons and the battle sprite definitions of the enemies. |
battle_state.h | BATTLE_STATE, the battle's own state, and the battle message window's state. |
battle_unit.h | Unit, a party member's or enemy's battle state, with the elements, abilities and actions it uses. |
blitter.h | How battle effects draw a picture onto their canvas: the blitter btEffectBuildBlitter builds, the edges it clips at, how it mirrors and how its pixels combine with the canvas's. |
debug_parameter_set.h | The debug parameter sets. |
first_strike.h | Who strikes first as a battle opens. |
formations.h | The enemy formations. |
playback_queue.h | The playback queue: the commands btPlaybackPush queues and the playback phases that play them. |
range_falloff.h | The battle calculation tables: hit chances, HP and PP damage and recovery. |
stubs.h | The battle module's stub calls: running a battle, its camera and background, and how its units move. |
weapon_kind.h | The kinds of weapon a party member's attack shows, and how BattleUnitWeaponKinds packs one with its item. |