struct ANIMATED_SPR
A field sprite (FIELD_SPR) a byte at a time, with what the flash sets named: the flag that redraws it, its sprite flags and its animation, whose colour mode turns white and back.
Declared in cycle_pictures.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | link [4] | |
Uint8 | attr0 [2] | |
Uint8 | attr1 [2] | |
Uint8 | attr2 [2] | |
Uint8 | attr3 [2] | |
Uint8 | scale [4] | |
Uint8 | vramBlock | VRAM cache entry holding its tiles |
Uint8 | cacheFlags | |
Sint16 | rotation | 1/65536 turns |
Uint8 | size [4] | width, height and the x and y offsets |
Uint8 | lastAnimation | the animation number last selected |
Uint8 | dirty | nonzero redraws its pixels |
Uint8 | flags | the sprite flags (SPR_FLAG) |
Uint8 | shadow [13] | The layer count, then the shadow's |
struct SPR_ANIMATION * | animation | link and attributes |
Description
A field sprite (FIELD_SPR) a byte at a time, with what the flash sets named:
the flag that redraws it, its sprite flags and its animation, whose colour
mode turns white and back.
struct ANIMATED_SPR
Referenced by scActorCyclePictures().
Definition at line 15 of file cycle_pictures.h.
Fields in detail
link
Uint8 link[4]
attr0
Uint8 attr0[2]
attr1
Uint8 attr1[2]
attr2
Uint8 attr2[2]
attr3
Uint8 attr3[2]
scale
Uint8 scale[4]
vramBlock
Uint8 vramBlock
VRAM cache entry holding its tiles
cacheFlags
Uint8 cacheFlags
rotation
Sint16 rotation
1/65536 turns
size
Uint8 size[4]
width, height and the x and y offsets
lastAnimation
Uint8 lastAnimation
the animation number last selected
dirty
Uint8 dirty
nonzero redraws its pixels
flags
Uint8 flags
the sprite flags (SPR_FLAG)
shadow
Uint8 shadow[13]
The layer count, then the shadow's
animation
struct SPR_ANIMATION *animation
link and attributes