Skip to Content
The Alchemy Project

struct MARS_LIGHTHOUSE_AERIE_SPR

A field sprite (FIELD_SPR) read a byte at a time, as the aerie's flames take the beacon fire's priority and the Mars Star's sprite its colours and the star's icon.

Declared in mars_lighthouse_aerie.h.

Fields

NameDescription
Uint8link [4]
Uint8yAttribute 0's y.
Uint8affineModeMosaic : 5Attribute 0's high byte.
Uint8fullColor : 1
Uint8shape : 2
Uint8attr1 [2]
Uint8tileLowAttribute 2's low byte.
Uint8tileHigh : 2Attribute 2's high byte: tileHigh holds tile number bits 9..8.
Uint8priority : 2
Uint8palette : 4
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 the aerie's flames take the beacon fire's priority and the Mars Star's sprite its colours and the star's icon.

struct MARS_LIGHTHOUSE_AERIE_SPR

Referenced by scMarsLighthouseAerieLightBeacon() and scMarsLighthouseAerieRaiseBeaconFire().

Definition at line 16 of file mars_lighthouse_aerie.h.

Fields in detail

Uint8 link[4]

y

Uint8 y

Attribute 0's y.

affineModeMosaic

Uint8 affineModeMosaic : 5

Attribute 0's high byte.

fullColor

Uint8 fullColor : 1

shape

Uint8 shape : 2

attr1

Uint8 attr1[2]

tileLow

Uint8 tileLow

Attribute 2's low byte.

tileHigh

Uint8 tileHigh : 2

Attribute 2's high byte: tileHigh holds tile number bits 9..8.

priority

Uint8 priority : 2

palette

Uint8 palette : 4

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