aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-27 19:36:30 +0200
committerFilippos Karapetis2015-12-27 21:13:09 +0200
commit29342b1331533b2e85057e4cf0a2d2acffd3d56d (patch)
tree3aa22951c3a90b5953bb904e48ffebf277d10233 /engines
parentd39367410082a763b18faf868aad9dddd8e72ca5 (diff)
downloadscummvm-rg350-29342b1331533b2e85057e4cf0a2d2acffd3d56d.tar.gz
scummvm-rg350-29342b1331533b2e85057e4cf0a2d2acffd3d56d.tar.bz2
scummvm-rg350-29342b1331533b2e85057e4cf0a2d2acffd3d56d.zip
LAB: Document usage of some opcodes and mark some unused ones
Diffstat (limited to 'engines')
-rw-r--r--engines/lab/processroom.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp
index 997eb75dce..66619af967 100644
--- a/engines/lab/processroom.cpp
+++ b/engines/lab/processroom.cpp
@@ -254,7 +254,7 @@ void LabEngine::doActions(const ActionList &actionList) {
_graphics->readPict(action->_messages[0], true);
break;
- case kActionShowDiffLooping:
+ case kActionShowDiffLooping: // used in scene 44 (heart of the labyrinth, minotaur)
_graphics->readPict(action->_messages[0], false);
break;
@@ -376,45 +376,44 @@ void LabEngine::doActions(const ActionList &actionList) {
}
break;
- case kActionStopMusic:
+ case kActionStopMusic: // used in scene 44 (heart of the labyrinth, minotaur)
_music->setMusic(false);
break;
case kActionStartMusic:
- _music->setMusic(true);
+ error("Unused opcode kActionStartMusic has been called");
break;
- case kActionChangeMusic:
+ case kActionChangeMusic: // used in scene 46 (museum exhibit, for the alarm)
_music->changeMusic(action->_messages[0]);
break;
- case kActionResetMusic:
+ case kActionResetMusic: // used in scene 45
_music->resetMusic();
break;
case kActionFillMusic:
- updateMusicAndEvents();
+ error("Unused opcode kActionFillMusic has been called");
break;
- case kActionWaitSound:
+ case kActionWaitSound: // used in scene 44 (heart of the labyrinth / ending)
while (_music->isSoundEffectActive()) {
updateMusicAndEvents();
_anim->diffNextFrame();
waitTOF();
}
-
break;
case kActionClearSound:
_music->stopSoundEffect();
break;
- case kActionWinMusic:
+ case kActionWinMusic: // used in scene 44 (heart of the labyrinth / ending)
_music->freeMusic();
_music->initMusic("Music:WinGame");
break;
- case kActionWinGame:
+ case kActionWinGame: // used in scene 44 (heart of the labyrinth / ending)
_quitLab = true;
showLab2Teaser();
break;