summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_sail.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-08-20 19:09:06 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-08-20 19:09:06 -0400
commitac8ff10650d7a2f54888a182dba630dd711ac03d (patch)
tree35febdf90557a21f552e512a6e771fb596413d33 /src/d/actor/d_a_sail.cpp
parent709de55878722fbbdf8b0f2c2713778b342ec1fe (diff)
Fix most weak function ordering issues
Diffstat (limited to 'src/d/actor/d_a_sail.cpp')
-rw-r--r--src/d/actor/d_a_sail.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/d/actor/d_a_sail.cpp b/src/d/actor/d_a_sail.cpp
index caf5f96b..9402c340 100644
--- a/src/d/actor/d_a_sail.cpp
+++ b/src/d/actor/d_a_sail.cpp
@@ -20,6 +20,32 @@
#include "SSystem/SComponent/c_lib.h"
#include "SSystem/SComponent/c_angle.h"
+class daSail_HIO_c : public JORReflexible {
+public:
+ daSail_HIO_c() {
+ mNo = -1;
+ m05 = 1;
+ m06 = 1;
+ m10 = 0.0f;
+ m07 = 0;
+ }
+ virtual ~daSail_HIO_c() {
+ mNo = -1;
+ }
+
+ void genMessage(JORMContext* ctx);
+
+public:
+ /* 0x04 */ s8 mNo;
+ /* 0x05 */ u8 m05;
+ /* 0x06 */ u8 m06;
+ /* 0x07 */ u8 m07;
+ /* 0x08 */ u8 m08;
+ /* 0x09 */ u8 m09[0x0C - 0x09];
+ /* 0x0C */ f32 m0C;
+ /* 0x10 */ f32 m10;
+};
+
#if VERSION == VERSION_DEMO
#define REG_SAIL_F(i) REG10_F(i)
#define REG_SAIL_S(i) REG10_S(i)