aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-11 12:26:53 +0000
committerTorbjörn Andersson2003-10-11 12:26:53 +0000
commit02a157e745210d8986df83dd2114c2ee0ae86c88 (patch)
tree160b1cb10dbbf5ca5ea8a6ebd2f510ab6d3ee88d /sword2/sword2.h
parent650581eef80bcf2fbe5bb55218ae329a8673498e (diff)
downloadscummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.tar.gz
scummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.tar.bz2
scummvm-rg350-02a157e745210d8986df83dd2114c2ee0ae86c88.zip
Moved the text drawing stuff into a class of its own. (Adding another
global variable which will hopefully be dealt with later.) svn-id: r10734
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r--sword2/sword2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h
index 0e0fd28447..8d4da8fc3e 100644
--- a/sword2/sword2.h
+++ b/sword2/sword2.h
@@ -73,6 +73,10 @@ public:
Sound *_sound;
Common::RandomSource _rnd;
+ uint32 _speechFontId;
+ uint32 _controlsFontId;
+ uint32 _redFontId;
+
private:
bool _quit;
uint32 _bootParam;
@@ -80,6 +84,8 @@ private:
public:
void errorString(const char *buf_input, char *buf_output);
+ void initialiseFontResourceFlags(void);
+ void initialiseFontResourceFlags(uint8 language);
};
extern Sword2Engine *g_sword2;