1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

z_select decompiled, 1 non matching left (#202)

* First pass z_select

* lots of progress. 2 non matchings and data stuff needed

* match Select_LoadGame

* z_select almost ok, 1 func left

* remove comments

* remove comments and add description

* remove unused flg_set asm

* set_next_gamestate macro

* pr suggestions 1

* pr suggestions 2

* map -> scene

* pr suggestions 3

Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
This commit is contained in:
fig02 2020-06-13 22:59:58 -04:00 committed by GitHub
parent df3bfbc168
commit 031d946db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 721 additions and 1675 deletions

View file

@ -1136,6 +1136,40 @@ typedef struct {
/* 0x01E2 */ char unk_1E2[0x06];
} TitleContext; // size = 0x1E8
typedef struct {
/* 0x00 */ char* name;
/* 0x04 */ void (*loadFunc)(struct SelectContext*, s32);
/* 0x08 */ s32 entranceIndex;
} SceneSelectEntry; // size = 0xC
typedef struct {
/* 0x0000 */ GameState state;
/* 0x00A4 */ s32 unk_A4;
/* 0x00A8 */ View view;
/* 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;
/* 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;
/* 0x0238 */ void* staticSegment;
/* 0x023C */ s32 unk_23C;
} SelectContext; // size = 0x240
typedef struct {
/* 0x0000 */ GameState state;
/* 0x00A4 */ void* staticSegment;