Skip to Content
The Alchemy Project

struct SPR_VIEWER_LAYER

One sprite animation the sprite viewer edits.

Declared in field_sprite_viewer.c.

Fields

NameDescription
Sint16spriteIdmetadata record selected for this layer
Sint16animationIndexanimation script selected from that metadata
Uint8enabledzero hides it by a priority above the drawing range
Sint8prioritydrawing order, 0 to 3
Sint8colorModeSPR_COL_MODE; the viewer cycles through 0 to 15

Description

One sprite animation the sprite viewer edits.

struct SPR_VIEWER_LAYER

Referenced by fdSpriteViewerRun().

Definition at line 62 of file field_sprite_viewer.c.

Fields in detail

spriteId

Sint16 spriteId

metadata record selected for this layer

animationIndex

Sint16 animationIndex

animation script selected from that metadata

enabled

Uint8 enabled

zero hides it by a priority above the drawing range

priority

Sint8 priority

drawing order, 0 to 3

colorMode

Sint8 colorMode

SPR_COL_MODE; the viewer cycles through 0 to 15