Alchemy
Loading...
Searching...
No Matches

OrbitingSceneObjectSprite Struct Reference

A floating Nut's sprite, seen as the attribute bits, palette and state its scenes set. More...

#include <orbit.h>

Data Fields

u8 padding00 [5]
 AnimationObject's queue link and attribute 0's y.
u8 padding06 [3]
 attribute 1 and the low byte of attribute 2
u8 padding0a [18]
u8 palette
 AnimationObject's slot: the VRAM cache entry the Nut's icon is loaded into.
u8 padding1d [10]
u8 state
 AnimationObject's count of layers; the Nut's scenes zero it.
u8 flags05Low: 5
 AnimationObject's attribute 0 high byte.
u8 flags05Bit5: 1
 full colour; the Nut's scenes clear it
u8 flags05High: 2
 shape; not named by scenes
u8 flags09Low: 2
 AnimationObject's attribute 2 high byte.
u8 flags09Mode: 2
 priority; the Nut's scenes set 1
u8 flags09High: 4
 palette; the Nut's scenes set 0

Detailed Description

A floating Nut's sprite, seen as the attribute bits, palette and state its scenes set.

Definition at line 11 of file orbit.h.

Field Documentation

◆ padding00

u8 OrbitingSceneObjectSprite::padding00[5]

AnimationObject's queue link and attribute 0's y.

Definition at line 12 of file orbit.h.

◆ flags05Low

u8 OrbitingSceneObjectSprite::flags05Low

AnimationObject's attribute 0 high byte.

bits: 7..6 shape | 5 full colour | 4 mosaic | 3..2 object mode | 1..0 affine affine, object mode and mosaic; not named by scenes

Definition at line 17 of file orbit.h.

◆ flags05Bit5

u8 OrbitingSceneObjectSprite::flags05Bit5

full colour; the Nut's scenes clear it

Definition at line 18 of file orbit.h.

Referenced by Kalay_PrepareTown(), and Scene_FloatNut().

◆ flags05High

u8 OrbitingSceneObjectSprite::flags05High

shape; not named by scenes

Definition at line 19 of file orbit.h.

◆ padding06

u8 OrbitingSceneObjectSprite::padding06[3]

attribute 1 and the low byte of attribute 2

Definition at line 21 of file orbit.h.

◆ flags09Low

u8 OrbitingSceneObjectSprite::flags09Low

AnimationObject's attribute 2 high byte.

bits: 7..4 palette | 3..2 priority | 1..0 tile bits 9..8 tile bits 9..8; not named by scenes

Definition at line 25 of file orbit.h.

◆ flags09Mode

u8 OrbitingSceneObjectSprite::flags09Mode

priority; the Nut's scenes set 1

Definition at line 26 of file orbit.h.

Referenced by Kalay_PrepareTown(), and Scene_FloatNut().

◆ flags09High

u8 OrbitingSceneObjectSprite::flags09High

palette; the Nut's scenes set 0

Definition at line 27 of file orbit.h.

Referenced by Kalay_PrepareTown(), and Scene_FloatNut().

◆ padding0a

u8 OrbitingSceneObjectSprite::padding0a[18]

Definition at line 29 of file orbit.h.

◆ palette

u8 OrbitingSceneObjectSprite::palette

AnimationObject's slot: the VRAM cache entry the Nut's icon is loaded into.

Definition at line 32 of file orbit.h.

Referenced by Kalay_PrepareTown(), and Scene_FloatNut().

◆ padding1d

u8 OrbitingSceneObjectSprite::padding1d[10]

Definition at line 33 of file orbit.h.

◆ state

u8 OrbitingSceneObjectSprite::state

AnimationObject's count of layers; the Nut's scenes zero it.

Definition at line 34 of file orbit.h.

Referenced by Kalay_PrepareTown(), and Scene_FloatNut().