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 reset it
Uint8unusedAfterUsed [2]no code names it
Uint16suspendednonzero while a menu has suspended sprite projection
Uint8edgeoutline edge colour; 15 when the field sets up
Uint8filloutline fill colour; 0 when the field sets up
Uint8spriteGroups [16]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 btEffectSpriteCreateWithTiles(), fdActorSystemInit(), fdActorSystemPlaceSprites(), fdActorSystemProjectSprites(), fdEngineRun(), fdMapScreenShow(), fdSpriteComposePicture(), fdSpritePictureCacheFindByTag() and fdSpritePictureCacheLoad().

Definition at line 107 of file sprite.h.

Fields in detail

used

Uint16 used

sprite pixel bytes composed since the camera reset it

unusedAfterUsed

Uint8 unusedAfterUsed[2]

no code names it

suspended

Uint16 suspended

nonzero while a menu has suspended sprite projection

edge

Uint8 edge

outline edge colour; 15 when the field sets up

fill

Uint8 fill

outline fill colour; 0 when the field sets up

spriteGroups

Uint8 spriteGroups[16]

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)