aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-19 13:50:06 +0000
committerMartin Kiewitz2010-07-19 13:50:06 +0000
commit2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0 (patch)
treeca4db08bfe426fa6928b5ec8e243f62dd29f9112 /engines/sci/sci.h
parent8ea7eec267d925783e5762f54991e0d3879f7bd9 (diff)
downloadscummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.tar.gz
scummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.tar.bz2
scummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.zip
SCI: implement foreign vocabulary support
not fully working, extended chars do not work currently as input svn-id: r51027
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r--engines/sci/sci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 4768ca11b9..c497460334 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -267,6 +267,9 @@ public:
Common::String getSciLanguageString(const char *str, kLanguage lang, kLanguage *lang2 = NULL) const;
+ // Check if vocabulary needs to get switched (in multilingual parser games)
+ void checkVocabularySwitch();
+
// Initializes ports and paint16 for non-sci32 games, also sets default palette
void initGraphics();
@@ -332,6 +335,7 @@ private:
EngineState *_gamestate;
Kernel *_kernel;
Vocabulary *_vocabulary;
+ int16 _vocabularyLanguage;
EventManager *_eventMan;
reg_t _gameObj; /**< Pointer to the game object */
Console *_console;