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
| Name | Description | |
|---|---|---|
Uint16 | used | sprite pixel bytes composed since the camera reset it |
Uint8 | unusedAfterUsed [2] | no code names it |
Uint16 | suspended | nonzero while a menu has suspended sprite projection |
Uint8 | edge | outline edge colour; 15 when the field sets up |
Uint8 | fill | outline fill colour; 0 when the field sets up |
Uint8 | spriteGroups [16] | the sprite group tables, taken in turn by count |
Sint32 | count | sprite group tables taken from spriteGroups |
SPR_PICTURE_CACHE | pictureCaches [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)