aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/fileio.h
diff options
context:
space:
mode:
authorStrangerke2011-09-13 00:07:00 +0200
committerStrangerke2011-09-13 00:07:00 +0200
commit5d8bbc2f48a5c736fbeeb42b31b3fa6e453cc5e1 (patch)
tree5920c953a2316f7e135fb57b418178a716e498ba /engines/cge/fileio.h
parent7624cc382210d364dbcf3fab2c782d5cd0b121a3 (diff)
downloadscummvm-rg350-5d8bbc2f48a5c736fbeeb42b31b3fa6e453cc5e1.tar.gz
scummvm-rg350-5d8bbc2f48a5c736fbeeb42b31b3fa6e453cc5e1.tar.bz2
scummvm-rg350-5d8bbc2f48a5c736fbeeb42b31b3fa6e453cc5e1.zip
CGE: Remove IoBuf and CFile
Diffstat (limited to 'engines/cge/fileio.h')
-rw-r--r--engines/cge/fileio.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h
index 8e5779cbab..bc4fd0a074 100644
--- a/engines/cge/fileio.h
+++ b/engines/cge/fileio.h
@@ -78,31 +78,6 @@ public:
long seek(long pos);
};
-class IoBuf : public IoHand {
-protected:
- uint8 *_buff;
- uint16 _ptr;
- uint16 _lim;
- long _bufMark;
- virtual void readBuf();
-public:
- IoBuf(Crypt *crpt);
- IoBuf(const char *name, Crypt *crpt);
- virtual ~IoBuf();
- uint16 read(void *buf, uint16 len);
- uint16 read(uint8 *buf);
- int read();
-};
-
-
-class CFile : public IoBuf {
-public:
- CFile(const char *name, Crypt *crpt);
- virtual ~CFile();
- long mark();
- long seek(long pos);
-};
-
struct BtPage {
Header _header;
union {
@@ -148,7 +123,7 @@ public:
Common::String readLine();
};
-extern CFile *_dat;
+extern IoHand *_dat;
extern BtFile *_cat;
} // End of namespace CGE