struct WINDOW_SPR
A window sprite: a sprite in a window's sprite list (a character, an icon or a portrait), with its VRAM cache slot, depth slot (syOAMAddSpriteAtDepth: higher draws in front; glyphs use 254) and OAM attributes.
Declared in window_sprite.h.
Fields
| Name | Description | |
|---|---|---|
struct WINDOW_SPR * | next | the next sprite in its list |
Uint8 | kind | an WINDOW_SPR_KIND |
Uint8 | motion | its WINDOW_SPRITE_MOTION_ motion; 0 while free |
Uint16 | x | screen pixels |
Uint16 | y | screen pixels |
Uint16 | unused | |
Uint16 | animationStep | step of its motion's animation |
Uint8 | index | VRAM cache slot, or a glyph's tile after glyphTiles |
Uint8 | depth | depth slot (higher in front; glyphs use 254) |
QUEUED_SPR | sprite | queued at its depth each tick |
Description
A window sprite: a sprite in a window's sprite list (a character, an icon or
a portrait), with its VRAM cache slot, depth slot (syOAMAddSpriteAtDepth:
higher draws in front; glyphs use 254) and OAM attributes.
struct WINDOW_SPR
Referenced by mnBattleDjinnMenuShowChangePreview(), mnCommandIconCreate(), mnCursorAdvance(), mnCursorCreate(), mnCursorMoveTowardTarget(), mnCursorPos(), mnCursorSet(), mnCursorSlide(), mnDebugSelectShortcuts(), mnDjinnMenuRunScreen(), mnFileListSelectFile(), mnGlyphDraw(), mnHideEntryIcons(), mnIconCreateDjinnArrow(), mnIconCreateStatChangeArrow(), mnIconShow(), mnItemMenuClose(), mnItemMenuDrawIcons(), mnItemMenuHideAllIcons(), mnItemMenuHidePageIcons(), mnItemMenuPlaceEquippedIcons(), mnItemMenuPlaceIcon(), mnItemMenuPlaceIcons(), mnItemMenuRunList(), mnItemMenuSelectGiveQuantity(), mnItemMenuSelectTarget(), mnItemMenuShowDetails(), mnItemPickerRun(), mnNameEntryEditMemberName(), mnPauseMenuChoose(), mnPlaceEntryIconInGrid(), mnPlaceEntryIconsInGrid(), mnPortraitCloseWindow(), mnPortraitCreate(), mnPsynergyMenuCreateEntryGrid(), mnPsynergyMenuDrawPsynergyIcons(), mnPsynergyMenuPlaceEntryIcon(), mnPsynergyMenuPlaceEntryIcons(), mnPsynergyMenuRunList(), mnPsynergyMenuSelectPartySlot(), mnPsynergyMenuSelectTarget(), mnSanctumAskYesNo(), mnSanctumRun(), mnSetPageIcons(), mnSettingsMenuOpen(), mnSettingsMenuRun(), mnShopAskYesNo(), mnShopCreatePriceSprite(), mnShopDrawCarriedItem(), mnShopDrawMemberItems() and 32 more.
Definition at line 88 of file window_sprite.h.
Fields in detail
next
struct WINDOW_SPR *next
the next sprite in its list
kind
Uint8 kind
motion
Uint8 motion
its WINDOW_SPRITE_MOTION_ motion; 0
while free
x
Uint16 x
screen pixels
y
Uint16 y
screen pixels
unused
Uint16 unused
animationStep
Uint16 animationStep
step of its motion's animation
index
Uint8 index
VRAM cache slot, or a glyph's tile
after glyphTiles
depth
Uint8 depth
depth slot (higher in front; glyphs use 254)
sprite
QUEUED_SPR sprite
queued at its depth each tick