summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-10-23 21:44:45 -0300
committerGitHub <noreply@github.com>2021-10-23 20:44:45 -0400
commit9b89ec5fac324f7204cda20ebc4f8527ee49b856 (patch)
treee08905685b80c5e41abbe3808a3030554c5d7a81 /include
parent4b10b22baabfaf1753d7d7cc2d7339579ee05ed6 (diff)
Document `ovl_select` (#966)
* Some renames * Some renames * Some more renames * pageDown * Last name update * Translate scene entries * formatter * Review * A bunch of suggestions * Run formatter * Roman's suggestions
Diffstat (limited to 'include')
-rw-r--r--include/z64.h29
1 files changed, 12 insertions, 17 deletions
diff --git a/include/z64.h b/include/z64.h
index 3978c52ed..0f3b514cc 100644
--- a/include/z64.h
+++ b/include/z64.h
@@ -847,25 +847,20 @@ typedef struct SelectContext {
/* 0x01D0 */ s32 count;
/* 0x01D4 */ SceneSelectEntry* scenes;
/* 0x01D8 */ s32 currentScene;
- /* 0x01DC */ s32 unk_1DC;
- /* 0x01E0 */ s32 unk_1E0[7];
- /* 0x01FC */ s32 unk_1FC;
- /* 0x0200 */ s32 unk_200;
- /* 0x0204 */ s32 unk_204;
+ /* 0x01DC */ s32 pageDownIndex; // Index of pageDownStops
+ /* 0x01E0 */ s32 pageDownStops[7];
+ /* 0x01FC */ char unk_1FC[0x0C];
/* 0x0208 */ s32 opt;
- /* 0x020C */ s32 unk_20C;
- /* 0x0210 */ s32 unk_210;
- /* 0x0214 */ s32 unk_214;
- /* 0x0218 */ s32 unk_218;
- /* 0x021C */ s32 unk_21C;
- /* 0x0220 */ s32 unk_220;
- /* 0x0224 */ s32 unk_224;
- /* 0x0228 */ s32 unk_228;
- /* 0x022C */ s32 unk_22C;
- /* 0x0230 */ s32 unk_230;
- /* 0x0234 */ s32 unk_234;
+ /* 0x020C */ s32 topDisplayedScene; // The scene which is currently at the top of the screen
+ /* 0x0210 */ char unk_210[0x0C];
+ /* 0x021C */ s32 verticalInputAccumulator;
+ /* 0x0220 */ s32 verticalInput;
+ /* 0x0224 */ s32 timerUp;
+ /* 0x0228 */ s32 timerDown;
+ /* 0x022C */ s32 lockUp;
+ /* 0x0230 */ s32 lockDown;
+ /* 0x0234 */ s32 unk_234; // unused
/* 0x0238 */ u8* staticSegment;
- /* 0x023C */ s32 unk_23C;
} SelectContext; // size = 0x240
typedef struct {