Decompile shardsTick

This commit is contained in:
Ryan Dwyer
2021-02-10 22:04:40 +10:00
parent dc4922b0d3
commit ce040a5d9c
13 changed files with 92 additions and 216 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ extern u32 var8007f9d8;
extern u32 var8007f9fc;
extern u32 var8007fa60;
extern u32 var8007fa80;
extern u32 var8007fa84;
extern bool g_ShardsActive;
extern u8 g_InGameSubtitles;
extern u8 g_CutsceneSubtitles;
extern s32 g_ScreenSize;
+1 -1
View File
@@ -4,7 +4,7 @@
#include "types.h"
u32 func0f013550(void);
void func0f0139f0(void);
void shardsInit(void);
void func0f013b80(void);
void func0f013ba0(void);
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
u32 func0f015420(void);
u32 shardsReset(void);
#endif
+1 -1
View File
@@ -3,6 +3,6 @@
#include <ultra64.h>
#include "types.h"
void func0f01de30(void);
void shardsTick(void);
#endif
+2 -2
View File
@@ -694,8 +694,8 @@ extern char var800a41c0[];
extern u32 var800a41d8;
extern u32 var800a45a0;
extern u32 var800a45a8;
extern s32 var800a45c0; // count of var800a45c4
extern struct var800a45c4 *var800a45c4;
extern s32 g_MaxShards; // count of g_Shards
extern struct shard *g_Shards;
extern struct var800a45d0 var800a45d0;
extern Gfx *var800a4634;
extern struct var800a4640 var800a4640;
+6 -14
View File
@@ -6687,21 +6687,13 @@ struct gfxvtx {
/*0x0a*/ s16 unk0a;
};
struct var800a45c4 {
struct shard {
/*0x00*/ u32 unk00;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x1c*/ u32 unk1c;
/*0x20*/ u32 unk20;
/*0x24*/ u32 unk24;
/*0x28*/ u32 unk28;
/*0x2c*/ u32 unk2c;
/*0x30*/ u32 unk30;
/*0x34*/ u32 unk34;
/*0x04*/ s32 age60;
/*0x08*/ struct coord pos;
/*0x14*/ struct coord rot;
/*0x20*/ struct coord vel;
/*0x2c*/ struct coord rotspeed;
/*0x38*/ u32 unk38;
/*0x3c*/ u32 unk3c;
/*0x40*/ u32 unk40;