Skip to Content
The Alchemy Project

struct QUEUED_SPR_BYTES

A queued sprite (QUEUED_SPR) as mnWindowSpriteUpdateAll writes it: the OAM_DATA fields, with the first attribute's y and the bits after it as bytes of their own.

Declared in window_sprites.c.

Fields

NameDescription
struct QUEUED_SPR_BYTES *next
Uint8y
Uint8affineMode : 2
Uint8objectMode : 2
Uint8mosaic : 1
Uint8fullColor : 1
Uint8shape : 2
Uint16x : 9
Uint16matrix : 5
Uint16size : 2
Uint16index : 10
Uint16priority : 2
Uint16palette : 4

Description

A queued sprite (QUEUED_SPR) as mnWindowSpriteUpdateAll writes it: the OAM_DATA fields, with the first attribute's y and the bits after it as bytes of their own.

struct QUEUED_SPR_BYTES

Referenced by mnWindowSpriteUpdateAll().

Definition at line 518 of file window_sprites.c.

Fields in detail

next

struct QUEUED_SPR_BYTES *next

y

Uint8 y

affineMode

Uint8 affineMode : 2

objectMode

Uint8 objectMode : 2

mosaic

Uint8 mosaic : 1

fullColor

Uint8 fullColor : 1

shape

Uint8 shape : 2

x

Uint16 x : 9

matrix

Uint16 matrix : 5

size

Uint16 size : 2

index

Uint16 index : 10

priority

Uint16 priority : 2

palette

Uint16 palette : 4