Alchemy
Loading...
Searching...
No Matches

Sprite Struct Reference

One lettering piece as queued for drawing: a header word, then its OAM attributes. More...

#include </home/runner/work/alchemy-docs/alchemy-docs/alchemy/games/tbs/src/scene/common/colosso_task.h>

Data Fields

u32 words [3]
u8 pad00 [9]
u8 flags9
 AnimationObject's attribute 2 high byte; not named by TBS code.
u8 pad0a [20]
u16 angle
 AnimationObject's rotation, in 1/65536 turns.
u8 pad20 [6]
u8 state26
 AnimationObject's flags; not named by TBS code.

Detailed Description

One lettering piece as queued for drawing: a header word, then its OAM attributes.

A scene actor's sprite, as far as the angle a scene turns it by.

Definition at line 55 of file colosso_task.h.

Field Documentation

◆ words

u32 Sprite::words[3]

Definition at line 56 of file colosso_task.h.

◆ pad00

u8 Sprite::pad00

Definition at line 12 of file configured_effect_spawn.h.

◆ flags9

u8 Sprite::flags9

AnimationObject's attribute 2 high byte; not named by TBS code.

bits: 7..4 palette | 3..2 priority | 1..0 tile bits 9..8

Definition at line 15 of file configured_effect_spawn.h.

◆ pad0a

u8 Sprite::pad0a

Definition at line 16 of file configured_effect_spawn.h.

◆ angle

u16 Sprite::angle

AnimationObject's rotation, in 1/65536 turns.

Definition at line 17 of file configured_effect_spawn.h.

◆ pad20

u8 Sprite::pad20

Definition at line 18 of file configured_effect_spawn.h.

◆ state26

u8 Sprite::state26

AnimationObject's flags; not named by TBS code.

Definition at line 19 of file configured_effect_spawn.h.