aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r--engines/titanic/sound/sound.cpp10
-rw-r--r--engines/titanic/sound/sound.h5
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