include/battle_effect/stubs.h
The stub calls into the battle effect module, as the other modules' code calls them.
Included by battle_internal.h.
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunByIdRangeStub (struct BATTLE_PRESENTATION_STATE *state) | Runs a battle effect from the second range of kinds: the casting impacts, the plain attacks' beams and their critical hits. |
void | btEffectRunFromTableStub (struct BATTLE_PRESENTATION_STATE *state) | Runs an ordinary battle effect from BattleEffectHandlers, with the sprite sheet, state and canvas it lends. |
void | btEffectRunElementPillarStub (struct BATTLE_PRESENTATION_STATE *state) | A pillar of light in an element's colours stands at a unit's feet while motes spiral up around it. |
void | btEffectRunFormChangeStub (struct BATTLE_PRESENTATION_STATE *state, Sint32 formation) | The Doom Dragon's change of form once a form is beaten; formation says which (FORMATION_DOOM_DRAGON_A to C). |
void | btEffectRunElementBurstStub (struct BATTLE_PRESENTATION_STATE *state) | Sparks in an element's colours flare at four corners around a unit and motes spiral in, then a burst of light plays over it. |
void | btEffectStartElementStreaksStub (Sint32 element) | Starts the element streaks, which then draw by themselves while the battle runs on. |
void | btEffectEndElementStreaksStub (void) | Ends the element streaks: removes their events, clears their canvas in VRAM and frees what they took. |
Sint32 | btEffectLoadBlitterStub (Sint32 slot, Sint32 modeAndFlags) | Loads a blitter for a 128 by 128 canvas into a heap slot, the flags and the mode packed into one word: mode << 4 | flags. |
void | btEffectRunShatteringOpeningStub (struct BATTLE_PRESENTATION_STATE *state) | The Doom Dragon's opening: the screen shatters over the Serpent's stars. |
Description
The stub calls into the battle effect module, as the other modules' code calls them.
Functions in detail
btEffectRunByIdRangeStub
void btEffectRunByIdRangeStub(struct BATTLE_PRESENTATION_STATE *state)
Runs a battle effect from the second range of kinds: the casting impacts, the plain attacks' beams and their critical hits.
Referenced by btAutoBattleRunApproachAttack().
Definition at line 12 of file stubs.h.
btEffectRunFromTableStub
void btEffectRunFromTableStub(struct BATTLE_PRESENTATION_STATE *state)
Runs an ordinary battle effect from BattleEffectHandlers, with the sprite
sheet, state and canvas it lends.
Definition at line 15 of file stubs.h.
btEffectRunElementPillarStub
void btEffectRunElementPillarStub(struct BATTLE_PRESENTATION_STATE *state)
A pillar of light in an element's colours stands at a unit's feet while motes spiral up around it.
Referenced by btAutoBattleRunAttackOrItem() and btElementGlowPlay().
Definition at line 18 of file stubs.h.
btEffectRunFormChangeStub
void btEffectRunFormChangeStub(struct BATTLE_PRESENTATION_STATE *state, Sint32 formation)
The Doom Dragon's change of form once a form is beaten; formation says which
(FORMATION_DOOM_DRAGON_A to C).
Referenced by btPlayFormChange().
Definition at line 21 of file stubs.h.
btEffectRunElementBurstStub
void btEffectRunElementBurstStub(struct BATTLE_PRESENTATION_STATE *state)
Sparks in an element's colours flare at four corners around a unit and motes spiral in, then a burst of light plays over it.
Referenced by btElementGlowPlay().
Definition at line 25 of file stubs.h.
btEffectStartElementStreaksStub
void btEffectStartElementStreaksStub(Sint32 element)
Starts the element streaks, which then draw by themselves while the battle runs on.
Referenced by btElementGlowPlay().
Definition at line 28 of file stubs.h.
btEffectEndElementStreaksStub
void btEffectEndElementStreaksStub(void)
Ends the element streaks: removes their events, clears their canvas in VRAM
and frees what they took.
Referenced by btElementGlowPlay().
Definition at line 31 of file stubs.h.
btEffectLoadBlitterStub
Sint32 btEffectLoadBlitterStub(Sint32 slot, Sint32 modeAndFlags)
Loads a blitter for a 128 by 128 canvas into a heap slot, the flags and the mode packed into one word: mode << 4 | flags.
Referenced by btElementGlowInitStarField().
Definition at line 34 of file stubs.h.
btEffectRunShatteringOpeningStub
void btEffectRunShatteringOpeningStub(struct BATTLE_PRESENTATION_STATE *state)
The Doom Dragon's opening: the screen shatters over the Serpent's stars.
Referenced by btTransitionRun().
Definition at line 37 of file stubs.h.