Attempt to decompile texturesLoadConfigs

This commit is contained in:
Ryan Dwyer
2020-12-12 23:34:38 +10:00
parent 34297b1203
commit 2f59959fe5
12 changed files with 155 additions and 62 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
u32 func0f0abe70(void);
u32 func0f0ac138(void);
Gfx *func0f0ac4b8(Gfx *gdl, u32 arg1, f32 arg2, struct coord *arg3, u32 colour1, f32 arg5, struct coord *arg6, u32 colour2);
Gfx *func0f0ac4b8(Gfx *gdl, struct textureconfig *arg1, f32 arg2, struct coord *arg3, u32 colour1, f32 arg5, struct coord *arg6, u32 colour2);
u32 func0f0acb90(void);
void bullettailTick(struct bullettail *bullettail);
u32 func0f0adcc8(void);
+2 -2
View File
@@ -9,8 +9,8 @@ u32 func0f0b3468(void);
u32 func0f0b34d8(void);
u32 func0f0b3548(void);
u32 func0f0b35b8(void);
u32 func0f0b3988(void);
void func0f0b39c0(Gfx **gdl, struct var800ab5a8 *arg1, u32 arg2, u32 arg3, u32 arg4, u32 arg5, u32 arg6);
void func0f0b3988(struct textureconfig *config);
void func0f0b39c0(Gfx **gdl, struct textureconfig *arg1, u32 arg2, u32 arg3, u32 arg4, u32 arg5, u32 arg6);
void currentPlayerSetScreenSize(f32 width, f32 height);
void currentPlayerSetScreenPosition(f32 left, f32 top);
void currentPlayerSetPerspective(f32 near, f32 fovy, f32 aspect);
+3 -3
View File
@@ -29,12 +29,12 @@ u32 func0f172e70(void);
u32 func0f172e8c(void);
u32 func0f172f44(void);
u32 func0f172f54(void);
u32 func0f172f5c(void);
u32 func0f173010(void);
void func0f172f5c(Gfx *gdl, u32 arg1, u32 arg2);
void func0f173010(u32 *texturenum, u32 arg1, u32 arg2);
u32 func0f173434(void);
u32 func0f1734e8(void);
u32 func0f173520(void);
u32 func0f17353c(void);
void func0f1735c0(void);
void texturesLoadConfigs(void);
#endif
+1 -1
View File
@@ -24,6 +24,6 @@ u8 func0f110cf8(u8 arg0);
u32 func0f110d90(void);
void func0f110da8(void);
u32 func0f110f4c(void);
struct var800ab5a8 *func0f111460(s32 playernum, s32 arg1, s32 arg2);
struct textureconfig *func0f111460(s32 playernum, s32 arg1, s32 arg2);
#endif
+22 -9
View File
@@ -783,16 +783,29 @@ extern u32 var800ab540;
extern u32 var800ab544;
extern u32 var800ab548;
extern u32 var800ab550;
extern u32 var800ab554;
extern u8 *g_TextureConfigSegment;
extern u32 var800ab558;
extern u32 var800ab55c;
extern u32 var800ab560;
extern u32 var800ab570;
extern u32 var800ab574;
extern u32 var800ab578;
extern u32 var800ab57c;
extern u32 var800ab5a0;
extern struct var800ab5a8 *var800ab5a8; // indexed by some kind of texturenum
extern struct textureconfig *var800ab55c;
extern struct textureconfig *var800ab560;
extern Gfx *var800ab564;
extern Gfx *var800ab568;
extern Gfx *var800ab56c;
extern u32 *var800ab570;
extern struct textureconfig *var800ab574;
extern struct textureconfig *var800ab578;
extern struct textureconfig *var800ab57c;
extern struct textureconfig *var800ab580;
extern struct textureconfig *var800ab584;
extern struct textureconfig *var800ab588;
extern struct textureconfig *var800ab58c;
extern struct textureconfig *var800ab590;
extern struct textureconfig *var800ab594;
extern struct textureconfig *var800ab598;
extern struct textureconfig *var800ab59c;
extern struct textureconfig *var800ab5a0;
extern struct textureconfig *var800ab5a4;
extern struct textureconfig *var800ab5a8;
extern struct textureconfig *var800ab5ac;
extern s32 var800ab5b0;
extern struct var800ab5b8 var800ab5b8[8];
extern struct var800ab718 var800ab718[8];
+11 -6
View File
@@ -6191,12 +6191,6 @@ struct var80061420 {
s32 unk04;
};
struct var800ab5a8 {
u32 unk00;
u32 unk04;
u32 unk08;
};
struct var800ab5b8 {
u32 unk00;
u32 unk04;
@@ -6641,4 +6635,15 @@ struct var80067e6c {
f32 value;
};
struct textureconfig {
u32 texturenum;
u8 width;
u8 height;
u8 level;
u8 format;
u8 depth;
u8 s;
u8 t;
};
#endif