Decompile menuSwipe

This commit is contained in:
Ryan Dwyer
2022-01-28 20:52:22 +10:00
parent 8c31ca491c
commit 1ea73c0d37
4 changed files with 69 additions and 441 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ bool menuIsItemDisabled(struct menuitem *item, struct menudialog *dialog);
bool menuIsItemFocusable(struct menuitem *item, struct menudialog *dialog, s32 arg2);
struct menuitem *dialogFindItemAtColY(s32 targety, s32 colindex, struct menudialogdef *dialogdef, s32 *rowindexptr, struct menudialog *dialog);
struct menuitem *dialogFindFirstItem(struct menudialog *dialog);
u32 func0f0f2928(void);
struct menuitem *func0f0f2928(struct menudialog *dialog);
void dialogChangeItemFocusVertically(struct menudialog *dialog, s32 updown);
s32 dialogChangeItemFocusHorizontally(struct menudialog *dialog, s32 leftright);
s32 dialogChangeItemFocus(struct menudialog *dialog, s32 leftright, s32 updown);
@@ -77,7 +77,7 @@ Gfx *menuRenderDialog(Gfx *gdl, struct menudialog *dialog, struct menu *menu, s3
Gfx *menuRenderDialogs(Gfx *gdl);
void func0f0f8bb4(u8 *arg0, u32 arg1, u32 arg2);
void menuInit(void);
void menuSwipe(s32 swipedir);
void menuSwipe(s32 direction);
void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickflags);
void dialogInitItems(struct menudialog *dialog);
void func0f0fa6ac(void);
+1 -1
View File
@@ -3801,7 +3801,7 @@ struct menudialog {
/*0x64*/ s32 scroll; // scroll related, 0 when at top, negative when scrolled down
/*0x68*/ s32 dstscroll; // same value as unk64
/*0x6c*/ u8 unk6c;
/*0x6d*/ s8 unk6d;
/*0x6d*/ s8 swipedir;
/*0x6e*/ u8 unk6e;
};