Decompile ovl_TG_Sw (#44)

Co-authored-by: MMDecomp <MMDecomp@anon.tld>
This commit is contained in:
Kenix3
2020-12-09 19:35:40 -05:00
committed by GitHub
parent 96f680d1d1
commit 6ac8ea373c
10 changed files with 116 additions and 40 deletions
+3 -3
View File
@@ -1540,8 +1540,8 @@ s32 func_800E9250(GlobalContext* ctxt, Actor* actor, Vec3s* param_3, Vec3s* para
u8 func_800E9360(void); // func_800E9360
void static_context_init(void); // func_800E93E0
void func_800E9470(void); // func_800E9470
void func_800E9488(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8, UNK_TYPE4 param_9, UNK_TYPE1 param_10, UNK_TYPE1 param_11, UNK_TYPE1 param_12, UNK_TYPE1 param_13, UNK_TYPE2 param_14, UNK_TYPE4 param_15); // func_800E9488
void func_800E9564(void); // func_800E9564
void DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX, f32 scaleY, f32 scaleZ, u8 red, u8 green, u8 blue, u8 alpha, s16 type, GraphicsContext* gfxCtx); // func_800E9488
void DebugDisplay_DrawObjects(GlobalContext* globalCtx); // func_800E9564
void func_800E95F4(void); // func_800E95F4
void func_800E97D8(void); // func_800E97D8
void func_800E992C(void); // func_800E992C
@@ -2737,7 +2737,7 @@ void func_8013D768(void); // func_8013D768
void func_8013D83C(void); // func_8013D83C
void func_8013D8DC(void); // func_8013D8DC
void func_8013D924(void); // func_8013D924
void func_8013D960(void); // func_8013D960
Actor* func_ActorCategoryIterateById(GlobalContext* globalCtx, struct Actor* actorListStart, s32 actorCategory, s32 actorId); // func_8013D960
void func_8013D9C8(void); // func_8013D9C8
void func_8013DB90(void); // func_8013DB90
void func_8013DC40(void); // func_8013DC40
-6
View File
@@ -9102,12 +9102,6 @@ void func_80B19718(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_
void EnSnowman_Draw(void); // func_80B198B0
void func_80B19948(void); // func_80B19948
void func_80B19998(void); // func_80B19998
void func_80B19F60(void); // func_80B19F60
void func_80B1A008(void); // func_80B1A008
void TGSw_Init(void); // func_80B1A15C
void TGSw_Destroy(void); // func_80B1A17C
void TGSw_Update(void); // func_80B1A18C
void TGSw_Draw(void); // func_80B1A1B0
void EnPoSisters_Init(void); // func_80B1A3B0
void EnPoSisters_Destroy(void); // func_80B1A600
void func_80B1A648(void); // func_80B1A648
+7 -6
View File
@@ -40,12 +40,13 @@ extern GraphicsContext* oGfxCtx;
#define GRAPH_ALLOC(gfxCtx, size) \
((gfxCtx)->polyOpa.d = (Gfx*)((u8*)(gfxCtx)->polyOpa.d - (size)))
#define SQ(x) ((x)*(x))
#define ABS(x) ((x) >= 0 ? (x) : -(x))
#define ULTRA_ABS(x) ((x) > 0) ? (x) : -(x)
#define DECR(x) ((x) == 0 ? 0 : ((x) -= 1))
#define SQ(x) ((x)*(x))
#define ABS(x) ((x) >= 0 ? (x) : -(x))
#define ABS_ALT(x) ((x) < 0 ? -(x) : (x))
#define DECR(x) ((x) == 0 ? 0 : ((x) -= 1))
#define CLAMP(x, min, max) ((x) < (min) ? (min) : (x) > (max) ? (max) : (x))
#define CLAMP_MAX(x, max) ((x) > (max) ? (max) : (x))
#define CLAMP_MIN(x, min) ((x) < (min) ? (min) : (x))
#define CLAMP_MAX(x, max) ((x) > (max) ? (max) : (x))
#define CLAMP_MIN(x, min) ((x) < (min) ? (min) : (x))
#endif // _MACROS_H_
-4
View File
@@ -10509,10 +10509,6 @@ extern OverlayRelocationSection enSnowmanOverlayInfo; // D_80B19BA0
extern u32 enSnowmanOverlayRelocations[233]; // D_80B19BB4
extern u32 enSnowmanOverlayInfoOffset; // D_80B19F5C
extern ActorInit TG_Sw_InitVars; // TG_Sw_InitVars
extern UNK_TYPE4 D_80B1A340; // D_80B1A340
extern UNK_TYPE4 D_80B1A344; // D_80B1A344
extern UNK_TYPE4 D_80B1A348; // D_80B1A348
extern UNK_TYPE4 D_80B1A34C; // D_80B1A34C
extern OverlayRelocationSection tGSwOverlayInfo; // D_80B1A350
extern u32 tGSwOverlayRelocations[16]; // D_80B1A364
extern u32 tGSwOverlayInfoOffset; // D_80B1A3AC