Skip to Content
The Alchemy Project

struct ACTOR_SYSTEM_STATE

The actor system's state: the flag that suspends sprite projection, the outline's edge and fill colours, and the sprite picture caches (HEAP_SLOT_ACTOR_SYSTEM).

Declared in sprite.h.

Fields

NameDescription
Uint16usedsprite pixel bytes composed since the camera
Uint8unused [2]reset it
Sint16suspendednonzero while a menu has suspended sprite projection
Uint8edgeoutline edge colour; 15 when the field engine sets up
Uint8filloutline fill colour; 0 when the field engine sets up
struct SPR *spriteGroups [4]The sprite group tables, taken in turn by count
Sint32countsprite group tables taken from spriteGroups
SPR_PICTURE_CACHEpictureCaches [8]found by tag (fdSpritePictureCacheFindByTag)

Description

The actor system's state: the flag that suspends sprite projection, the outline's edge and fill colours, and the sprite picture caches (HEAP_SLOT_ACTOR_SYSTEM).

struct ACTOR_SYSTEM_STATE

Referenced by fdActorSystemInit(), fdActorSystemPlaceSprites(), fdActorSystemProjectSprites(), fdEngineRun(), fdMapScreenShow(), fdSpriteComposePicture(), fdSpritePictureCacheLoad(), scColossoFadeInWarrior() and scColossoRestoreWarrior().

Definition at line 108 of file sprite.h.

Fields in detail

used

Uint16 used

sprite pixel bytes composed since the camera

unused

Uint8 unused[2]

reset it

suspended

Sint16 suspended

nonzero while a menu has suspended sprite projection

edge

Uint8 edge

outline edge colour; 15 when the field engine sets up

fill

Uint8 fill

outline fill colour; 0 when the field engine sets up

spriteGroups

struct SPR *spriteGroups[4]

The sprite group tables, taken in turn by count

count

Sint32 count

sprite group tables taken from spriteGroups

pictureCaches

SPR_PICTURE_CACHE pictureCaches[8]

found by tag (fdSpritePictureCacheFindByTag)