Skip to Content
The Alchemy Project

struct ROCK_STATE

The falling rocks' state, in the menu state's heap slot: their tiles, the rocks and their sprites, in a ring that next walks round, the first sprite tile their tiles were loaded to and the VRAM cache entry holding them.

Declared in falling_rocks.h.

Fields

NameDescription
Uint8tiles [ROCK_SHEET_BYTES]
ROCKrocks [ROCK_COUNT]
EFFECT_SPRsprites [ROCK_COUNT]
Sint16next
Uint16tileBase
Sint16resource

Description

The falling rocks' state, in the menu state's heap slot: their tiles, the rocks and their sprites, in a ring that next walks round, the first sprite tile their tiles were loaded to and the VRAM cache entry holding them.

struct ROCK_STATE

Referenced by scEasternAlhafraStartFallingRocks(), scMagmaRockDropRocks(), scMagmaRockInsideDropRocks(), scMagmaRockInsideStartFallingRocks(), scMagmaRockStartFallingRocks(), scProxStartFallingRocks(), scRockEndFalling(), scRockSpawn(), scTundariaTowerEndFallingRocks() and scTundariaTowerStartFallingRocks().

Definition at line 29 of file falling_rocks.h.

Fields in detail

tiles

Uint8 tiles[ROCK_SHEET_BYTES]

rocks

ROCK rocks[ROCK_COUNT]

sprites

EFFECT_SPR sprites[ROCK_COUNT]

next

Sint16 next

tileBase

Uint16 tileBase

resource

Sint16 resource