diff options
author | Matthew Stewart | 2018-05-30 21:06:31 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | fe5658ca175810f7ea6cbcaa078e6fc86faf36f1 (patch) | |
tree | a5e392c93e9acc72453d88d0782a8837b6ecdf81 /engines/startrek/menu.cpp | |
parent | 1290b7ea0298dc6a565e2593ecb703710d051830 (diff) | |
download | scummvm-rg350-fe5658ca175810f7ea6cbcaa078e6fc86faf36f1.tar.gz scummvm-rg350-fe5658ca175810f7ea6cbcaa078e6fc86faf36f1.tar.bz2 scummvm-rg350-fe5658ca175810f7ea6cbcaa078e6fc86faf36f1.zip |
STARTREK: Mission 1 finished
Diffstat (limited to 'engines/startrek/menu.cpp')
-rw-r--r-- | engines/startrek/menu.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/startrek/menu.cpp b/engines/startrek/menu.cpp index d6929d0d5c..1f67fb288c 100644 --- a/engines/startrek/menu.cpp +++ b/engines/startrek/menu.cpp @@ -653,7 +653,6 @@ int StarTrekEngine::handleMenuEvents(uint32 ticksUntilClickingEnabled, bool arg4 switch(event.type) { case TREKEVENT_TICK: { - case TREKEVENT_MOUSEMOVE: // FIXME: actual game only uses TICK event here Common::Point mousePos = _gfx->getMousePos(); int buttonIndex = getMenuButtonAt(_activeMenu->sprites, _activeMenu->numButtons, mousePos.x, mousePos.y); if (buttonIndex != -1) { @@ -676,11 +675,11 @@ int StarTrekEngine::handleMenuEvents(uint32 ticksUntilClickingEnabled, bool arg4 } // Not added: updating mouse position (scummvm handles that) - // sub_10492(); - // sub_10A91(); + // sub_10492(); // TODO + // updateActorAnimations(); // TODO: uncomment and fix animations under textboxes _gfx->drawAllSprites(); - // sub_10BE7(); - // sub_2A4B1(); + // sub_10BE7(); // TODO + _sound->checkLoopMusic(); if (_finishedPlayingSpeech != 0) { _finishedPlayingSpeech = 0; @@ -688,7 +687,7 @@ int StarTrekEngine::handleMenuEvents(uint32 ticksUntilClickingEnabled, bool arg4 return TEXTBUTTON_SPEECH_DONE; } } - // sub_1E88C(); + _gfx->incPaletteFadeLevel(); _frameIndex++; if (ticksUntilClickingEnabled != 0 && _clockTicks >= tickWhenClickingEnabled) |