d_snd_source_npc_head OK

This commit is contained in:
robojumper
2025-06-28 16:00:03 +02:00
parent 2a85444daa
commit 415e388fee
7 changed files with 115 additions and 22 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ public:
return false;
}
/* 0x0D8 */ virtual bool startVoiceLine(const char *label) override;
/* 0x0DC */ virtual bool vt_0xDC() override {
/* 0x0DC */ virtual bool vt_0xDC(u32 id) override {
return false;
}
/* 0x0E0 */ virtual void stopCurrentActionSound() override {}
+1 -1
View File
@@ -87,7 +87,7 @@ public:
/* 0x0D0 */ virtual bool holdSoundAtPosition(const char *label, const nw4r::math::VEC3 *position) = 0;
/* 0x0D4 */ virtual bool startVoiceLine(u32 id) = 0;
/* 0x0D8 */ virtual bool startVoiceLine(const char *label) = 0;
/* 0x0DC */ virtual bool vt_0xDC() = 0;
/* 0x0DC */ virtual bool vt_0xDC(u32 id) = 0;
/* 0x0E0 */ virtual void stopCurrentActionSound() = 0;
/* 0x0E4 */ virtual void stopActionSound(u32 id) = 0;
/* 0x0E8 */ virtual bool isPlayingActionSound() const = 0;
+10
View File
@@ -12,6 +12,16 @@ public:
mpMainName = name;
}
/* 0x0D4 */ virtual bool startVoiceLine(u32 id) override;
/* 0x0DC */ virtual bool vt_0xDC(u32 id) override;
/* 0x180 */ virtual void setOrigName(const char *arg) override;
// id can be a WZSound ID or an offset from LABEL_NV_START
/* 0x1EC */ virtual bool npcSpeak(u32 id);
/* 0x1CC */ virtual void postSetupSound(u32 playingId, u32 requestedId, dSndSeSound_c *seSound) override;
private:
/* 0x15C */ UNKWORD field_0x15C;
/* 0x160 */ const char *mpMainName;