aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/fileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/fileio.h')
-rw-r--r--engines/cge/fileio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h
index 4d2539cc37..cee1fa79ef 100644
--- a/engines/cge/fileio.h
+++ b/engines/cge/fileio.h
@@ -33,6 +33,8 @@
namespace CGE {
+class CGEEngine;
+
#define kBtSize 1024
#define kBtKeySize 13
#define kBtLevel 2
@@ -98,10 +100,11 @@ public:
class EncryptedStream {
private:
+ CGEEngine *_vm;
Common::SeekableReadStream *_readStream;
bool _error;
public:
- EncryptedStream(const char *name);
+ EncryptedStream(CGEEngine *vm, const char *name);
~EncryptedStream();
bool err();
bool eos();
@@ -112,8 +115,6 @@ public:
Common::String readLine();
};
-extern ResourceManager *_resman;
-
} // End of namespace CGE
#endif