diff options
author | Einar Johan Trøan Sømåen | 2012-06-26 01:19:42 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-26 01:19:42 +0200 |
commit | 293e12f7d082806f1fb60f22bf348cbe47381430 (patch) | |
tree | de59610de0ec03b852cfa7513836418148443efc /engines/wintermute/Base/file/BFile.cpp | |
parent | c2239512909eae01f6fa4ad3ed2c34de9cc9343f (diff) | |
download | scummvm-rg350-293e12f7d082806f1fb60f22bf348cbe47381430.tar.gz scummvm-rg350-293e12f7d082806f1fb60f22bf348cbe47381430.tar.bz2 scummvm-rg350-293e12f7d082806f1fb60f22bf348cbe47381430.zip |
WINTERMUTE: Rename FuncName->funcName in the file-classes
Diffstat (limited to 'engines/wintermute/Base/file/BFile.cpp')
-rw-r--r-- | engines/wintermute/Base/file/BFile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/Base/file/BFile.cpp b/engines/wintermute/Base/file/BFile.cpp index 6fa7cb84d6..9da60a11ec 100644 --- a/engines/wintermute/Base/file/BFile.cpp +++ b/engines/wintermute/Base/file/BFile.cpp @@ -51,16 +51,16 @@ CBFile::~CBFile() { //////////////////////////////////////////////////////////////////////////
-bool CBFile::IsEOF() {
+bool CBFile::isEOF() {
return _pos == _size;
}
Common::SeekableReadStream *CBFile::getMemStream() {
uint32 oldPos = getPos();
- Seek(0);
+ seek(0);
byte *data = new byte[getSize()];
- Read(data, getSize());
- Seek(oldPos);
+ read(data, getSize());
+ seek(oldPos);
Common::MemoryReadStream *memStream = new Common::MemoryReadStream(data, getSize(), DisposeAfterUse::YES);
return memStream;
}
|