aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/general.h
diff options
context:
space:
mode:
authorStrangerke2011-06-30 08:30:23 +0200
committerStrangerke2011-06-30 08:30:23 +0200
commitf59c910b8f41cfa9eeda88ce5f4d5c2a18b97662 (patch)
treeefbf783048abcd65aed6f7e805f506ced3a83ee8 /engines/cge/general.h
parentb0c9c9122fc678074aba30068e5b36d347208e65 (diff)
downloadscummvm-rg350-f59c910b8f41cfa9eeda88ce5f4d5c2a18b97662.tar.gz
scummvm-rg350-f59c910b8f41cfa9eeda88ce5f4d5c2a18b97662.tar.bz2
scummvm-rg350-f59c910b8f41cfa9eeda88ce5f4d5c2a18b97662.zip
CGE: Some more renaming (wip)
Diffstat (limited to 'engines/cge/general.h')
-rw-r--r--engines/cge/general.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h
index 4946e40c7b..1ecec9fbe9 100644
--- a/engines/cge/general.h
+++ b/engines/cge/general.h
@@ -168,36 +168,36 @@ public:
uint16 Error;
XFILE(void) : Mode(REA), Error(0) { }
XFILE(IOMODE mode) : Mode(mode), Error(0) { }
- virtual uint16 Read(void *buf, uint16 len) = 0;
- virtual uint16 Write(void *buf, uint16 len) = 0;
- virtual long Mark(void) = 0;
- virtual long Size(void) = 0;
- virtual long Seek(long pos) = 0;
+ virtual uint16 read(void *buf, uint16 len) = 0;
+ virtual uint16 write(void *buf, uint16 len) = 0;
+ virtual long mark(void) = 0;
+ virtual long size(void) = 0;
+ virtual long seek(long pos) = 0;
virtual ~XFILE() { }
};
template <class T>
inline uint16 XRead(XFILE *xf, T *t) {
- return xf->Read((uint8 *) t, sizeof(*t));
+ return xf->read((uint8 *) t, sizeof(*t));
}
-class IOHAND : public XFILE {
+class IoHand : public XFILE {
protected:
Common::File *_file;
- uint16 Seed;
- CRYPT *Crypt;
+ uint16 _seed;
+ CRYPT *_crypt;
public:
- IOHAND(const char *name, IOMODE mode = REA, CRYPT crypt = NULL);
- IOHAND(IOMODE mode = REA, CRYPT *crpt = NULL);
- virtual ~IOHAND(void);
- static bool Exist(const char *name);
- uint16 Read(void *buf, uint16 len);
- uint16 Write(void *buf, uint16 len);
- long Mark(void);
- long Size(void);
- long Seek(long pos);
+ IoHand(const char *name, IOMODE mode = REA, CRYPT crypt = NULL);
+ IoHand(IOMODE mode = REA, CRYPT *crpt = NULL);
+ virtual ~IoHand();
+ static bool exist(const char *name);
+ uint16 read(void *buf, uint16 len);
+ uint16 write(void *buf, uint16 len);
+ long mark();
+ long size();
+ long seek(long pos);
//timeb Time (void);
// void SetTime (timeb t);
};