struct DESCENDING_ARC_SPR
A falling arc's sprite (SPR), seen as the image attributes, VRAM cache entry and first layer that Avoid's arcs set on it, under SPR's names; its image bit fields are read here as bytes.
Declared in field_psynergy.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | link [4] | |
Uint8 | y | |
Uint8 | affine : 2 | |
Uint8 | objectMode : 2 | |
Uint8 | mosaic : 1 | |
Uint8 | fullColor : 1 | 0 for 16 colours. |
Uint8 | shape : 2 | 1 wide. |
Uint8 | xLow | |
Uint8 | xHigh : 1 | |
Uint8 | affineIndex : 5 | |
Uint8 | size : 2 | |
union { struct { Uint16 | tile, priority, palette, half, tileLow, tileHigh, priority, palette, byte, attribute : 10; Uint16 priority : 2; Uint16 palette : 4; } half; struct { Uint8 tileLow; Uint8 tileHigh : 2; Uint8 priority : 2; Uint8 palette : 4; } byte; } attribute | the first sprite tile in VRAM |
FIXED | scale | 16.16 fixed point, toFIXED(1) full size. |
Uint8 | slot | The VRAM cache entry holding its tiles. |
Uint8 | retainCacheEntry : 1 | The borrowed tiles stay loaded. |
Uint8 | useOwnScale : 1 | |
Uint8 | unusedFlags : 6 | |
Uint16 | rotation | |
Uint8 | width | |
Uint8 | height | |
Sint8 | offsetX | |
Sint8 | offsetY | |
Uint8 | lastNo | |
Uint8 | dirty | |
Uint8 | flags | 0 drops the shadow. |
Uint8 | count | |
ANIMATION_SPR_PART | shadow | |
SPR_ANIMATION * | firstEntry | entries[0], its first layer. |
Description
A falling arc's sprite (SPR), seen as the image attributes, VRAM cache entry
and first layer that Avoid's arcs set on it, under SPR's names; its image bit
fields are read here as bytes.
struct DESCENDING_ARC_SPR
Referenced by fdAvoidDropRing().
Definition at line 114 of file field_psynergy.h.
Fields in detail
link
Uint8 link[4]
y
Uint8 y
affine
Uint8 affine : 2
objectMode
Uint8 objectMode : 2
mosaic
Uint8 mosaic : 1
fullColor
Uint8 fullColor : 1
0 for 16 colours.
shape
Uint8 shape : 2
1 wide.
xLow
Uint8 xLow
xHigh
Uint8 xHigh : 1
affineIndex
Uint8 affineIndex : 5
size
Uint8 size : 2
tile, priority, palette, half, tileLow, tileHigh, priority, palette, byte, attribute
union { struct { Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; } half; struct { Uint8 tileLow; Uint8 tileHigh : 2; Uint8 priority : 2; Uint8 palette : 4; } byte; } attribute
the first sprite tile in VRAM
scale
FIXED scale
16.16 fixed point, toFIXED(1) full size.
slot
Uint8 slot
The VRAM cache entry holding its tiles.
retainCacheEntry
Uint8 retainCacheEntry : 1
The borrowed tiles stay loaded.
useOwnScale
Uint8 useOwnScale : 1
unusedFlags
Uint8 unusedFlags : 6
rotation
Uint16 rotation
width
Uint8 width
height
Uint8 height
offsetX
Sint8 offsetX
offsetY
Sint8 offsetY
lastNo
Uint8 lastNo
dirty
Uint8 dirty
flags
Uint8 flags
0 drops the shadow.
count
Uint8 count
shadow
ANIMATION_SPR_PART shadow
firstEntry
SPR_ANIMATION *firstEntry
entries[0], its first layer.