Fully fixed compilation fr

This commit is contained in:
KiritoDv 2025-03-15 14:04:12 -06:00
parent e91320f24e
commit 95461df04a
2 changed files with 3 additions and 0 deletions

View file

@ -97,6 +97,7 @@ typedef struct Color_RGBA32 {
u8 b;
u8 a;
#ifdef __cplusplus
Color_RGBA32() : r(0), g(0), b(0), a(0) {} // sol:not_global
Color_RGBA32(u8 r, u8 g, u8 b, u8 a) : r(r), g(g), b(b), a(a) {} // sol:not_global
#endif
} Color_RGBA32; // size = 0x4

View file

@ -13,6 +13,7 @@ typedef struct Vec3f {
/* 0x4 */ f32 y;
/* 0x8 */ f32 z;
#ifdef __cplusplus
Vec3f() : x(0), y(0), z(0) {} // sol:not_global
Vec3f(f32 x, f32 y, f32 z) : x(x), y(y), z(z) {} // sol:not_global
Vec3f* asRef() { return this; } // sol:not_global
f32* xRef() { return &x; } // sol:not_global
@ -27,6 +28,7 @@ typedef struct Vec3s {
/* 0x2 */ s16 y;
/* 0x4 */ s16 z;
#ifdef __cplusplus
Vec3s() : x(0), y(0), z(0) {} // sol:not_global
Vec3s(s16 x, s16 y, s16 z) : x(x), y(y), z(z) {} // sol:not_global
Vec3s* asRef() { return this; } // sol:not_global
s16* xRef() { return &x; } // sol:not_global