diff options
Diffstat (limited to 'engines/macventure/gui.cpp')
-rw-r--r-- | engines/macventure/gui.cpp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp index deb4a09a77..6c8122d156 100644 --- a/engines/macventure/gui.cpp +++ b/engines/macventure/gui.cpp @@ -867,13 +867,20 @@ void Gui::getTextFromUser() { showPrebuiltDialog(kSpeakDialog); } -void Gui::loadGame(int slot) { - _engine->loadGameState(slot); +void Gui::loadGame() { + _engine->scummVMSaveLoadDialog(false); } -void Gui::saveInto(int slot) { - _engine->saveGameState(slot, "desc"); - _engine->preparedToRun(); +void Gui::saveGame() { + _engine->scummVMSaveLoadDialog(true); +} + +void Gui::newGame() { + warning("New Game not implemented!"); +} + +void Gui::quitGame() { + _engine->requestQuit(); } void Gui::createInnerSurface(Graphics::ManagedSurface *innerSurface, Graphics::ManagedSurface *outerSurface, const BorderBounds &borders) { @@ -1098,13 +1105,13 @@ void Gui::handleMenuAction(MenuAction action) { warning("Unimplemented MacVenture Menu Action: New"); break; case MacVenture::kMenuActionOpen: - _engine->scummVMSaveLoadDialog(false); + loadGame(); break; case MacVenture::kMenuActionSave: - _engine->scummVMSaveLoadDialog(true); + saveGame(); break; case MacVenture::kMenuActionSaveAs: - _engine->scummVMSaveLoadDialog(true); + saveGame(); break; case MacVenture::kMenuActionQuit: debug("MacVenture Menu Action: Quit"); |