Mips2c refresh (#159)

* Match 3 functions

* Refresh a ton mips_2_c outputs

* Add a header file for data_segment2

Update a couple mips_2_c outputs based on the contents of the new header file

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
Tyler McGavran
2022-02-08 00:39:14 -05:00
committed by GitHub
parent 64e8934b30
commit aa47c86fe5
8 changed files with 4921 additions and 5054 deletions
+4831 -4931
View File
File diff suppressed because it is too large Load Diff
+8 -13
View File
@@ -76,6 +76,9 @@ void func_80093754(s32, s32, char*, s32, f32, f32);
void print_text2(s32, s32, char*, s32, f32, f32, s32);
void func_800939C8(s32, s32, char*, s32, f32, f32);
void text_draw(s32, s32, char*, s32, f32, f32);
void func_80093C1C(s32);
void func_80093C88();
void func_80093C90();
void func_80093C98(s32);
void func_80093E20();
void func_80093E40();
@@ -145,7 +148,6 @@ void get_time_record_seconds(s32 , char*);
void get_time_record_centiseconds(s32, char*);
void func_800A8230();
void func_800A8250();
void func_800AB290(struct_8018D9E0_entry*);
void func_800A86E8(struct_8018D9E0_entry*);
void func_800A8E14(struct_8018D9E0_entry*);
void func_800A8EC0(struct_8018D9E0_entry*);
@@ -157,7 +159,12 @@ struct_8018D9E0_entry *func_800AAEF4(s32);
struct_8018D9E0_entry *func_800AAF30(s32);
s32 func_800AAF70(s32);
void func_800AAF94(struct_8018D9E0_entry*, s32);
void func_800AB260(struct_8018D9E0_entry*);
void func_800AB290(struct_8018D9E0_entry*);
void func_800AC978(struct_8018D9E0_entry*);
void func_800AEE90(struct_8018D9E0_entry*);
void func_800AEEBC(struct_8018D9E0_entry*);
void func_800AEEE8(struct_8018D9E0_entry*);
void func_800AF480(struct_8018D9E0_entry*);
void func_800AF4DC(struct_8018D9E0_entry*);
void func_800AF740(struct_8018D9E0_entry*);
@@ -173,18 +180,6 @@ void func_80057CE4();
/* This is where I'd put my static data, if I had any */
extern Gfx D_02007650[];
extern Gfx D_020076B0[];
extern Gfx D_020077A8[];
extern Gfx D_020077D8[];
extern Gfx D_02007F18[];
extern Gfx D_02007F48[];
extern Gfx D_02007F60[];
extern Gfx D_02007FC8[];
extern Gfx D_02008008[];
extern Gfx D_02008030[];
extern Gfx D_02008058[];
extern Gfx D_06009410[];
extern s16 gGlyphDisplayWidth[]; // D_800EF690
+80
View File
@@ -0,0 +1,80 @@
#ifndef DATA_SEGMENT2_H
#define DATA_SEGMENT2_H
extern s32 D_02007B38[];
extern Gfx D_02007650[];
extern Gfx D_020076B0[];
extern Gfx D_020076E0[];
extern Gfx D_02007708[];
extern Gfx D_02007728[];
extern Gfx D_02007748[];
extern Gfx D_02007768[];
extern Gfx D_02007788[];
extern Gfx D_020077A8[];
extern Gfx D_020077D8[];
extern Gfx D_020077F8[];
extern Gfx D_02007818[];
extern Gfx D_02007838[];
extern Gfx D_02007858[];
extern Gfx D_02007878[];
extern Gfx D_02007898[];
extern Gfx D_020078B8[];
extern Gfx D_020078D8[];
extern Gfx D_020078F8[];
extern Gfx D_02007918[];
extern Gfx D_02007938[];
extern Gfx D_02007958[];
extern Gfx D_02007978[];
extern Gfx D_02007998[];
extern Gfx D_020079B8[];
extern Gfx D_020079D8[];
extern Gfx D_020079F8[];
extern Gfx D_02007A18[];
extern Gfx D_02007A38[];
extern Gfx D_02007A58[];
extern Gfx D_02007A78[];
extern Gfx D_02007A98[];
extern Gfx D_02007AB8[];
extern Gfx D_02007AD8[];
extern Gfx D_02007AF8[];
extern Gfx D_02007B18[];
extern Gfx D_02007F18[];
extern Gfx D_02007F48[];
extern Gfx D_02007F60[];
extern Gfx D_02007FC8[];
extern Gfx D_02008008[];
extern Gfx D_02008030[];
extern Gfx D_02008058[];
extern Gfx D_060093F8[];
extern Gfx D_0D006940[];
extern mk_Vtx_Flag D_02007BB8[];
extern mk_Vtx_Flag D_02007BD8[];
extern mk_Vtx_Flag D_02007BF8[];
extern mk_Vtx_Flag D_02007C18[];
extern mk_Vtx_Flag D_02007C38[];
extern mk_Vtx_Flag D_02007C58[];
extern mk_Vtx_Flag D_02007C78[];
extern mk_Vtx_Flag D_02007C98[];
extern mk_Vtx_Flag D_02007CB8[];
extern mk_Vtx_Flag D_02007CD8[];
extern mk_Vtx_Flag D_02007CF8[];
extern mk_Vtx_Flag D_02007D18[];
extern mk_Vtx_Flag D_02007D38[];
extern mk_Vtx_Flag D_02007D58[];
extern mk_Vtx_Flag D_02007D78[];
extern mk_Vtx_Flag D_02007D98[];
extern mk_Vtx_Flag D_02007DB8[];
extern mk_Vtx_Flag D_02007DD8[];
extern mk_Vtx_Flag D_02007DF8[];
extern mk_Vtx_Flag D_02007E18[];
extern mk_Vtx_Flag D_02007E38[];
extern mk_Vtx_Flag D_02007E58[];
extern mk_Vtx_Flag D_02007E78[];
extern mk_Vtx_Flag D_02007E98[];
extern mk_Vtx_Flag D_02007EB8[];
extern mk_Vtx_Flag D_02007ED8[];
extern mk_Vtx_Flag D_02007EF8[];
#endif
+2 -34
View File
@@ -2,39 +2,7 @@
#include <types.h>
#include <PR/ultratypes.h>
#include <PR/gbi.h>
extern mk_Vtx_Flag D_02007BB8[];
extern s32 D_800E84C0[];
extern mk_Vtx_Flag D_02007BD8[];
extern mk_Vtx_Flag D_02007BF8[];
extern mk_Vtx_Flag D_02007C18[];
extern mk_Vtx_Flag D_02007C38[];
extern mk_Vtx_Flag D_02007C58[];
extern mk_Vtx_Flag D_02007C78[];
extern mk_Vtx_Flag D_02007C98[];
extern mk_Vtx_Flag D_02007CB8[];
extern mk_Vtx_Flag D_02007CD8[];
extern mk_Vtx_Flag D_02007CF8[];
extern mk_Vtx_Flag D_02007D18[];
extern mk_Vtx_Flag D_02007D38[];
extern mk_Vtx_Flag D_02007D58[];
extern mk_Vtx_Flag D_02007D78[];
extern mk_Vtx_Flag D_02007D98[];
extern mk_Vtx_Flag D_02007DB8[];
extern mk_Vtx_Flag D_02007DD8[];
extern mk_Vtx_Flag D_02007DF8[];
extern mk_Vtx_Flag D_02007E18[];
extern mk_Vtx_Flag D_02007E38[];
extern mk_Vtx_Flag D_02007E58[];
extern mk_Vtx_Flag D_02007E78[];
extern mk_Vtx_Flag D_02007E98[];
extern mk_Vtx_Flag D_02007EB8[];
extern mk_Vtx_Flag D_02007ED8[];
extern mk_Vtx_Flag D_02007EF8[];
extern Gfx D_060093F8[];
extern Gfx D_0D006940[];
#include "data_segment2.h"
Gfx D_02007650[] = {
gsDPPipeSync(),
@@ -521,4 +489,4 @@ Gfx D_02008058[] = {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPEndDisplayList(),
};
};