struct BATTLE_PLAYBACK_STATE
The playback queue and the state of its playback: the phase, the entry playing and the advance arrow.
Declared in battle_state.h.
Fields
| Name | Description | |
|---|---|---|
BATTLE_PLAYBACK_QUEUE | queue | the action's playback, in play order |
Sint32 | phase | BATTLE_PLAYBACK_PHASE, or a message phase |
Sint32 | eventIndex | the next queued entry to play |
Sint32 | timer | ticks to wait, or ticks waited for the advance key |
ADVANCE_ARROW_SPR | arrow | the advance arrow |
Sint32 | arrowResource | the arrow's resource entry; -1 until it is shown |
Sint32 | unitId | the unit of the hit or defeat being played |
Sint32 | pendingSound | hit sound (an SE_ id), played on the next hit |
Sint32 | djinnBonus | PLAYBACK_FLAG_DJINN_BONUS: for enemies felled in action |
Description
The playback queue and the state of its playback: the phase, the entry playing and the advance arrow.
struct BATTLE_PLAYBACK_STATE
Referenced by btPlaybackGrantDjinnBonus(), btPlaybackReset(), btPlaybackRun(), btPlaybackRunAll(), btPlaybackSchedulePhase(), btPlaybackStart() and btPlaybackWaitForReady().
Definition at line 73 of file battle_state.h.
Fields in detail
queue
BATTLE_PLAYBACK_QUEUE queue
the action's playback, in play order
phase
Sint32 phase
BATTLE_PLAYBACK_PHASE, or a message
phase
eventIndex
Sint32 eventIndex
the next queued entry to play
timer
Sint32 timer
ticks to wait, or ticks waited for the advance key
arrow
ADVANCE_ARROW_SPR arrow
the advance arrow
arrowResource
Sint32 arrowResource
the arrow's resource entry; -1 until it is shown
unitId
Sint32 unitId
the unit of the hit or defeat being played
pendingSound
Sint32 pendingSound
hit sound (an SE_ id), played on the next hit
djinnBonus
Sint32 djinnBonus
PLAYBACK_FLAG_DJINN_BONUS: for
enemies felled in action