match: func_800BCC70 (#539)

* match: func_800BCC70

* refac: replace magic value with constant
This commit is contained in:
Dominik Peters
2025-05-01 16:35:49 +02:00
committed by GitHub
parent 93413ebb03
commit 45208555b8
3 changed files with 304 additions and 38 deletions
+19 -9
View File
@@ -10,6 +10,18 @@
#include "gbi.h"
#include "PR/libaudio.h"
typedef struct Vec4f {
union {
struct {
f32 x;
f32 y;
f32 z;
f32 w;
};
f32 f[4];
};
} Vec4f;
// Stolen from PD
// This hacky structure allows coords to be accessed using
// coord->x, coord->y and coord->z, but also as
@@ -77,17 +89,15 @@ typedef struct Vec3i {
};
} Vec3i;
typedef struct Vec4f {
typedef struct Vec2i {
union {
struct {
f32 x;
f32 y;
f32 z;
f32 w;
};
f32 f[4];
struct {
s32 x;
s32 y;
};
s32 i[2];
};
} Vec4f;
} Vec2i;
/* Size: 0x24 / 36 bytes */
typedef struct SoundMask {