aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r--engines/titanic/sound/sound.cpp5
-rw-r--r--engines/titanic/sound/sound.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp
index cf7689d937..dc8d0eeb21 100644
--- a/engines/titanic/sound/sound.cpp
+++ b/engines/titanic/sound/sound.cpp
@@ -69,6 +69,11 @@ void CSound::fn3(int handle, int val2, int val3) {
warning("TODO: CSound::fn3");
}
+int CSound::playSpeech(CDialogueFile *dialogueFile, int speechId, const CProximity &prox) {
+ warning("TODO: CSound::playSpeech");
+ return 0;
+}
+
uint CSound::loadSound(const CString &name) {
checkSounds();
diff --git a/engines/titanic/sound/sound.h b/engines/titanic/sound/sound.h
index 33996de1ca..f550493624 100644
--- a/engines/titanic/sound/sound.h
+++ b/engines/titanic/sound/sound.h
@@ -24,6 +24,7 @@
#define TITANIC_SOUND_H
#include "titanic/support/simple_file.h"
+#include "titanic/support/proximity.h"
#include "titanic/sound/sound_manager.h"
#include "titanic/core/list.h"
#include "titanic/core/view_item.h"
@@ -118,6 +119,12 @@ public:
bool fn1(int val);
void fn2(int handle);
void fn3(int handle, int val2, int val3);
+
+ /**
+ * Play a speech
+ */
+ int playSpeech(CDialogueFile *dialogueFile, int speechId, const CProximity &prox);
+
void managerProc8(int v) { _soundManager.proc8(v); }
CSoundItem *getTrueTalkSound(CDialogueFile *dialogueFile, int index);