mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
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:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user