aboutsummaryrefslogtreecommitdiff
path: root/scumm/intern.h
diff options
context:
space:
mode:
authorMax Horn2005-04-28 22:17:23 +0000
committerMax Horn2005-04-28 22:17:23 +0000
commitc5127d3c05ec1dccb8ead61d38727e3e98dce6d1 (patch)
treef78e52873c734ef65db64012c2de532035d4d8fd /scumm/intern.h
parente8865cc596a19c8604f37432dd890138185b18f9 (diff)
downloadscummvm-rg350-c5127d3c05ec1dccb8ead61d38727e3e98dce6d1.tar.gz
scummvm-rg350-c5127d3c05ec1dccb8ead61d38727e3e98dce6d1.tar.bz2
scummvm-rg350-c5127d3c05ec1dccb8ead61d38727e3e98dce6d1.zip
Moved bundle based localization code to ScummEngine_v7
svn-id: r17855
Diffstat (limited to 'scumm/intern.h')
-rw-r--r--scumm/intern.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index 8d41c5f231..72e722aa31 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -1254,7 +1254,14 @@ protected:
class ScummEngine_v7 : public ScummEngine_v6 {
public:
- ScummEngine_v7(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16]) : ScummEngine_v6(detector, syst, gs, md5sum) {}
+ ScummEngine_v7(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16]);
+ ~ScummEngine_v7();
+
+ bool _existLanguageFile;
+ char *_languageBuffer;
+ LangIndexNode *_languageIndex;
+ int _languageIndexSize;
+ char _lastStringTag[12+1];
protected:
virtual void setupScummVars();
@@ -1272,6 +1279,11 @@ protected:
virtual void panCameraTo(int x, int y);
virtual int getObjectIdFromOBIM(const byte *obim);
+
+ virtual void actorTalk(const byte *msg);
+ virtual void translateText(const byte *text, byte *trans_buff);
+ virtual void loadLanguageBundle();
+ void playSpeech(const byte *ptr);
};
class ScummEngine_v8 : public ScummEngine_v7 {