Skip to Content
The Alchemy Project

struct BATTLE_PLAYBACK_QUEUE

The battle event queue: up to 64 events, each an opcode (enum BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play.

Declared in playback_queue.h.

Fields

NameDescription
Uint8opcodes [BATTLE_PLAYBACK_CAPACITY]
Uint32operands [BATTLE_PLAYBACK_CAPACITY]
Sint32targetIndexthe plan's next target to resolve
Sint32countevents queued

Description

The battle event queue: up to 64 events, each an opcode (enum BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play.

struct BATTLE_PLAYBACK_QUEUE

Referenced by btPlaybackPush() and btPlaybackRunAll().

Definition at line 32 of file playback_queue.h.

Fields in detail

opcodes

Uint8 opcodes[BATTLE_PLAYBACK_CAPACITY]

operands

Uint32 operands[BATTLE_PLAYBACK_CAPACITY]

targetIndex

Sint32 targetIndex

the plan's next target to resolve

count

Sint32 count

events queued