diff options
| author | Jordan Longstaff <JordanLongstaff@users.noreply.github.com> | 2025-12-06 18:32:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 15:32:14 -0800 |
| commit | f6b17e23584c17fd2d6ec0d1867b8e395a0ed747 (patch) | |
| tree | 3ee7b9d216ec5f3c1169c3331f83f6be641fb7d0 /include | |
| parent | f973883b060874f5ed6c4dd08a8fda2d5ba1b0d4 (diff) | |
Document textbox types, backgrounds and two related global array variables (#1835)
* Document `D_801CFC78`, `func_80150A84` and textbox types
* Format
* Textbox background enum
* More enum usages
* Rename D_801D03A8
* Fix value of TEXTBOX_BG_NONE
* Convert background type enum to macros
* Restore enum, fix BSS ordering
* Rename to SetTextboxColor
* More BSS fixing
Diffstat (limited to 'include')
| -rw-r--r-- | include/z64message.h | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/include/z64message.h b/include/z64message.h index 4142ef324..77ebcfc0c 100644 --- a/include/z64message.h +++ b/include/z64message.h @@ -15,25 +15,34 @@ struct OcarinaStaff; struct PlayState; typedef enum TextBoxType { - /* 0x00 */ TEXTBOX_TYPE_0, - /* 0x01 */ TEXTBOX_TYPE_1, - /* 0x02 */ TEXTBOX_TYPE_2, - /* 0x03 */ TEXTBOX_TYPE_3, + /* 0x00 */ TEXTBOX_TYPE_BLACK, + /* 0x01 */ TEXTBOX_TYPE_WOODEN, + /* 0x02 */ TEXTBOX_TYPE_BLUE_FADED, + /* 0x03 */ TEXTBOX_TYPE_OCARINA, /* 0x04 */ TEXTBOX_TYPE_4, - /* 0x05 */ TEXTBOX_TYPE_5, - /* 0x06 */ TEXTBOX_TYPE_6, - /* 0x07 */ TEXTBOX_TYPE_7, - /* 0x08 */ TEXTBOX_TYPE_8, - /* 0x09 */ TEXTBOX_TYPE_9, + /* 0x05 */ TEXTBOX_TYPE_CLEAR, + /* 0x06 */ TEXTBOX_TYPE_DISPLAY_ALL, + /* 0x07 */ TEXTBOX_TYPE_CLEAR_DISPLAY_ALL, + /* 0x08 */ TEXTBOX_TYPE_BLUE, + /* 0x09 */ TEXTBOX_TYPE_PAUSE_INFO, /* 0x0A */ TEXTBOX_TYPE_A, /* 0x0B */ TEXTBOX_TYPE_B, - /* 0x0C */ TEXTBOX_TYPE_C, - /* 0x0D */ TEXTBOX_TYPE_D, - /* 0x0E */ TEXTBOX_TYPE_E, + /* 0x0C */ TEXTBOX_TYPE_TITLE_CARD, + /* 0x0D */ TEXTBOX_TYPE_NOTEBOOK_NOTIFICATION, + /* 0x0E */ TEXTBOX_TYPE_OCARINA_FREE_PLAY, /* 0x0F */ TEXTBOX_TYPE_F, /* 0x10 */ TEXTBOX_TYPE_MAX } TextBoxType; +typedef enum TextBoxBackground { + /* 0x0 */ TEXTBOX_BG_DEFAULT, + /* 0x1 */ TEXTBOX_BG_WOODEN, + /* 0x2 */ TEXTBOX_BG_OCARINA, + /* 0x3 */ TEXTBOX_BG_FADED, + /* 0x4 */ TEXTBOX_BG_NOTEBOOK, + /* 0xE */ TEXTBOX_BG_NONE = 14, +} TextBoxBackground; + #define TEXTBOX_ENDTYPE_DEFAULT 0x00 #define TEXTBOX_ENDTYPE_TWO_CHOICE 0x10 |
