A render output: a sprite in a window's output list (a character, an icon or a portrait), with its VRAM cache slot and OAM attributes. More...
#include <graphics/render_input.h>
Data Fields | |
| struct RenderOutput * | next |
| the next output in its list | |
| s8 | kind |
| 0 for a glyph; otherwise it owns VRAM cache slot index, freed with it, and 2 (a portrait) also its palette slot. | |
| s8 | active |
| its UI_SPRITE_ motion; 0 while free | |
| u16 | x |
| screen pixels | |
| u16 | y |
| screen pixels | |
| u16 | unk0a |
| not named by TBS code | |
| u16 | animStep |
| step of its motion's animation | |
| s8 | index |
| VRAM cache slot, or a glyph's tile after glyphTiles. | |
| u8 | sentinel |
| depth slot it is drawn at (254 for glyphs) | |
| u8 | unk10 [4] |
| The depth queue's link: with oam it is the sprite entry queued each frame, read as struct CursorSprite. | |
| struct RenderOam | oam |
A render output: a sprite in a window's output list (a character, an icon or a portrait), with its VRAM cache slot and OAM attributes.
Definition at line 62 of file render_input.h.
| struct RenderOutput* RenderOutput::next |
the next output in its list
Definition at line 63 of file render_input.h.
Referenced by RenderOutput_AcquireFree(), RenderOutput_AppendToList(), RenderOutput_BobPair(), RenderOutput_ClearList(), RenderOutput_Create(), RenderOutput_InitFreeList(), RenderOutput_ReleaseFree(), RenderOutputList_UpdateTail(), and UiText_DrawGlyph().
| s8 RenderOutput::kind |
0 for a glyph; otherwise it owns VRAM cache slot index, freed with it, and 2 (a portrait) also its palette slot.
Definition at line 66 of file render_input.h.
Referenced by CreateSideObject(), DjinnMenu_ShowChangePreview(), RenderOutput_Create(), RenderOutput_Release(), Shop_ConfirmAct(), Shop_DrawEquipComparison(), Shop_DrawStock(), Shop_PickUnitItem(), Shop_Run(), Shop_SetCursor(), UiText_DrawGlyph(), and UiWork_FinalizeEntityMatchingLocalizedId().
| s8 RenderOutput::active |
its UI_SPRITE_ motion; 0 while free
Definition at line 67 of file render_input.h.
Referenced by CharacterMenu_DrawStatusAilments(), CharacterMenu_SelectCommand(), CharacterMenu_SelectOwner(), DjinnMenu_RunScreen(), DjinnMenu_SelectDjinn(), DjinnMenu_ShowChangePreview(), DjinnMenu_ShowCurrentList(), DjinnMenu_ShowOwnerStatus(), InventoryMenu_ShowModalMessage(), ItemMenu_Close(), ItemMenu_DrawItemHead(), ItemMenu_DrawOwnerStatus(), ItemMenu_HideAllIcons(), ItemMenu_HidePageIcons(), ItemMenu_RunCommands(), ItemMenu_RunList(), ItemMenu_RunOwnerSelection(), ItemMenu_SelectGiveQuantity(), ItemMenu_SelectItem(), ItemMenu_SelectTarget(), Menu_HideEmptyEntryIcons(), Menu_RunActionFlow(), Menu_SelectQuantity(), Menu_SetPageIcons(), NameEntry_EditOwnerName(), OwnerAction_RunCompareLoop(), PsynergyMenu_CreateEntryGrid(), PsynergyMenu_RunList(), PsynergyMenu_SelectAction(), PsynergyMenu_SelectMember(), PsynergyMenu_SelectPartySlot(), PsynergyMenu_SelectTarget(), RenderOutput_Create(), RenderOutput_Release(), RenderOutput_SetAnimation(), RenderOutput_UpdateScaleAnimation(), Sanctum_RunPartyService(), SaveMenu_SelectSlot(), Shop_ConfirmAct(), Shop_DrawStock(), Shop_PickUnit(), Shop_PickUnitItem(), Shop_Run(), Shop_RunPartyMemberIconBurst(), Shop_SelectBuy(), Shop_SelectRepair(), Shop_SelectSell(), Shop_SelectSellNum(), Shop_SelectUse(), UiMenu_CreateCursor(), UiMessage_ShowAndRestoreState(), UiMessage_ShowResolvedAndRestoreState(), and UiText_DrawGlyph().
| u16 RenderOutput::x |
screen pixels
Definition at line 68 of file render_input.h.
Referenced by CreateSideObject(), DjinnMenu_ShowChangePreview(), ItemMenu_ApplyFlags(), ItemMenu_ArrangeCategoryItemIcons(), ItemMenu_DrawItemHead(), ItemMenu_PlaceIcon(), ItemMenu_PosCategory(), ItemMenu_RunCommands(), ItemMenu_SelectTarget(), Menu_PlaceEntryObjectInGrid(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), Menu_SetPageIcons(), OptionMenu_Open(), PsynergyMenu_CreateEntryGrid(), PsynergyMenu_PositionOwnerEntry(), PsynergyMenu_SelectTarget(), RenderOutput_Create(), RenderOutput_CreateFromResource(), RenderOutput_CreateFromTable(), RenderOutput_CreateLoaded(), RenderOutput_CreateWithTransform(), RenderOutput_UpdateScaleAnimation(), RenderResource_CreateFrame(), RenderResource_CreatePair(), SaveMenu_SelectSlot(), Shop_CreatePriceSprite(), Shop_DrawUnitGrid(), Shop_SetCursor(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), ShopCursor_SetPositionImmediate(), Ui_ApplyTableScaleToObject(), UiMenu_PositionCursor(), UiMenu_SlideCursor(), UiText_DrawGlyph(), and UiWindow_SetBounds().
| u16 RenderOutput::y |
screen pixels
Definition at line 69 of file render_input.h.
Referenced by CreateSideObject(), Debug_SelectAbilityPair(), DjinnMenu_ShowChangePreview(), ItemMenu_ApplyFlags(), ItemMenu_ArrangeCategoryItemIcons(), ItemMenu_DrawItemHead(), ItemMenu_PlaceIcon(), ItemMenu_PosCategory(), ItemMenu_RunCommands(), Menu_PlaceEntryObjectInGrid(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), Menu_SetPageIcons(), OptionMenu_Open(), PsynergyMenu_CreateEntryGrid(), PsynergyMenu_PositionOwnerEntry(), RenderOutput_BobPair(), RenderOutput_Create(), RenderOutput_CreateFromResource(), RenderOutput_CreateFromTable(), RenderOutput_CreateLoaded(), RenderOutput_CreateWithTransform(), RenderOutput_UpdateScaleAnimation(), RenderResource_CreateFrame(), RenderResource_CreatePair(), SaveMenu_SelectSlot(), Shop_CreatePriceSprite(), Shop_DrawUnitGrid(), Shop_SetCursor(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), ShopCursor_SetPositionImmediate(), Ui_ApplyTableScaleToObject(), UiMenu_PositionCursor(), UiMenu_SlideCursor(), UiText_DrawGlyph(), and UiWindow_SetBounds().
| u16 RenderOutput::unk0a |
not named by TBS code
Definition at line 70 of file render_input.h.
| u16 RenderOutput::animStep |
step of its motion's animation
Definition at line 71 of file render_input.h.
Referenced by CharacterMenu_SelectOwner(), DjinnMenu_RunScreen(), ItemMenu_RunList(), PsynergyMenu_RunList(), PsynergyMenu_SelectPartySlot(), RenderOutput_SetAnimation(), RenderOutput_UpdateScaleAnimation(), Shop_DrawStock(), and UiText_DrawGlyph().
| s8 RenderOutput::index |
VRAM cache slot, or a glyph's tile after glyphTiles.
Definition at line 72 of file render_input.h.
Referenced by CharacterMenu_SelectOwner(), CharacterMenu_UpdateSelectionIcons(), DjinnMenu_ShowChangePreview(), ItemMenu_ApplyFlags(), ItemMenu_DrawItemHead(), ItemMenu_RefreshEntry(), ItemMenu_ResetCategory(), ItemMenu_RunCommands(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), OptionMenu_AnimateCursors(), PsynergyMenu_CreateEntryGrid(), PsynergyMenu_PositionOwnerEntry(), PsynergyMenu_RefreshOwnerEntries(), RenderOutput_Create(), RenderOutput_Release(), UiText_DrawGlyph(), and UiWork_FinalizeEntityMatchingLocalizedId().
| u8 RenderOutput::sentinel |
depth slot it is drawn at (254 for glyphs)
Definition at line 73 of file render_input.h.
Referenced by DjinnMenu_ShowChangePreview(), ItemMenu_ApplyFlags(), ItemMenu_RunList(), ItemMenu_SelectItem(), Menu_CreateWindowAndEntryObjects(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), PsynergyMenu_RunList(), PsynergyMenu_SelectAction(), RenderOutput_Create(), RenderOutput_CreateWithTransform(), RenderOutput_SetInvertedSentinel(), RenderResource_CreateFrame(), RenderResource_CreatePair(), Shop_DrawStock(), Shop_DrawUnitGrid(), Ui_ApplyTableScaleToObject(), UiMenu_CreateCursor(), and UiText_DrawGlyph().
| u8 RenderOutput::unk10[4] |
The depth queue's link: with oam it is the sprite entry queued each frame, read as struct CursorSprite.
Definition at line 76 of file render_input.h.
| struct RenderOam RenderOutput::oam |
Definition at line 77 of file render_input.h.
Referenced by CreateSideObject(), Debug_SelectAbilityPair(), ItemMenu_SelectGiveQuantity(), ItemMenu_SelectTarget(), OptionMenu_Open(), PsynergyMenu_SelectTarget(), RenderOutput_BobPair(), RenderOutput_Create(), RenderOutput_Release(), RenderResource_CreateFrame(), RenderResource_CreatePair(), Shop_SelectQuantity(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), ShopCursor_SetPositionImmediate(), Ui_ApplyTableScaleToObject(), UiMenu_PositionCursor(), UiMenu_SlideCursor(), and UiText_DrawGlyph().