Skip to Content
The Alchemy Project

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

NameDescription
Uint8link [4]
Uint8attr0 [2]
Uint8attr1 [2]
Uint8attr2 [2]
Uint8attr3 [2]
Uint8scale [4]
Uint8vramBlockVRAM cache entry holding its tiles
Uint8cacheFlags
Sint16rotation1/65536 turns
Uint8size [4]width, height and the x and y offsets
Uint8lastAnimationthe animation number last selected
Uint8dirtynonzero redraws its pixels
Uint8flagsthe sprite flags (SPR_FLAG)
Uint8shadow [13]The layer count, then the shadow's
struct SPR_ANIMATION *animationlink 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

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