Skip to Content
The Alchemy Project

struct FLOODGATE_LOG

A log's saved record: its sprite, first map metatile and orientation, then its actor once created.

Declared in kolima_forest_floodgate.c.

Fields

NameDescription
Sint16spritesprite number; -1 ends the list
Sint16xmap metatiles
Sint16zmap metatiles
Sint16verticalnonzero runs north to south; zero west to east
ACTOR *actorcreated for this row; NULL in the defaults

Description

A log's saved record: its sprite, first map metatile and orientation, then its actor once created.

struct FLOODGATE_LOG

Referenced by KolimaForestFloodgateDefaultLogs, KolimaForestFloodgateLogs, scInit(), scKolimaForestFloodgateCreateLogs(), scKolimaForestFloodgateDrawWaterLevel(), scKolimaForestFloodgateFindLogAt(), scKolimaForestFloodgateMarkLogMetatiles() and scKolimaForestFloodgateRollLog().

Definition at line 76 of file kolima_forest_floodgate.c.

Fields in detail

sprite

Sint16 sprite

sprite number; -1 ends the list

x

Sint16 x

map metatiles

z

Sint16 z

map metatiles

vertical

Sint16 vertical

nonzero runs north to south; zero west to east

actor

ACTOR *actor

created for this row; NULL in the defaults