diff options
author | Eugene Sandulenko | 2011-11-14 22:22:50 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2011-11-14 22:22:50 +0200 |
commit | 981ca90c4eaa6d9cc4f56b706340294d2ea3f697 (patch) | |
tree | afe8c6f3e8d763f22bba2d8a645f42fd77bf5df7 /engines | |
parent | f51116bb4615b629cf008caa71d4a536457cfb6d (diff) | |
download | scummvm-rg350-981ca90c4eaa6d9cc4f56b706340294d2ea3f697.tar.gz scummvm-rg350-981ca90c4eaa6d9cc4f56b706340294d2ea3f697.tar.bz2 scummvm-rg350-981ca90c4eaa6d9cc4f56b706340294d2ea3f697.zip |
MADS: remove/comment unused variables
Diffstat (limited to 'engines')
-rw-r--r-- | engines/m4/assets.cpp | 4 | ||||
-rw-r--r-- | engines/m4/mads_menus.cpp | 4 | ||||
-rw-r--r-- | engines/m4/mads_views.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/m4/assets.cpp b/engines/m4/assets.cpp index d6cc71e133..f70a35d5ad 100644 --- a/engines/m4/assets.cpp +++ b/engines/m4/assets.cpp @@ -301,11 +301,11 @@ void SpriteAsset::loadMadsSpriteAsset(MadsM4Engine *vm, Common::SeekableReadStre int32 SpriteAsset::parseSprite(bool isBigEndian) { - uint32 format, chunkType, chunkSize = 0; + uint32 chunkType, chunkSize = 0; _colorCount = 0; - format = (!isBigEndian) ? _stream->readUint32LE() : _stream->readUint32BE(); + /*format = (!isBigEndian) ? _stream->readUint32LE() : */_stream->readUint32BE(); chunkType = (!isBigEndian) ? _stream->readUint32LE() : _stream->readUint32BE(); diff --git a/engines/m4/mads_menus.cpp b/engines/m4/mads_menus.cpp index 8a2ab67f11..ae16b00616 100644 --- a/engines/m4/mads_menus.cpp +++ b/engines/m4/mads_menus.cpp @@ -716,7 +716,7 @@ void RexDialogView::onRefresh(RectList *rects, M4Surface *destSurface) { bool RexDialogView::onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents) { static bool word_7F28C = false; int word_7FED2 = 0; - int word_8502A = 0; + //int word_8502A = 0; // If it's a keypress, handle it immediately if (eventType == KEVENT_KEY) { @@ -789,7 +789,7 @@ bool RexDialogView::onEvent(M4EventType eventType, int32 param1, int x, int y, b if (!word_7F28C || (objIndex <= 18)) _selectedLine = objIndex; - word_8502A = -1; + //word_8502A = -1; } return true; diff --git a/engines/m4/mads_views.cpp b/engines/m4/mads_views.cpp index d21bfc1cf2..c1d88d5741 100644 --- a/engines/m4/mads_views.cpp +++ b/engines/m4/mads_views.cpp @@ -77,7 +77,7 @@ void MadsAction::appendVocab(int vocabId, bool capitalise) { void MadsAction::set() { int hotspotCount = _madsVm->scene()->getSceneResources().hotspots->size(); - bool flag = false; + bool flag = false; // FIXME: unused strcpy(_statusText, ""); _currentAction = -1; |