struct PLACED_SPR
An actor's sprite (SPR) as the code that sets its image and shadow priorities reads it (the actors' freeze and placement, an actor taking the leader's layer): a byte at a time, under SPR's names.
Declared in sprite.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | unused [9] | no code names it |
Uint8 | tileHigh : 2 | tile number bits 9..8 |
Uint8 | priority : 2 | |
Uint8 | palette : 4 | |
Uint8 | unusedAfterPalette [2] | no code names it |
FIXED | scale | 16.16 fixed point |
Uint8 | slot | |
Uint8 | retainCacheEntry | bit 0 |
Uint16 | rotation | |
Uint8 | unusedAfterRotation [5] | no code names it |
Uint8 | dirty | |
Uint8 | flags | |
Uint8 | unusedAfterFlags [10] | no code names it |
Uint8 | shadowTileHigh : 2 | |
Uint8 | shadowPriority : 2 | |
Uint8 | shadowPalette : 4 |
Description
An actor's sprite (SPR) as the code that sets its image and shadow priorities reads it (the actors' freeze and placement, an actor taking the leader's layer): a byte at a time, under SPR's names.
struct PLACED_SPR
Referenced by btObjectSetSpritePriority(), fdActorGetSpritePriority(), fdActorShowEmoteById(), fdActorTakeLeaderLayer(), fdEffectSetAttached(), fdPsynergyGetCanvasPriority(), fdPsynergyUpdateMindReadWave(), scEffectAdvanceMotionAtLeaderPriority() and scMarsLighthouseHallSpawnFlamePuff().
Definition at line 232 of file sprite.h.
Fields in detail
unused
Uint8 unused[9]
no code names it
tileHigh
Uint8 tileHigh : 2
tile number bits 9..8
priority
Uint8 priority : 2
palette
Uint8 palette : 4
unusedAfterPalette
Uint8 unusedAfterPalette[2]
no code names it
scale
FIXED scale
16.16 fixed point
slot
Uint8 slot
retainCacheEntry
Uint8 retainCacheEntry
bit 0
rotation
Uint16 rotation
unusedAfterRotation
Uint8 unusedAfterRotation[5]
no code names it
dirty
Uint8 dirty
flags
Uint8 flags
unusedAfterFlags
Uint8 unusedAfterFlags[10]
no code names it
shadowTileHigh
Uint8 shadowTileHigh : 2
shadowPriority
Uint8 shadowPriority : 2
shadowPalette
Uint8 shadowPalette : 4