aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/menu.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-20 14:19:54 -0400
committerMatthew Hoops2011-09-20 14:21:54 -0400
commitde23530a4eada1dd244bf5533479399b8747287a (patch)
tree99dbf702eede48aedf7d3d51c7bcd0f8678f6abc /engines/pegasus/menu.cpp
parent1c8213ad86b8cdda01785b4c7ec41376e46e0f7e (diff)
downloadscummvm-rg350-de23530a4eada1dd244bf5533479399b8747287a.tar.gz
scummvm-rg350-de23530a4eada1dd244bf5533479399b8747287a.tar.bz2
scummvm-rg350-de23530a4eada1dd244bf5533479399b8747287a.zip
PEGASUS: Remove VideoManager code
It was originally from Mohawk and does not fit in with the new graphics management introduced. Movie will be used from here on out! In addition, the intro code has been rewritten and now it properly starts from the new code.
Diffstat (limited to 'engines/pegasus/menu.cpp')
-rw-r--r--engines/pegasus/menu.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp
index 49d60144d6..12c987c3b6 100644
--- a/engines/pegasus/menu.cpp
+++ b/engines/pegasus/menu.cpp
@@ -49,13 +49,10 @@ void PegasusEngine::runMainMenu() {
sound.initFromAIFFFile("Sounds/Main Menu.aiff");
sound.loopSound();
- // Note down how long since the last click
- uint32 lastClickTime = _system->getMillis();
-
int buttonSelected = 0;
drawMenu(buttonSelected);
- while (!shouldQuit() && _system->getMillis() - lastClickTime < 60 * 1000) {
+ while (!shouldQuit()) {
Common::Event event;
// Ignore events for now
@@ -105,8 +102,6 @@ void PegasusEngine::runMainMenu() {
break;
}
- // Update our last press time too
- lastClickTime = _system->getMillis();
break;
default:
break;
@@ -119,11 +114,6 @@ void PegasusEngine::runMainMenu() {
if (shouldQuit())
return;
-
- // Too slow! Go back and show the intro again.
- sound.stopSound();
- _video->playMovie(_introDirectory + "/LilMovie.movie");
- _gameMode = kIntroMode;
}
void PegasusEngine::drawMenu(int buttonSelected) {