aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/fileio.h
diff options
context:
space:
mode:
authoruruk2014-05-08 18:32:29 +0200
committeruruk2014-05-08 18:32:29 +0200
commit12a9d0a759fd0129ced1f8815d1da569cd4378c2 (patch)
tree308bdb0fc219127e61150d2f3dbbe9eb20cb9368 /engines/cge2/fileio.h
parent72cccb80008979ed4f23404681df173d007f34ed (diff)
downloadscummvm-rg350-12a9d0a759fd0129ced1f8815d1da569cd4378c2.tar.gz
scummvm-rg350-12a9d0a759fd0129ced1f8815d1da569cd4378c2.tar.bz2
scummvm-rg350-12a9d0a759fd0129ced1f8815d1da569cd4378c2.zip
CGE2: Add kIdTab and _lineCount to EncryptedStream.
Diffstat (limited to 'engines/cge2/fileio.h')
-rw-r--r--engines/cge2/fileio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h
index a596d71341..0d32cab3c2 100644
--- a/engines/cge2/fileio.h
+++ b/engines/cge2/fileio.h
@@ -102,7 +102,11 @@ class EncryptedStream {
private:
CGE2Engine *_vm;
Common::SeekableReadStream *_readStream;
+ const char **_tab;
+ int _lineCount;
bool _error;
+
+ static const char *kIdTab[];
public:
EncryptedStream(CGE2Engine *vm, const char *name);
~EncryptedStream();
@@ -115,6 +119,7 @@ public:
Common::String readLine();
static int number(char *s);
static char *token(char *s);
+ int getLineCount() { return _lineCount; }
};
} // End of namespace CGE2