[Scummvm-cvs-logs] SF.net SVN: scummvm:[46284] scummvm/trunk/engines/draci/draci.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Dec 7 21:32:54 CET 2009


Revision: 46284
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46284&view=rev
Author:   eriktorbjorn
Date:     2009-12-07 20:32:54 +0000 (Mon, 07 Dec 2009)

Log Message:
-----------
For consistency, make F5 bring up the main menu in the Draci engine too, just
like megath just did in the TeenAgent engine.

Modified Paths:
--------------
    scummvm/trunk/engines/draci/draci.cpp

Modified: scummvm/trunk/engines/draci/draci.cpp
===================================================================
--- scummvm/trunk/engines/draci/draci.cpp	2009-12-07 19:16:18 UTC (rev 46283)
+++ scummvm/trunk/engines/draci/draci.cpp	2009-12-07 20:32:54 UTC (rev 46284)
@@ -293,6 +293,11 @@
 					_game->inventoryInit();
 				}
 				break;
+			case Common::KEYCODE_F5:
+				if (event.kbd.flags == 0) {
+					openMainMenuDialog();
+				}
+				break;
 			default:
 				break;
 			}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list