Decomped gfx setup code & changed player pos coords to array (#84)

* Decomped gfx setup code and changed player pos coords to array
This commit is contained in:
CoderStig
2021-12-09 14:10:39 -07:00
committed by GitHub
parent bfcbb8aada
commit 46247502ad
49 changed files with 827 additions and 4259 deletions
+8 -5
View File
@@ -59,9 +59,9 @@ typedef struct {
typedef struct {
// B4 long
f32 posX;
f32 posY;
f32 posZ;
Vec3f pos;
//f32 posY;
//f32 posZ;
f32 unk; // lookat? faceangle?
f32 unk1;
f32 unk2;
@@ -82,8 +82,10 @@ typedef struct {
s32 unk10; // 0
s32 unk11; // 0
s32 unk12; // 0
s32 unk13; // 0x103F7
s32 unk14; // 0x05BC00## Surface camera is over?
u16 unk13; // 0x103F7
u16 unk13_and_a_half;
u16 unk14; // 0x05BC00## Surface camera is over?
u16 unk14_half;
f32 collisionX;
f32 collisionY;
f32 collisionZ;
@@ -120,6 +122,7 @@ typedef struct {
/* 0x000A */ char unk_00A[0x2];
/* 0x000C */ s32 unk_00C;
/* 0x0010 */ char unk_010[0x4];
/* 0x0014 */ f32 posX;
/* 0x0018 */ f32 posY;
/* 0x001C */ f32 posZ;