From 2c5af2ae54c475167f6fae1b9792ef48dd01d86e Mon Sep 17 00:00:00 2001 From: uruk Date: Tue, 29 Jul 2014 13:40:53 +0200 Subject: CGE2: Remove unused functions from EncryptedStream. --- engines/cge2/fileio.cpp | 12 ------------ engines/cge2/fileio.h | 4 ---- 2 files changed, 16 deletions(-) diff --git a/engines/cge2/fileio.cpp b/engines/cge2/fileio.cpp index 11a01c67fb..41ea1c1105 100644 --- a/engines/cge2/fileio.cpp +++ b/engines/cge2/fileio.cpp @@ -222,22 +222,10 @@ uint32 EncryptedStream::read(byte *dataPtr, uint32 dataSize) { return _readStream->read(dataPtr, dataSize); } -unsigned EncryptedStream::readUint16BE() { - return _readStream->readUint16BE(); -} - -signed EncryptedStream::readSint16BE() { - return _readStream->readSint16BE(); -} - signed EncryptedStream::readSint16LE() { return _readStream->readSint16LE(); } -signed EncryptedStream::readUint16LE() { - return _readStream->readUint16LE(); -} - uint32 EncryptedStream::readUint32LE() { return _readStream->readUint32LE(); } diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h index 0732b24c7b..0f3755beb5 100644 --- a/engines/cge2/fileio.h +++ b/engines/cge2/fileio.h @@ -105,7 +105,6 @@ public: bool exist(const char *name); }; -// TODO: Revise the whole class! class EncryptedStream { private: CGE2Engine *_vm; @@ -121,10 +120,7 @@ public: int32 pos(); int32 size(); uint32 read(byte *dataPtr, uint32 dataSize); - unsigned readUint16BE(); - signed readSint16BE(); signed readSint16LE(); - signed readUint16LE(); uint32 readUint32LE(); Common::String readLine(); int getLineCount() { return _lineCount; } -- cgit v1.2.3