mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-04 12:09:54 -04:00
Decompile menuTickItemKeyboard
This commit is contained in:
@@ -145,7 +145,7 @@ extern s32 var80071198;
|
||||
extern s32 var8007119c;
|
||||
extern s32 var800711a0;
|
||||
extern s32 var800711a4;
|
||||
extern u32 var800711ac;
|
||||
extern u8 g_KeyboardKeys[5][10];
|
||||
extern u32 var800711e0;
|
||||
extern u32 var800711e8;
|
||||
extern u32 var800711f4;
|
||||
|
||||
@@ -15,7 +15,7 @@ Gfx *menuRenderItemDropdown(Gfx *gdl);
|
||||
bool menuTickItemDropdown(struct menuitem *item, struct menuframe *frame, struct menuinputs *inputs, u32 arg3, union menuitemtickdata *data);
|
||||
|
||||
Gfx *func0f0e8290(Gfx *gdl, s16 x, s16 y, s16 x2, s16 y2, struct menuitem *item, u32 arg6, u32 arg7);
|
||||
u32 func0f0e855c(void);
|
||||
u32 func0f0e855c(char *text);
|
||||
Gfx *menuRenderItemKeyboard(Gfx *gdl);
|
||||
bool menuTickItemKeyboard(struct menuitem *item, struct menuinputs *inputs, u32 arg2, union menuitemtickdata *data);
|
||||
void menuInitItemKeyboard(struct menuitem *item, union menuitemtickdata *data);
|
||||
|
||||
+7
-7
@@ -3269,10 +3269,10 @@ struct menuitemtickdata_dropdown {
|
||||
|
||||
struct menuitemtickdata_keyboard {
|
||||
char string[11];
|
||||
u8 unk0b;
|
||||
u8 unk0c;
|
||||
u8 unk0d_01 : 1;
|
||||
u8 unk0d_02 : 1;
|
||||
s8 col;
|
||||
s8 row;
|
||||
u8 capslock : 1; // Pressed A on caps button
|
||||
u8 capseffective : 1; // Same as above, but inverted if holding L or R
|
||||
};
|
||||
|
||||
struct menuitemtickdata_list {
|
||||
@@ -6118,13 +6118,13 @@ struct var800a4cf0 {
|
||||
|
||||
struct menuinputs {
|
||||
/*0x00*/ s8 leftright; // Both control stick and C/D buttons - set on initial press and key repeat
|
||||
/*0x01*/ s8 unk01;
|
||||
/*0x02*/ u8 select; // A button
|
||||
/*0x01*/ s8 updown; // As above
|
||||
/*0x02*/ u8 select; // A/Z buttons
|
||||
/*0x03*/ u8 back; // B button
|
||||
/*0x04*/ s8 xaxis; // Control stick's current left/right position
|
||||
/*0x05*/ s8 yaxis; // Control stick's current up/down position
|
||||
/*0x06*/ u8 shoulder; // L or R buttons
|
||||
/*0x07*/ u8 unk07;
|
||||
/*0x07*/ u8 back2; // Used in keyboard
|
||||
/*0x08*/ s8 unk08;
|
||||
/*0x09*/ s8 unk09;
|
||||
/*0x0a*/ s8 start;
|
||||
|
||||
Reference in New Issue
Block a user