Skip to Content
The Alchemy Project

struct AQUA_ROCK_STREAM

One of the streams the moai pour, which stops and starts with its flag: each change runs down it as a wave, copying three metatiles a row from the flowing or stopped pictures beside it, a row every four ticks.

Declared in aqua_rock.c.

Fields

NameDescription
Sint16pictureSrcX, pictureSrcY , pictureSrcYits pictures, flowing then stopped
Sint16metatileSrcX, metatileSrcY , metatileSrcYits metatiles, flowing then stopped
Sint16pictureX, pictureY , pictureYwhere its pictures are copied
Sint16metatileX, metatileY , metatileYwhere its metatiles are copied
Sint16heightits rows
Sint16flagsstopping flag, or IF_FLAG_SET of one that sets it flowing
Sint16shownthe flag's value it was last told
Sint16waveRow [2]each wave's row times four, or STREAM_NO_WAVE
Sint16waveStops [2]whether each wave stops the stream or
Sint16nextWavestarts it

Description

One of the streams the moai pour, which stops and starts with its flag: each change runs down it as a wave, copying three metatiles a row from the flowing or stopped pictures beside it, a row every four ticks.

struct AQUA_ROCK_STREAM

Referenced by AquaRockStreams, scAquaRockSetUpStreams() and scAquaRockUpdateStreams().

Definition at line 256 of file aqua_rock.c.

Fields in detail

pictureSrcX, pictureSrcY

Sint16 pictureSrcX, pictureSrcY

its pictures, flowing then stopped

metatileSrcX, metatileSrcY

Sint16 metatileSrcX, metatileSrcY

its metatiles, flowing then stopped

pictureX, pictureY

Sint16 pictureX, pictureY

where its pictures are copied

metatileX, metatileY

Sint16 metatileX, metatileY

where its metatiles are copied

height

Sint16 height

its rows

flags

Sint16 flags

stopping flag, or IF_FLAG_SET of one that sets it flowing

shown

Sint16 shown

the flag's value it was last told

waveRow

Sint16 waveRow[2]

each wave's row times four, or STREAM_NO_WAVE

waveStops

Sint16 waveStops[2]

whether each wave stops the stream or

nextWave

Sint16 nextWave

starts it