From 5d8bbc2f48a5c736fbeeb42b31b3fa6e453cc5e1 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 13 Sep 2011 00:07:00 +0200 Subject: CGE: Remove IoBuf and CFile --- engines/cge/fileio.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'engines/cge/fileio.h') 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 -- cgit v1.2.3