diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-05 14:07:43 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-05 14:07:43 -0400 |
| commit | 68ea9331aad9a947f2fce995043a3b4bf8fd8290 (patch) | |
| tree | 5ffced03a5f140174c5490d756edc282af8b590e /include | |
| parent | 6812d925ff1d919f7baf1475aa71f714e25136c9 (diff) | |
d_a_npc_mt OK for all versions
closes #348
Diffstat (limited to 'include')
| -rw-r--r-- | include/d/actor/d_a_npc_mt.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/d/actor/d_a_npc_mt.h b/include/d/actor/d_a_npc_mt.h index 5ecf4098..69afdf4f 100644 --- a/include/d/actor/d_a_npc_mt.h +++ b/include/d/actor/d_a_npc_mt.h @@ -49,15 +49,18 @@ struct NpcDatStruct { class daNpcMt_c : public fopNpc_npc_c { public: + typedef s32(daNpcMt_c::*InitFunc_t)(); + typedef void(daNpcMt_c::*MoveFunc_t)(); + void attnOff() { m753 = false; } void attnOn() { m753 = true; } - void getNpcNo() {} - void getPhaseP() {} - void setResFlag(u8) {} + u8 getNpcNo() { return mNpcNo; } + request_of_phase_process_class* getPhaseP() { return &mPhsArcname; } + void setResFlag(u8 flag) { m747 = flag; } daNpcMt_c(); cPhs_State _create(); @@ -105,10 +108,7 @@ public: static const char m_arcname[6]; -public: - typedef s32(daNpcMt_c::*InitFunc_t)(); - typedef void(daNpcMt_c::*MoveFunc_t)(); - +private: /* 0x6C4 */ request_of_phase_process_class mPhsArcname; /* 0x6CC */ request_of_phase_process_class mPhs; /* 0x6D4 */ J3DAnmTexPattern* m_head_tex_pattern; @@ -143,7 +143,7 @@ public: /* 0x745 */ u8 mFrame; /* 0x746 */ u8 m746; /* 0x747 */ u8 m747; - /* 0x748 */ u8 mPrmNpcNo; + /* 0x748 */ u8 mNpcNo; /* 0x749 */ u8 m749; /* 0x74A */ u8 m74A; /* 0x74B */ u8 mAnmFlag; |
