Skip to Content
The Alchemy Project

struct ANIMATION_SPR_PART

The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with: the link to the next part queued at its depth, then the OAM entry's attributes 0 to 3.

Declared in sprite.h.

Fields

NameDescription
Uint8unused [4]No code names it.
Uint16y : 8
Uint16affine : 2
Uint16objectMode : 2
Uint16mosaic : 1
Uint16fullColor : 1
Uint16shape : 2
Uint16x : 9
Uint16affineIndex : 5
Uint16size : 2
Uint16tile : 10
Uint16priority : 2
Uint16palette : 4
Uint8unusedAfterPalette [2]No code names it.

Description

The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with: the link to the next part queued at its depth, then the OAM entry's attributes 0 to 3.

struct ANIMATION_SPR_PART

Referenced by fdBlankOverlayDrawMarks(), fdFadeOverlayDrawMarks(), fdHangingVineDraw(), fdRenderApplyProjectedPlacement(), fdRenderApplyProjectedPlacementAtDepth(), fdRenderPlaceProjectedSprite(), fdRenderPlaceSpritePartPair(), fdRopeDraw() and scShamanVillageUpdateLettering().

Definition at line 134 of file sprite.h.

Fields in detail

unused

Uint8 unused[4]

No code names it.

y

Uint16 y : 8

affine

Uint16 affine : 2

objectMode

Uint16 objectMode : 2

mosaic

Uint16 mosaic : 1

fullColor

Uint16 fullColor : 1

shape

Uint16 shape : 2

x

Uint16 x : 9

affineIndex

Uint16 affineIndex : 5

size

Uint16 size : 2

tile

Uint16 tile : 10

priority

Uint16 priority : 2

palette

Uint16 palette : 4

unusedAfterPalette

Uint8 unusedAfterPalette[2]

No code names it.