aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-07-29 13:40:53 +0200
committeruruk2014-07-29 13:40:53 +0200
commit2c5af2ae54c475167f6fae1b9792ef48dd01d86e (patch)
tree553a63a8a48a316d8c3bdfb73e35279fa4715936 /engines/cge2
parent02c0b419d6b28350c654eadccdb8fe7f1b1f1b7d (diff)
downloadscummvm-rg350-2c5af2ae54c475167f6fae1b9792ef48dd01d86e.tar.gz
scummvm-rg350-2c5af2ae54c475167f6fae1b9792ef48dd01d86e.tar.bz2
scummvm-rg350-2c5af2ae54c475167f6fae1b9792ef48dd01d86e.zip
CGE2: Remove unused functions from EncryptedStream.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/fileio.cpp12
-rw-r--r--engines/cge2/fileio.h4
2 files changed, 0 insertions, 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; }