[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.356,1.357

Travis Howell kirben at users.sourceforge.net
Wed Dec 10 18:44:01 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv28498/simon

Modified Files:
	simon.cpp 
Log Message:

Fix and enabble quick load/save keys in simon 1/2.


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- simon.cpp	11 Dec 2003 02:13:42 -0000	1.356
+++ simon.cpp	11 Dec 2003 02:43:28 -0000	1.357
@@ -4793,7 +4793,6 @@
 		while (_system->poll_event(&event)) {
 			switch (event.event_code) {
 			case OSystem::EVENT_KEYDOWN:
-/*
 			// First attempt at quick load/save keys support
 			// For some reason Simon often walks into a location when loading
 			// and sometimes Simon isn't shown until he is moved.
@@ -4819,7 +4818,8 @@
 							fcs_unk_proc_1(2, getItem1Ptr(), 0, 0);
 							unlock();
 							// Reset engine?
-							sub = getSubroutineByID(7);
+							vc_set_bit_to(97, true);
+							sub = getSubroutineByID(100);
 							startSubroutine(sub);
 						} else {
 							save_game(_saveLoadSlot, _saveLoadName);
@@ -4827,7 +4827,6 @@
 						_saveLoadFlag = 0;
 					}
 				}
-*/
 				if (event.kbd.flags == OSystem::KBD_CTRL) {
 					if (event.kbd.keycode == 'f')
 						_fast_mode ^= 1;





More information about the Scummvm-git-logs mailing list