Decompile func0f12715c

This commit is contained in:
Ryan Dwyer
2022-01-18 19:37:12 +10:00
parent 3dd434156a
commit ed8e9d254e
9 changed files with 80 additions and 175 deletions
+2 -2
View File
@@ -406,8 +406,8 @@ extern struct headorbody g_HeadsAndBodies[];
extern struct hatposition var8007dae4[1][6];
extern f32 var8007db80;
extern f32 var8007db84;
extern u32 var8007db88;
extern u32 var8007db94;
extern f32 var8007db88[];
extern u32 var8007db94[];
extern u32 var8007dba0;
extern u32 var8007dbb8;
extern u32 var8007dbd0;
+3 -3
View File
@@ -18,11 +18,11 @@ u32 func0f122ce8(void);
u32 func0f122d4c(void);
u32 func0f123fd4(void);
u32 func0f125948(void);
u32 func0f125a1c(void);
f32 func0f125a1c(struct bootbufferthingdeep *arg0);
u32 func0f125a6c(void);
u32 func0f126384(void);
Gfx *func0f126384(Gfx *gdl, u32 arg1, u32 arg2, f32 arg3, f32 orbsize, u32 arg5, f32 arg6);
u32 func0f126c3c(void);
u32 func0f126de8(void);
Gfx *func0f126de8(Gfx *gdl);
Gfx *func0f12715c(Gfx *gdl);
void func0f127334(s32 arg0, s32 arg1, s32 arg2);
s32 func0f127490(s32 arg0, s32 arg1);
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
struct var80081058 *func0f1657cc(void);
struct sky *skyGetCurrent(void);
f32 func0f1657e4(void);
void func0f1657f8(void);
void skyApplyType1(struct skytype1 *sky);
+2 -1
View File
@@ -13,8 +13,9 @@ void __scAppendList(OSSched *sc, OSScTask *t);
void __scExec(OSSched *sc, OSScTask *sp, OSScTask *dp);
void __scMain(void *arg);
void __scYield(OSSched *sc);
struct bootbufferthing *bbufGetIndex0Buffer(void);
void bbufResetBuffers(void);
struct bootbufferthing *bbufGetIndex0Buffer(void);
struct bootbufferthing *bbufGetIndex1Buffer(void);
void bbufIncIndex0(void);
void bbufIncIndex1(void);
void bbufUpdateIndex2Buffer(void);
+9 -9
View File
@@ -3297,14 +3297,14 @@ struct var800a6600 {
f32 unk14;
};
struct var80081058 {
struct sky {
/*0x00*/ s32 fogmin;
/*0x04*/ s32 fogmax;
/*0x08*/ u8 sky_r;
/*0x09*/ u8 sky_g;
/*0x0a*/ u8 sky_b;
/*0x0b*/ u8 num_suns;
/*0x0c*/ struct sun *sun;
/*0x0b*/ u8 numsuns;
/*0x0c*/ struct sun *suns;
/*0x10*/ u8 clouds_enabled;
/*0x14*/ f32 clouds_scale;
/*0x18*/ u16 unk18;
@@ -3332,7 +3332,7 @@ struct sun {
f32 y;
f32 z;
u16 texture_size;
u16 orb_size;
s16 orb_size;
};
struct skytype1 {
@@ -3347,8 +3347,8 @@ struct skytype1 {
/*0x10*/ u8 sky_r;
/*0x11*/ u8 sky_g;
/*0x12*/ u8 sky_b;
/*0x13*/ u8 num_suns;
/*0x14*/ struct sun *sun;
/*0x13*/ u8 numsuns;
/*0x14*/ struct sun *suns;
/*0x18*/ u8 clouds_enabled;
/*0x1a*/ s16 clouds_scale;
/*0x1c*/ u8 unk1c;
@@ -3375,8 +3375,8 @@ struct skytype2 {
/*0x0e*/ u8 sky_r;
/*0x0f*/ u8 sky_g;
/*0x10*/ u8 sky_b;
/*0x11*/ u8 num_suns;
/*0x14*/ struct sun *sun;
/*0x11*/ u8 numsuns;
/*0x14*/ struct sun *suns;
/*0x18*/ u8 clouds_enabled;
/*0x19*/ u8 clouds_r;
/*0x1a*/ u8 clouds_g;
@@ -3630,7 +3630,7 @@ struct bootbufferthingdeep {
};
struct bootbufferthing {
struct bootbufferthingdeep unk00[120];
struct bootbufferthingdeep unk00[15][8];
};
struct credit {