From 4778ff720c3e7c6527dde90c9eba7ccab7646cbb Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 17 Sep 2011 10:54:50 +0200 Subject: CGE: Move some more globals to CGEEngine --- engines/cge/fileio.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/cge/fileio.h') 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 -- cgit v1.2.3