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
| Name | Description | |
|---|---|---|
Uint8 | unused [4] | No code names it. |
Uint16 | y : 8 | |
Uint16 | affine : 2 | |
Uint16 | objectMode : 2 | |
Uint16 | mosaic : 1 | |
Uint16 | fullColor : 1 | |
Uint16 | shape : 2 | |
Uint16 | x : 9 | |
Uint16 | affineIndex : 5 | |
Uint16 | size : 2 | |
Uint16 | tile : 10 | |
Uint16 | priority : 2 | |
Uint16 | palette : 4 | |
Uint8 | unusedAfterPalette [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.