aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-07 16:50:39 -0400
committerPaul Gilbert2016-07-10 16:38:42 -0400
commit339df8657e883ba62bd5c4c474ab920dfa3d19c8 (patch)
tree2265a2fe2ce116b8ea7d91f34c1a66fd8508169f /engines/titanic/sound/sound.h
parent0692d261eeea7dd9260e00dc6bc43dda963a41d4 (diff)
downloadscummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.tar.gz
scummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.tar.bz2
scummvm-rg350-339df8657e883ba62bd5c4c474ab920dfa3d19c8.zip
TITANIC: Implement CTrueTalkManager triggerNPC
Diffstat (limited to 'engines/titanic/sound/sound.h')
-rw-r--r--engines/titanic/sound/sound.h5
1 files changed, 5 insertions, 0 deletions
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