struct YAMPI_DESERT_VISUAL
A field sprite (FIELD_SPR) read a byte at a time, as Yampi Desert's scorpion sets its colour mode and priority and loads its tiles.
Declared in scene_actors.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | link [4] | |
Uint8 | y | Attribute 0's y. |
Uint8 | attr0High | Attribute 0's high byte: bit 5 is full colour. |
Uint8 | attr1 [2] | |
Uint8 | tileLow | Attribute 2's low byte. |
Uint8 | attr2High | Attribute 2's high byte. bits: 7..4 palette | 3..2 priority | 1..0 tile bits 9..8 |
Uint8 | attr3 [2] | |
Uint8 | scale [4] | |
Uint8 | vramBlock | VRAM cache entry holding its tiles. |
Uint8 | cacheFlags | |
Uint8 | rotation [2] | |
Uint8 | size [4] | Width, height and the x and y offsets. |
Uint8 | lastAnimation | The animation number last selected. |
Uint8 | dirty | Nonzero redraws its pixels. |
Uint8 | flags | The sprite flags (SPR_FLAG). |
Uint8 | layerCount |
Description
A field sprite (FIELD_SPR) read a byte at a time, as Yampi Desert's scorpion
sets its colour mode and priority and loads its tiles.
struct YAMPI_DESERT_VISUAL
Referenced by scYampiDesertCreateScoopGem().
Definition at line 121 of file scene_actors.h.
Fields in detail
link
Uint8 link[4]
y
Uint8 y
Attribute 0's y.
attr0High
Uint8 attr0High
Attribute 0's high byte: bit 5 is full colour.
attr1
Uint8 attr1[2]
tileLow
Uint8 tileLow
Attribute 2's low byte.
attr2High
Uint8 attr2High
Attribute 2's high byte. bits: 7..4 palette | 3..2 priority | 1..0 tile bits 9..8
attr3
Uint8 attr3[2]
scale
Uint8 scale[4]
vramBlock
Uint8 vramBlock
VRAM cache entry holding its tiles.
cacheFlags
Uint8 cacheFlags
rotation
Uint8 rotation[2]
size
Uint8 size[4]
Width, height and the x and y offsets.
lastAnimation
Uint8 lastAnimation
The animation number last selected.
dirty
Uint8 dirty
Nonzero redraws its pixels.
flags
Uint8 flags
The sprite flags (SPR_FLAG).
layerCount
Uint8 layerCount