Skip to Content
The Alchemy Project

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

NameDescription
Uint8link [4]
Uint8yAttribute 0's y.
Uint8attr0HighAttribute 0's high byte: bit 5 is full colour.
Uint8attr1 [2]
Uint8tileLowAttribute 2's low byte.
Uint8attr2HighAttribute 2's high byte. bits: 7..4 palette | 3..2 priority | 1..0 tile bits 9..8
Uint8attr3 [2]
Uint8scale [4]
Uint8vramBlockVRAM cache entry holding its tiles.
Uint8cacheFlags
Uint8rotation [2]
Uint8size [4]Width, height and the x and y offsets.
Uint8lastAnimationThe animation number last selected.
Uint8dirtyNonzero redraws its pixels.
Uint8flagsThe sprite flags (SPR_FLAG).
Uint8layerCount

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

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