summaryrefslogtreecommitdiff
path: root/src/code_800AF9B0.h
diff options
context:
space:
mode:
authortehzz <tehzz@users.noreply.github.com>2022-06-22 22:21:29 -0400
committerGitHub <noreply@github.com>2022-06-22 19:21:29 -0700
commit132db50245f670d8492b5671b53f243981336d1d (patch)
treedf1a636d31e86596515b617ff3cfd353cb9e203e /src/code_800AF9B0.h
parent9ac748b0d022987fc1137ae4ac7b3a0c42f0ef23 (diff)
Split and Decompile Code_800AF9B0 (#228)
* change return type of func_8000546C * try to fix submodules * update asm_processor for new ASM directives * split code_800AF8B0 into 3 files; move rodata into files/asm * move rodata into code_800AF9B0 asm funcs * decomp func_800AF9E4 * match 800AFF58 * merge in master (renamed code_800AF9B0.c to menus.c) * revert menus.c back to code_800AF9B0.c * add bss to code_800AF9B0 * rename code_800B0350.c to menus.c * remove unused ALIGN macros
Diffstat (limited to 'src/code_800AF9B0.h')
-rw-r--r--src/code_800AF9B0.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/code_800AF9B0.h b/src/code_800AF9B0.h
new file mode 100644
index 000000000..a5bff659b
--- /dev/null
+++ b/src/code_800AF9B0.h
@@ -0,0 +1,22 @@
+#ifndef CODE_800AF9B0_H
+#define CODE_800AF9B0_H
+
+#include "common_structs.h"
+#include <types.h>
+
+/* Function Prototypes */
+void func_800AF9B0(void);
+void func_800B0004(void);
+
+/* This is where I'd put my static data, if I had any */
+
+extern s32 gCCSelection; // D_800DC538 in main.c
+extern s32 gModeSelection; // D_800DC53C
+extern s32 D_800DC540;
+extern s16 gCurrentCourseId; // D_800DC5A0
+extern s32 gIsMirrorMode; // D_800DC5F4
+extern s32 D_800E86A4;
+extern s8 gDisplayedControllerPakTableRows[5]; // D_800E86C6
+extern s32 D_800E86E4;
+
+#endif /* CODE_800AF9B0_H */