Decompile tex0f1747a4

This commit is contained in:
Ryan Dwyer
2022-04-17 19:39:42 +10:00
parent e21e1cb33f
commit 890e784a7d
4 changed files with 100 additions and 302 deletions
+6 -6
View File
@@ -22,20 +22,20 @@ void texLoadFromConfig(struct textureconfig *config);
void texSelect(Gfx **gdl, struct textureconfig *tconfig, u32 arg2, s32 arg3, u32 arg4, bool arg5, struct texturething *arg6);
void tex0f173a08(void);
bool tex0f173a44(u32 value);
bool texSetLutMode(u32 value);
bool tex0f173a70(s32 index, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, s32 arg7, s32 arg8, s32 arg9, s32 arg10);
bool tex0f173b8c(s32 index, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
bool tex0f173b8c(s32 index, s32 uls, s32 ult, s32 lrs, s32 lrt);
s32 texGetWidthAtLod(struct texloadthing *arg0, s32 lod);
s32 texGetHeightAtLod(struct texloadthing *arg0, s32 lod);
s32 tex0f173d60(struct texloadthing *arg0, s32 lod);
s32 tex0f173e10(struct texloadthing *arg0, s32 lod);
s32 texGetLineSizeInBytes(struct texloadthing *arg0, s32 lod);
s32 texGetSizeInBytes(struct texloadthing *arg0, s32 lod);
void tex0f173e50(struct texloadthing *arg0, s32 *arg1, s32 *arg2);
s32 tex0f173f18(s32 arg0);
u32 tex0f173f48(u32 arg0);
s32 tex0f173f48(s32 arg0);
u32 tex0f173f78(void);
u32 tex0f1742e4(void);
u32 tex0f1743a0(void);
u32 tex0f1747a4(void);
Gfx *tex0f1747a4(Gfx *gdl, struct texloadthing *arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, u32 arg7);
u32 tex0f174b54(void);
u32 tex0f174f30(void);
u32 tex0f1751e4(void);
+6 -6
View File
@@ -5602,11 +5602,11 @@ struct var800ab5b8 {
};
struct var800ab718 {
u32 unk00;
u32 unk04;
u32 unk08;
u32 unk0c;
u32 unk10;
bool inuse;
s32 uls;
s32 ult;
s32 lrs;
s32 lrt;
};
// This struct might be the same struct as shotdata
@@ -6731,7 +6731,7 @@ struct texloadthing {
/*0x08*/ u8 width;
/*0x09*/ u8 height;
/*0x0a*/ u8 unk0a;
/*0x0b*/ u8 unk0b_00 : 3;
/*0x0b*/ u8 maxlod : 3;
/*0x0b*/ u8 gbiformat : 3;
/*0x0b*/ u8 depth : 2;
/*0x0c*/ u32 lutmodeindex : 2;