diff options
Diffstat (limited to 'engines/titanic/true_talk/title_engine.cpp')
-rw-r--r-- | engines/titanic/true_talk/title_engine.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/titanic/true_talk/title_engine.cpp b/engines/titanic/true_talk/title_engine.cpp index 23327014d6..f11bf1df29 100644 --- a/engines/titanic/true_talk/title_engine.cpp +++ b/engines/titanic/true_talk/title_engine.cpp @@ -23,6 +23,7 @@ #include "titanic/true_talk/title_engine.h" #include "titanic/support/files_manager.h" #include "titanic/titanic.h" +#include "titanic/translation.h" namespace Titanic { @@ -34,9 +35,9 @@ CTitleEngine::~CTitleEngine() { delete _scriptHandler; } -void CTitleEngine::setup(int val1, int val2) { +void CTitleEngine::setup(int val1, VocabMode vocabMode) { _script = new TTTitleScript(); - _scriptHandler = new CScriptHandler(this, val1, val2); + _scriptHandler = new CScriptHandler(this, val1, vocabMode); } /*------------------------------------------------------------------------*/ @@ -53,8 +54,8 @@ void STtitleEngine::reset() { _indexes.clear(); } -void STtitleEngine::setup(int val1, int val2) { - CTitleEngine::setup(val1, 3); +void STtitleEngine::setup(int val1, VocabMode vocabMode) { + CTitleEngine::setup(val1, TRANSLATE(VOCAB_MODE_EN, VOCAB_MODE_DE)); } int STtitleEngine::setResponse(TTscriptBase *script, TTresponse *response) { |