Skip to Content
The Alchemy Project

struct SCENE_STATE

The channel puzzle's state: its grid of pieces, laid from a random seed, and the blocks and arrows drawn over it.

Declared in gabomba_statue.c.

Fields

NameDescription
PUZZLE_METATILEmetatiles [CHANNEL_ROWS][CHANNEL_COLUMNS]
Sint32seedthe random seed the channel was laid from
Sint16firstBlock
Sint16endBlock
Sint16blockTileEntrythe VRAM cache entry of the blocks'
Sint8leftArrowDownpictures
Sint8rightArrowDown
Sint16originX
Sint16originZ
Sint16blocksRaised
Uint8unusedAfterBlocksRaised [2]
Sint32blocksAngle
SPR_VIEWoam [10]

Description

The channel puzzle's state: its grid of pieces, laid from a random seed, and the blocks and arrows drawn over it.

struct SCENE_STATE

Referenced by scGabombaStatueDrawRaisedBlocks(), scGabombaStatueLayChannel(), scGabombaStatueLoadBlockPictures(), scGabombaStatueMoveCharge(), scGabombaStatuePoundBlock(), scGabombaStatuePressLeftArrowPanel(), scGabombaStatuePressRightArrowPanel(), scGabombaStatueRedrawChannel(), scGabombaStatueSetBlocksRaised(), scGabombaStatueSetUpChannelPuzzle(), scGabombaStatueTurnBlocks(), scTaopoSwampResetMud(), scTaopoSwampRiseOnBubble(), scTaopoSwampSaveFirmGround(), scTaopoSwampSinkInMud() and scTaopoSwampStepOnFirmGround().

Definition at line 566 of file gabomba_statue.c.

Fields in detail

metatiles

PUZZLE_METATILE metatiles[CHANNEL_ROWS][CHANNEL_COLUMNS]

seed

Sint32 seed

the random seed the channel was laid from

firstBlock

Sint16 firstBlock

endBlock

Sint16 endBlock

blockTileEntry

Sint16 blockTileEntry

the VRAM cache entry of the blocks'

leftArrowDown

Sint8 leftArrowDown

pictures

rightArrowDown

Sint8 rightArrowDown

originX

Sint16 originX

originZ

Sint16 originZ

blocksRaised

Sint16 blocksRaised

unusedAfterBlocksRaised

Uint8 unusedAfterBlocksRaised[2]

blocksAngle

Sint32 blocksAngle

oam

SPR_VIEW oam[10]