diff options
author | uruk | 2014-07-28 16:29:51 +0200 |
---|---|---|
committer | uruk | 2014-07-28 16:29:51 +0200 |
commit | fca11e77f8620889d4c8eb8513a6fc0dc89e3a04 (patch) | |
tree | 4a2868c625007dfdc3d4a891c68d01bdb9608567 | |
parent | ae4adf4a9fd10a48fbdbb002d8686bd4560729ab (diff) | |
download | scummvm-rg350-fca11e77f8620889d4c8eb8513a6fc0dc89e3a04.tar.gz scummvm-rg350-fca11e77f8620889d4c8eb8513a6fc0dc89e3a04.tar.bz2 scummvm-rg350-fca11e77f8620889d4c8eb8513a6fc0dc89e3a04.zip |
CGE2: Get rid of more unused variables.
-rw-r--r-- | engines/cge2/fileio.h | 1 | ||||
-rw-r--r-- | engines/cge2/snail.cpp | 2 | ||||
-rw-r--r-- | engines/cge2/snail.h | 2 | ||||
-rw-r--r-- | engines/cge2/sound.h | 1 |
4 files changed, 1 insertions, 5 deletions
diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h index 093850735a..0732b24c7b 100644 --- a/engines/cge2/fileio.h +++ b/engines/cge2/fileio.h @@ -110,7 +110,6 @@ class EncryptedStream { private: CGE2Engine *_vm; Common::SeekableReadStream *_readStream; - const char **_tab; int _lineCount; bool _error; public: diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index b4a78f0aaf..b6ae9dbdb0 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -46,7 +46,7 @@ const char *CommandHandler::_commandText[] = { CommandHandler::CommandHandler(CGE2Engine *vm, bool turbo) : _turbo(turbo), _textDelay(false), _timerExpiry(0), _talkEnable(true), _head(0), _tail(0), _commandList((Command *)malloc(sizeof(Command)* 256)), - _count(1), _vm(vm) { + _vm(vm) { } CommandHandler::~CommandHandler() { diff --git a/engines/cge2/snail.h b/engines/cge2/snail.h index 62201a9ab8..82df181878 100644 --- a/engines/cge2/snail.h +++ b/engines/cge2/snail.h @@ -121,10 +121,8 @@ private: bool _turbo; uint8 _head; uint8 _tail; - bool _busy; bool _textDelay; uint32 _timerExpiry; // "pause" in the original. - int _count; }; } // End of namespace CGE2 diff --git a/engines/cge2/sound.h b/engines/cge2/sound.h index b97cd11bd0..2960dc32e4 100644 --- a/engines/cge2/sound.h +++ b/engines/cge2/sound.h @@ -90,7 +90,6 @@ private: class Fx { CGE2Engine *_vm; - int _size; DataCk *loadWave(EncryptedStream *file); Common::String name(int ref, int sub); |