diff options
author | Strangerke | 2011-09-17 10:54:50 +0200 |
---|---|---|
committer | Strangerke | 2011-09-17 10:54:50 +0200 |
commit | 4778ff720c3e7c6527dde90c9eba7ccab7646cbb (patch) | |
tree | c2a603d9691287ed2a3232657c68ff1522d84f80 /engines/cge/fileio.h | |
parent | f5eca796580f5e16a2389d980b8330b2ab6b0980 (diff) | |
download | scummvm-rg350-4778ff720c3e7c6527dde90c9eba7ccab7646cbb.tar.gz scummvm-rg350-4778ff720c3e7c6527dde90c9eba7ccab7646cbb.tar.bz2 scummvm-rg350-4778ff720c3e7c6527dde90c9eba7ccab7646cbb.zip |
CGE: Move some more globals to CGEEngine
Diffstat (limited to 'engines/cge/fileio.h')
-rw-r--r-- | engines/cge/fileio.h | 7 |
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 |