diff options
author | Paul Gilbert | 2016-05-07 16:50:39 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:42 -0400 |
commit | 339df8657e883ba62bd5c4c474ab920dfa3d19c8 (patch) | |
tree | 2265a2fe2ce116b8ea7d91f34c1a66fd8508169f /engines/titanic/sound | |
parent | 0692d261eeea7dd9260e00dc6bc43dda963a41d4 (diff) | |
download | scummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.tar.gz scummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.tar.bz2 scummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.zip |
TITANIC: Implement CTrueTalkManager triggerNPC
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r-- | engines/titanic/sound/sound.cpp | 10 | ||||
-rw-r--r-- | engines/titanic/sound/sound.h | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp index 3e4f154c35..cf7689d937 100644 --- a/engines/titanic/sound/sound.cpp +++ b/engines/titanic/sound/sound.cpp @@ -25,6 +25,11 @@ namespace Titanic { +int CSoundItem::fn1() { + // TODO + return 0; +} + CSound::CSound(CGameManager *owner) : _gameManager(owner) { } @@ -123,4 +128,9 @@ void CSound::removeOldest() { } } +CSoundItem *CSound::getTrueTalkSound(CDialogueFile *dialogueFile, int index) { + warning("TODO: CSound::getTrueTalkSound"); + return nullptr; +} + } // End of namespace Titanic z diff --git a/engines/titanic/sound/sound.h b/engines/titanic/sound/sound.h index dfbee0a9dd..33996de1ca 100644 --- a/engines/titanic/sound/sound.h +++ b/engines/titanic/sound/sound.h @@ -27,6 +27,7 @@ #include "titanic/sound/sound_manager.h" #include "titanic/core/list.h" #include "titanic/core/view_item.h" +#include "titanic/true_talk/dialogue_file.h" namespace Titanic { @@ -45,6 +46,8 @@ public: _field20(0), _field24(0), _field28(0) {} CSoundItem(const CString &name) : ListItem(), _name(name), _soundHandle(0), _field1C(0), _field20(0), _field24(0), _field28(0) {} + + int fn1(); }; class CSoundItemList : public List<CSoundItem> { @@ -116,6 +119,8 @@ public: void fn2(int handle); void fn3(int handle, int val2, int val3); void managerProc8(int v) { _soundManager.proc8(v); } + + CSoundItem *getTrueTalkSound(CDialogueFile *dialogueFile, int index); }; } // End of namespace Titanic |