diff options
author | Eugene Sandulenko | 2008-06-08 21:59:12 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-06-08 21:59:12 +0000 |
commit | e20617966c9ba33e6383095e14888b552d1161e6 (patch) | |
tree | bfcb89b3821587c62e669219e4fa33d1dd0876e2 /engines/drascula/drascula.h | |
parent | e62b1ed9d84bd66ceac829ec34fdec0c83731034 (diff) | |
download | scummvm-rg350-e20617966c9ba33e6383095e14888b552d1161e6.tar.gz scummvm-rg350-e20617966c9ba33e6383095e14888b552d1161e6.tar.bz2 scummvm-rg350-e20617966c9ba33e6383095e14888b552d1161e6.zip |
Load all texts from drascula.dat
svn-id: r32622
Diffstat (limited to 'engines/drascula/drascula.h')
-rw-r--r-- | engines/drascula/drascula.h | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h index 7168229957..329b82bb2d 100644 --- a/engines/drascula/drascula.h +++ b/engines/drascula/drascula.h @@ -684,23 +684,27 @@ private: int _roomUpdatesSize; int _roomActionsSize; int _numLangs; + + char ***_text; + char ***_textd; + char ***_textb; + char ***_textbj; + char ***_texte; + char ***_texti; + char ***_textl; + char ***_textp; + char ***_textt; + char ***_textvb; + char ***_textsys; + char ***_texthis; + char ***_textverbs; + char ***_textmisc; + char ***_textd1; + + char ***loadTexts(Common::File &in); + void freeTexts(char ***ptr); }; -extern const char *_text[][501]; -extern const char *_textd[][84]; -extern const char *_textb[][15]; -extern const char *_textbj[][29]; -extern const char *_texte[][24]; -extern const char *_texti[][33]; -extern const char *_textl[][32]; -extern const char *_textp[][20]; -extern const char *_textt[][25]; -extern const char *_textvb[][63]; -extern const char *_textsys[][4]; -extern const char *_texthis[][5]; -extern const char *_textverbs[][6]; -extern const char *_textmisc[][3]; -extern const char *_textd1[][11]; extern const ItemLocation itemLocations[]; extern int frameX[20]; |