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
Sint16spriteIdthe animation id (the sprite number) it shows
Sint16animationIndexwhich of that sprite's animations plays
Uint8enabledshown; hidden by a priority above the drawn 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 39 of file field_sprite_viewer.c.

Fields in detail

spriteId

Sint16 spriteId

the animation id (the sprite number) it shows

animationIndex

Sint16 animationIndex

which of that sprite's animations plays

enabled

Uint8 enabled

shown; hidden by a priority above the drawn range

priority

Sint8 priority

drawing order, 0 to 3

colorMode

Sint8 colorMode

SPR_COL_MODE; the viewer cycles through 0 to 15