mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-13 00:14:09 -04:00
Partial Sector Y decomp (#103)
* allbut2 * quick naming cleanup * post merge warning/error cleanup * hex, enums, extern funcs * data * bss * u * format * review stuff * format review stuff * reorder externs * suggestions
This commit is contained in:
@@ -308,10 +308,12 @@ void func_8006B95C(Object_80*);
|
||||
void func_8006BB78(Actor*);
|
||||
void func_8006C008(Actor*);
|
||||
void func_8006D350(Object_80*);
|
||||
void func_8006ECBC(PlayerShotId, PlayerShot*, s32, f32, f32, f32, f32, f32, f32, f32, f32, f32);
|
||||
void func_8006EEFC(s32, f32, f32, f32, f32, f32, f32, f32, f32, f32);
|
||||
void func_8006EFA0(s32 unk0E4, f32 xPos, f32 yPos, f32 zPos, f32 arg4, f32 arg5, f32 arg6, f32 xRot, f32 yRot,
|
||||
f32 zRot);
|
||||
void func_8006F0D8(f32 xPos, f32 yPos, f32 zPos, f32 arg3);
|
||||
void func_8006F254(Actor*);
|
||||
void func_80072594(Actor*);
|
||||
s32 func_80074F90(Object_80*);
|
||||
void func_80074FF0(Actor*);
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#define SQ(x) ((x) * (x))
|
||||
#define VEC3F_SQ(vec) (SQ((vec).x) + SQ((vec).y) + SQ((vec).z))
|
||||
#define DOT_XYZ(a, b) ((a).x * (b).x + (a).y * (b).y + (a).z * (b).z)
|
||||
#define ABS(x) ((x) >= 0 ? (x) : -(x))
|
||||
|
||||
#define USEC_TO_CYCLES(n) (((u64)(n)*(osClockRate/15625LL))/(1000000LL/15625LL))
|
||||
#define MSEC_TO_CYCLES(n) (USEC_TO_CYCLES((n) * 1000LL))
|
||||
|
||||
@@ -151,7 +151,8 @@ typedef struct {
|
||||
/* 0x50 */ s8 unk_50;
|
||||
/* 0x51 */ char pad51[3];
|
||||
/* 0x54 */ s32 unk_54;
|
||||
/* 0x58 */ char pad58[8];
|
||||
/* 0x58 */ f32 unk_58;
|
||||
/* 0x5C */ f32 unk_5C;
|
||||
/* 0x60 */ f32 unk_60;
|
||||
/* 0x64 */ Vec3f vel;
|
||||
/* 0x70 */ f32 sfxPos[3];
|
||||
|
||||
Reference in New Issue
Block a user