add debug functionality to d_a_horse, match almost all functions (#2834)

* add debug functinality to d_a_horse, match almost all functions

* fix some wii funcs

* fix wii build
This commit is contained in:
roeming
2025-11-20 14:41:52 -08:00
committed by GitHub
parent 248f57b257
commit 6f7457a870
5 changed files with 411 additions and 255 deletions
+12 -1
View File
@@ -562,8 +562,19 @@ public:
static const daHorse_hio_c1 m;
};
class daHorse_hio_c {
class daHorse_hio_c : public JORReflexible {
public:
daHorse_hio_c() {
#if DEBUG
mParameters = daHorse_hio_c0::m;
#endif
}
#if DEBUG
virtual ~daHorse_hio_c() {}
void genMessage(JORMContext*);
/* 0x4 */ s8 id;
/* 0x8 */ daHorse_hio_c1 mParameters;
#endif
};
#endif /* D_A_HORSE_H */
+2 -2
View File
@@ -14,7 +14,7 @@ public:
static daTagHstop_c* getTop() { return m_top; }
daTagHstop_c* getNext() { return mNext; }
bool getActiveFlg() const { return mActive; }
u8 getActiveFlg() const { return mActive; }
void onTagStop() {
if (field_0x573 == 0) {
@@ -28,7 +28,7 @@ public:
/* 0x568 */ daTagHstop_c* mNext;
/* 0x568 */ daTagHstop_c* mPrev;
/* 0x570 */ u8 mPrm0;
/* 0x571 */ bool mActive;
/* 0x571 */ u8 mActive;
/* 0x572 */ u8 mPrm1;
/* 0x573 */ u8 field_0x573;
/* 0x574 */ int field_0x574;