diff options
author | Strangerke | 2011-07-03 16:22:26 +0200 |
---|---|---|
committer | Strangerke | 2011-07-03 16:22:26 +0200 |
commit | c313d2cce8d647265f192400c667d72824874dbc (patch) | |
tree | e31adeae21e2a195890d8561220f56d00aa490a7 /engines/cge/vol.h | |
parent | 665b12ff8dfac9fc1d8fb97f80327e3bdcd20fb6 (diff) | |
download | scummvm-rg350-c313d2cce8d647265f192400c667d72824874dbc.tar.gz scummvm-rg350-c313d2cce8d647265f192400c667d72824874dbc.tar.bz2 scummvm-rg350-c313d2cce8d647265f192400c667d72824874dbc.zip |
CGE: Even more renaming (WIP)
Diffstat (limited to 'engines/cge/vol.h')
-rw-r--r-- | engines/cge/vol.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/cge/vol.h b/engines/cge/vol.h index 1e0b363ca5..d8ba0979cb 100644 --- a/engines/cge/vol.h +++ b/engines/cge/vol.h @@ -49,11 +49,11 @@ namespace CGE { #endif -class DAT { - friend class VFILE; - VOLBASE _File; +class Dat { + friend class VFile; + VOLBASE _file; public: - DAT(); + Dat(); bool append(uint8 *buf, uint16 len); bool write(CFile &f); @@ -61,11 +61,11 @@ public: }; -class VFILE : public IoBuf { +class VFile : public IoBuf { private: - static DAT *_dat; + static Dat *_dat; static BtFile *_cat; - static VFILE *_recent; + static VFile *_recent; long _begMark; long _endMark; @@ -74,17 +74,17 @@ private: void writeBuff(void) { } void make(const char *fspec); public: - VFILE(const char *name, IOMODE mode = REA); - ~VFILE(void); + VFile(const char *name, IOMODE mode = REA); + ~VFile(); static void init(); static void deinit(); static bool exist(const char *name); - static const char *next(void); - long mark(void) { + static const char *next(); + long mark() { return (_bufMark + _ptr) - _begMark; } - long size(void) { + long size() { return _endMark - _begMark; } long seek(long pos) { |