[Scummvm-cvs-logs] SF.net SVN: scummvm: [31382] scummvm/trunk/engines/kyra/staticres.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Apr 4 15:28:53 CEST 2008


Revision: 31382
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31382&view=rev
Author:   thebluegr
Date:     2008-04-04 06:28:53 -0700 (Fri, 04 Apr 2008)

Log Message:
-----------
Also hooked the death menu quit button to the game quit code implemented in rev #31376

Revision Links:
--------------
    http://scummvm.svn.sourceforge.net/scummvm/?rev=31376&view=rev

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/staticres.cpp

Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp	2008-04-04 11:43:26 UTC (rev 31381)
+++ scummvm/trunk/engines/kyra/staticres.cpp	2008-04-04 13:28:53 UTC (rev 31382)
@@ -1571,6 +1571,7 @@
 	GUI_V2_MENU_ITEM(_deathMenu.item[0], 1, 2, -1, 0x1E, 0xB4, 0x0F, 0xFC, 0xFD, 8, 0xF8, 0xF9, 0xFA, -1, 0, 0, 0, 0);
 	_deathMenu.item[0].callback = clickLoadMenuFunctor;
 	GUI_V2_MENU_ITEM(_deathMenu.item[1], 1, 5, -1, 0x2F, 0xB4, 0x0F, 0xFC, 0xFD, 8, 0xF8, 0xF9, 0xFA, -1, 0, 0, 0, 0);
+	_deathMenu.item[1].callback = BUTTON_FUNCTOR(GUI_v2, this, &GUI_v2::quitGame);
 	for (int i = 2; i <= 6; ++i)
 		_deathMenu.item[i].enabled = false;
 	for (int i = 0; i < 2; ++i)


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