struct SPR_VIEWER_LAYER
One sprite animation the sprite viewer edits.
Declared in field_sprite_viewer.c.
Fields
| Name | Description | |
|---|---|---|
Sint16 | spriteId | metadata record selected for this layer |
Sint16 | animationIndex | animation script selected from that metadata |
Uint8 | enabled | zero hides it by a priority above the drawing range |
Sint8 | priority | drawing order, 0 to 3 |
Sint8 | colorMode | SPR_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