Skip to Content
The Alchemy Project

struct FLAME_HIT_STATE

The flame throwers' state: the hit counter, what a flame met, the flame throwers and the actors they stop at, and the fireball carrying the leader.

Declared in flame_throwers.h.

Fields

NameDescription
Sint32countscFlameThrowersAdvanceCounter's count.
Sint16activeSet once a flame or fireball has hit the leader.
Sint16blockedSet when a flame met a blocked slot's actor, and called back once for.
Sint16wasBlockedblocked as it was the tick before.
Uint16hitCueThe step cue raised when the leader is hit.
Uint16flameVramBlockThe kept flame's VRAM cache entry (scFlameThrowersCreate).
Sint16runsDuringPsynergyscFlameThrowersSetMode: the flames are not paused by Psynergy.
void (*onBlocked )(void)Called once a flame meets its stop.
FLAME_THROWERentries [4]
FLAME_STOPslots [4]
Uint8unusedAfterSlots [4]No code names it.
KNOCK_BACK_DIRECTIONdirection
struct ACTOR *carThe fireball carrying the hurt leader.
void *sharedFlameThe flame whose sprite the crumbs share (scFlameThrowersCreate).

Description

The flame throwers' state: the hit counter, what a flame met, the flame throwers and the actors they stop at, and the fireball carrying the leader.

struct FLAME_HIT_STATE

Referenced by KNOCK_BACK(), scActorRollAndCrumble(), scActorScatterCrumbs(), scFireballCarryLeader(), scFlameThrowerGetFlags(), scFlameThrowerIsActive(), scFlameThrowersAdvanceCounter(), scFlameThrowersCreate(), scFlameThrowerSet(), scFlameThrowerSetActive(), scFlameThrowersPuff(), scFlameThrowersRelease(), scFlameThrowersReleaseFlame(), scFlameThrowersSetStop(), scFlameThrowersStart(), scFlameUpdateForward(), scFlameUpdateSideways() and scMarsLighthouseEntranceRideFireball().

Definition at line 61 of file flame_throwers.h.

Fields in detail

count

Sint32 count

scFlameThrowersAdvanceCounter's count.

active

Sint16 active

Set once a flame or fireball has hit the leader.

blocked

Sint16 blocked

Set when a flame met a blocked slot's actor, and called back once for.

wasBlocked

Sint16 wasBlocked

blocked as it was the tick before.

hitCue

Uint16 hitCue

The step cue raised when the leader is hit.

flameVramBlock

Uint16 flameVramBlock

The kept flame's VRAM cache entry (scFlameThrowersCreate).

runsDuringPsynergy

Sint16 runsDuringPsynergy

scFlameThrowersSetMode: the flames are not paused by Psynergy.

onBlocked

void (*onBlocked)(void)

Called once a flame meets its stop.

entries

FLAME_THROWER entries[4]

slots

FLAME_STOP slots[4]

unusedAfterSlots

Uint8 unusedAfterSlots[4]

No code names it.

direction

KNOCK_BACK_DIRECTION direction

car

struct ACTOR *car

The fireball carrying the hurt leader.

sharedFlame

void *sharedFlame

The flame whose sprite the crumbs share (scFlameThrowersCreate).