aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-03 21:47:11 -0400
committerPaul Gilbert2016-08-03 21:47:11 -0400
commit3fda4f0ef5ec56caad0332e473993f5628ca6e42 (patch)
treef5b279f67335fb0b4cf71a26c70059b6f9138027 /engines/titanic/true_talk
parent9f316a5b37c2065c960dca88953c988d923d748f (diff)
downloadscummvm-rg350-3fda4f0ef5ec56caad0332e473993f5628ca6e42.tar.gz
scummvm-rg350-3fda4f0ef5ec56caad0332e473993f5628ca6e42.tar.bz2
scummvm-rg350-3fda4f0ef5ec56caad0332e473993f5628ca6e42.zip
TITANIC: Add CSound sound loading methods
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r--engines/titanic/true_talk/dialogue_file.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/dialogue_file.h b/engines/titanic/true_talk/dialogue_file.h
index 299d01daa8..19e94cf9b9 100644
--- a/engines/titanic/true_talk/dialogue_file.h
+++ b/engines/titanic/true_talk/dialogue_file.h
@@ -23,7 +23,7 @@
#ifndef TITANIC_DIALOGUE_FILE_H
#define TITANIC_DIALOGUE_FILE_H
-#include "common/file.h"
+#include "titanic/support/simple_file.h"
#include "titanic/support/string.h"
namespace Titanic {
@@ -51,7 +51,7 @@ struct DialogueResource {
class CDialogueFile {
private:
- Common::File _file;
+ File _file;
Common::Array<DialogueIndexEntry> _index;
Common::Array<DialogueResource> _cache;
private:
@@ -68,6 +68,8 @@ public:
*/
void clear();
+ File *getFile() { return &_file; }
+
/**
* Sets up a text entry within the dialogue file for access
*/