aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/file/BFile.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-26 01:19:42 +0200
committerEinar Johan Trøan Sømåen2012-06-26 01:19:42 +0200
commit293e12f7d082806f1fb60f22bf348cbe47381430 (patch)
treede59610de0ec03b852cfa7513836418148443efc /engines/wintermute/Base/file/BFile.cpp
parentc2239512909eae01f6fa4ad3ed2c34de9cc9343f (diff)
downloadscummvm-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.cpp8
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;
}