Skip to Content
The Alchemy Project

struct FLAME_THROWER

One of the state's four flame throwers.

Declared in flame_throwers.h.

Fields

NameDescription
Sint16active
Sint16timerticks to the next puff, 8 after each
Sint16flagshigh nibble: FLAME_THROWER_FLAGS (the flame it sends); low: reach
Sint16offScreenpuffs off screen and keeps the flames' sprites
struct ACTOR *actor
FIXEDreach16.16, the low nibble of flags << 16

Description

One of the state's four flame throwers.

struct FLAME_THROWER

Referenced by scFlameThrowerSet(), scFlameThrowersPuff() and scFlameThrowersStart().

Definition at line 32 of file flame_throwers.h.

Fields in detail

active

Sint16 active

timer

Sint16 timer

ticks to the next puff, 8 after each

flags

Sint16 flags

high nibble: FLAME_THROWER_FLAGS (the flame it sends); low: reach

offScreen

Sint16 offScreen

puffs off screen and keeps the flames' sprites

actor

struct ACTOR *actor

reach

FIXED reach

16.16, the low nibble of flags << 16