Halloween! 🎃63% matched! (#430)

* Match func_80085B9C

* Match draw_menu_elements

* Match render_file_select_menu

* Minor cleanup and semi documenting

* Fix some warnings

* Match func_800871D8

* More SIDeviceStatus stuff

* Update progress

* Fix non equivalent

* Update filter alpha to blend factor

* Fixed minor spacing issue

* Better floats math.
This commit is contained in:
Ryan Myers
2023-10-31 16:09:58 -04:00
committed by GitHub
parent d8e58622e0
commit cf2fa915b9
20 changed files with 521 additions and 2076 deletions
+2 -1
View File
@@ -151,7 +151,7 @@ typedef struct MenuElement {
/* 0x0C */ u8 filterRed;
/* 0x0D */ u8 filterGreen;
/* 0x0E */ u8 filterBlue;
/* 0x0F */ u8 filterAlpha; // 0 = no filter color, 0xFF = full color.
/* 0x0F */ u8 filterBlendFactor; // 0 = no filter color, 0xFF = full color.
/* 0x10 */ u8 opacity;
// Element Properties
/* 0x11 */ u8 textFont;
@@ -162,6 +162,7 @@ typedef struct MenuElement {
/* 0x14 */ void *element; // Generic pointer
/* 0x14 */ char *asciiText; // Pointer to ascii text to be displayed on the screen.
/* 0x14 */ TextureHeader *texture; // Pointer to texture to be displayed on the screen.
/* 0x14 */ DrawTexture *drawTexture; // Pointer to texture to be displayed on the screen.
/* 0x14 */ s32 *number; // Pointer to a number to be displayed on the screen.
/* 0x14 */ u16 *numberU16; // Pointer to a number to be displayed on the screen.
/* 0x14 */ s32 value; // Some value for elementType == 5