Skip to Content
The Alchemy Project

struct GEYSER

The geyser Scoop digs up: it rises and falls on its timer, carrying the platform at its top, as Yampi Desert's geyser does.

Declared in gondowan_cliffs.c.

Fields

NameDescription
Sint16idits actor; 0 for a free entry
Sint16timerticks into its period
Sint16heightpixels it has risen
Sint16periodticks in one rise and fall
Sint16riseAtthe timer it starts to rise at
Sint16fallAtthe timer it starts to fall at
Sint16maxpixels it rises to
Sint16minpixels it falls to
Sint16unreadSetToOneset to 1 by scGeyserAdd and never read
Sint16steppixels a tick: 4 rising, -8 falling, 0 at rest
Sint16unreadClearedcleared by scGeyserAdd and never read
Sint16phasethe platform's bob, 1/65536 turns
ACTOR *riderthe platform at its top, which the leader rides

Description

The geyser Scoop digs up: it rises and falls on its timer, carrying the platform at its top, as Yampi Desert's geyser does.

struct GEYSER

Referenced by btGeyserDraw(), scGeyserAdd() and scGeyserUpdate().

Definition at line 169 of file gondowan_cliffs.c.

Fields in detail

id

Sint16 id

its actor; 0 for a free entry

timer

Sint16 timer

ticks into its period

height

Sint16 height

pixels it has risen

period

Sint16 period

ticks in one rise and fall

riseAt

Sint16 riseAt

the timer it starts to rise at

fallAt

Sint16 fallAt

the timer it starts to fall at

max

Sint16 max

pixels it rises to

min

Sint16 min

pixels it falls to

unreadSetToOne

Sint16 unreadSetToOne

set to 1 by scGeyserAdd and never read

step

Sint16 step

pixels a tick: 4 rising, -8 falling, 0 at rest

unreadCleared

Sint16 unreadCleared

cleared by scGeyserAdd and never read

phase

Sint16 phase

the platform's bob, 1/65536 turns

rider

ACTOR *rider

the platform at its top, which the leader rides