Skip to Content
The Alchemy Project

struct ANKOHL_RUINS_SPR_STATE

Ankohl Ruins' sand (AnkohlRuinsSand): its sprites' VRAM cache entry, its level, map layer 1's offset before it rose, and its eight sprites.

Declared in scene_puzzles.h.

Fields

NameDescription
Sint16unusedNo code names it as the sand's; the entrance tests read through the type so that their load stays behind a store to the sand.
Sint16tileThe VRAM cache entry of the sprites' tiles.
Sint32level16.16 pixels the sand has risen.
FIXEDbaseOffsetXMap layer 1's offset when the sand started, which the level is added to.
FIXEDbaseOffsetY
ANKOHL_RUINS_SPRsprites [8]

Description

Ankohl Ruins' sand (AnkohlRuinsSand): its sprites' VRAM cache entry, its level, map layer 1's offset before it rose, and its eight sprites.

struct ANKOHL_RUINS_SPR_STATE

Referenced by AnkohlRuinsSand, scAnkohlRuinsDrawSand(), scAnkohlRuinsInitSand(), scAnkohlRuinsRaiseFirstSand() and scAnkohlRuinsRaiseSecondSand().

Definition at line 35 of file scene_puzzles.h.

Fields in detail

unused

Sint16 unused

No code names it as the sand's; the entrance tests read through the type so that their load stays behind a store to the sand.

tile

Sint16 tile

The VRAM cache entry of the sprites' tiles.

level

Sint32 level

16.16 pixels the sand has risen.

baseOffsetX

FIXED baseOffsetX

Map layer 1's offset when the sand started, which the level is added to.

baseOffsetY

FIXED baseOffsetY

sprites

ANKOHL_RUINS_SPR sprites[8]