ui.h
games/tbs/include/ui.h on GitHub
Structures
UiWork
struct UiWork
A view of the window system's work that names only its dirty bits and its menu busy flag.
| Field | Declared as | |
|---|---|---|
unk000 | u8 unk000[RENDER_DIRTY_OFFSET] | |
dirty | unsigned dirty : 8 | |
unknownMode | u8 unknownMode[RENDER_MENU_BUSY_OFFSET - RENDER_DIRTY_OFFSET - 1] | |
menuBusy | unsigned menuBusy : 8 |
Used by DjinnMenu_DrawElementList, DjinnMenu_DrawStatPreview, DjinnMenu_SelectDjinn, DjinnMenu_ShowCurrentList.
OwnerStatusStatCursor
struct OwnerStatusStatCursor
A cursor stop among the status screen's stats: its help entry, where the cursor points and the run of the row it highlights.
| Field | Declared as | |
|---|---|---|
entry | u8 entry | |
column | u8 column | tiles |
row | u8 row | tiles |
highlightColumn | u8 highlightColumn | tiles |
highlightRow | u8 highlightRow | tiles |
highlightWidth | u8 highlightWidth | tiles |
unk06 | u8 unk06[2] |
Used by Ui_RunOwnerStatusScreen, gOwnerStatus_StatCursors.
OwnerStatusCursor
struct OwnerStatusCursor
A cursor stop on the status screen's equipment or conditions: its help entry and where the cursor points.
| Field | Declared as | |
|---|---|---|
entry | u8 entry | |
column | u8 column | tiles |
row | u8 row | tiles |
unk03 | u8 unk03 |
Used by gOwnerStatus_ConditionCursors, gOwnerStatus_EquipmentCursors.
Globals, without a comment: gOwnerStatus_StatCursors, gOwnerStatus_EquipmentCursors, gOwnerStatus_ConditionCursors, gOwnerStatus_LevelString, gOwnerStatus_HpString, gOwnerStatus_SlashString, gOwnerStatus_PpString, gOwnerStatus_NivString, gOwnerStatus_NvString, gOwnerStatus_KpString, gOwnerStatus_PvString.