[Scummvm-git-logs] scummvm master -> e06ec24807e88d688c67539d20efe41d165aa608

criezy criezy at scummvm.org
Sun Oct 6 18:10:17 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e06ec24807 SUPERNOVA: Hook up F5 to the Main Menu


Commit: e06ec24807e88d688c67539d20efe41d165aa608
    https://github.com/scummvm/scummvm/commit/e06ec24807e88d688c67539d20efe41d165aa608
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2019-10-06T17:10:04+01:00

Commit Message:
SUPERNOVA: Hook up F5 to the Main Menu

In the original F5 is used to save/load the game. Since we are
using the ScummVM save/load mechanism I think it makes sense to
open the main menu, that contains load and save buttons, on F5.

Changed paths:
    engines/supernova/game-manager.cpp


diff --git a/engines/supernova/game-manager.cpp b/engines/supernova/game-manager.cpp
index 7e44882..66fb013 100644
--- a/engines/supernova/game-manager.cpp
+++ b/engines/supernova/game-manager.cpp
@@ -278,7 +278,7 @@ void GameManager::processInput(Common::KeyState &state) {
 		_vm->setTextSpeed();
 		break;
 	case Common::KEYCODE_F5:
-		// load/save
+		_vm->openMainMenuDialog();
 		break;
 	case Common::KEYCODE_x:
 		if (state.flags & Common::KBD_ALT) {





More information about the Scummvm-git-logs mailing list