remove padding and change to vec3s

This commit is contained in:
inspectredc 2023-11-03 19:06:00 +00:00
parent 391f9b5338
commit 92757988e9
2 changed files with 4 additions and 9 deletions

View File

@ -1112,9 +1112,9 @@ void func_80C0F544(EnBsb* this, Vec3f* pos, Vec3f* velocity, Vec3f* accel, f32 a
var_s0->accel = *accel;
var_s0->unk_30 = arg0;
var_s0->unk_34 = arg1;
var_s0->unk_28 = (s16) (s32) Rand_CenteredFloat(30000.0f);
var_s0->unk_2A = (s16) (s32) Rand_CenteredFloat(30000.0f);
var_s0->unk_2C = (s16) (s32) Rand_CenteredFloat(30000.0f);
var_s0->unk_28.x = (s16) (s32) Rand_CenteredFloat(30000.0f);
var_s0->unk_28.y = (s16) (s32) Rand_CenteredFloat(30000.0f);
var_s0->unk_28.z = (s16) (s32) Rand_CenteredFloat(30000.0f);
return;
}
}

View File

@ -9,17 +9,12 @@ typedef void (*EnBsbActionFunc)(struct EnBsb*, PlayState*);
typedef struct EnBsbUnkStruct {
/* 0x00 */ u8 unk_00;
/* 0x01 */ char unk_01[0x3];
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3f velocity;
/* 0x1C */ Vec3f accel;
/* 0x28 */ s16 unk_28;
/* 0x2A */ s16 unk_2A;
/* 0x2C */ s16 unk_2C;
/* 0x2E */ char unk_2E[0x2];
/* 0x28 */ Vec3s unk_28;
/* 0x30 */ f32 unk_30;
/* 0x34 */ s16 unk_34;
/* 0x36 */ char unk_36[0x2];
} EnBsbUnkStruct; // size = 0x38
typedef struct EnBsb {