Skip to Content
The Alchemy Project

struct BLEND_SCRIPT_STATE

The map's running blend script, which sets the blend registers over time (fdBlendScriptRun, each tick from fdBlendScriptStart).

Declared in map_grid.h.

Fields

NameDescription
Uint16 *scriptwhere 0xffff loops back to; null for none
Uint16 *cursorthe next command
Uint16delayticks left before the next command
Uint16pausednonzero holds the script where it is

Description

The map's running blend script, which sets the blend registers over time (fdBlendScriptRun, each tick from fdBlendScriptStart).

struct BLEND_SCRIPT_STATE

Referenced by fdBlendScriptRun() and fdBlendScriptStart().

Definition at line 79 of file map_grid.h.

Fields in detail

script

Uint16 *script

where 0xffff loops back to; null for none

cursor

Uint16 *cursor

the next command

delay

Uint16 delay

ticks left before the next command

paused

Uint16 paused

nonzero holds the script where it is