struct PREVIEW_SPR
The OAM entry of a window sprite, as the Djinn preview places its stat arrows (mnDjinnMenuDrawStatArrow): from the output's byte 16 on.
Declared in djinn_preview.h.
Fields
| Name | Description | |
|---|---|---|
Uint32 | link | the output's depth-queue link (WINDOW_SPR.link) |
union { Uint32 | word, y, flags, x, high, bits, attributes ; struct { unsigned y : 8; unsigned flags : 8; unsigned x : 9; unsigned high : 7; } bits; } attributes | OAM attributes 0 and 1, written whole as 0x40000400 first. |
union { Uint32 | value, index, high, bits, tile ; struct { unsigned index : 10; unsigned high : 6; } bits; } tile | OAM attribute 2: the arrow's VRAM tile. |
Description
The OAM entry of a window sprite, as the Djinn preview places its stat arrows
(mnDjinnMenuDrawStatArrow): from the output's byte 16 on.
struct PREVIEW_SPR
Referenced by mnBattleDjinnMenuShowChangePreview().
Definition at line 10 of file djinn_preview.h.
Fields in detail
link
Uint32 link
the output's depth-queue link (WINDOW_SPR.link)
word, y, flags, x, high, bits, attributes
union { Uint32 word; struct { unsigned y : 8; unsigned flags : 8; unsigned x : 9; unsigned high : 7; } bits; } attributes
OAM attributes 0 and 1, written whole as 0x40000400 first.
screen pixels
attribute 0's high byte: 0x04, semi-transparent
semi-transparent
screen pixels
attribute 1's flip and size bits: 16 by 16
value, index, high, bits, tile
union { Uint32 value; struct { unsigned index : 10; unsigned high : 6; } bits; } tile
OAM attribute 2: the arrow's VRAM tile.
the tile in object VRAM
priority and palette, 0 here