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
| Name | Description | |
|---|---|---|
Sint16 | id | its actor; 0 for a free entry |
Sint16 | timer | ticks into its period |
Sint16 | height | pixels it has risen |
Sint16 | period | ticks in one rise and fall |
Sint16 | riseAt | the timer it starts to rise at |
Sint16 | fallAt | the timer it starts to fall at |
Sint16 | max | pixels it rises to |
Sint16 | min | pixels it falls to |
Sint16 | unreadSetToOne | set to 1 by scGeyserAdd and never read |
Sint16 | step | pixels a tick: 4 rising, -8 falling, 0 at rest |
Sint16 | unreadCleared | cleared by scGeyserAdd and never read |
Sint16 | phase | the platform's bob, 1/65536 turns |
ACTOR * | rider | the 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