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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri May 29 14:28:39 CEST 2009


Revision: 40989
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40989&view=rev
Author:   lordhoto
Date:     2009-05-29 12:28:39 +0000 (Fri, 29 May 2009)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_lol.cpp
    scummvm/trunk/engines/kyra/kyra_hof.cpp
    scummvm/trunk/engines/kyra/kyra_lok.cpp
    scummvm/trunk/engines/kyra/kyra_mr.cpp
    scummvm/trunk/engines/kyra/kyra_v1.cpp

Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-29 12:16:34 UTC (rev 40988)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-29 12:28:39 UTC (rev 40989)
@@ -706,9 +706,6 @@
 	// set the "mainLoop" parameter to false for them.
 	int inputFlag = checkInput(_activeButtons, !(_updateFlags & 3), 0);
 
-	if (!(_updateFlags & 3))
-		checkAutosave();
-
 	if (_preserveEvents)
 		_preserveEvents = false;
 	else

Modified: scummvm/trunk/engines/kyra/kyra_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_hof.cpp	2009-05-29 12:16:34 UTC (rev 40988)
+++ scummvm/trunk/engines/kyra/kyra_hof.cpp	2009-05-29 12:28:39 UTC (rev 40989)
@@ -471,8 +471,6 @@
 				break;
 		}
 
-		checkAutosave();
-
 		if (_system->getMillis() > _nextIdleAnim)
 			showIdleAnim();
 

Modified: scummvm/trunk/engines/kyra/kyra_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_lok.cpp	2009-05-29 12:16:34 UTC (rev 40988)
+++ scummvm/trunk/engines/kyra/kyra_lok.cpp	2009-05-29 12:28:39 UTC (rev 40989)
@@ -403,8 +403,6 @@
 	while (!shouldQuit()) {
 		int32 frameTime = (int32)_system->getMillis();
 
-		checkAutosave();
-
 		if (_currentCharacter->sceneId == 210) {
 			updateKyragemFading();
 			if (seq_playEnd() && _deathHandler != 8)

Modified: scummvm/trunk/engines/kyra/kyra_mr.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_mr.cpp	2009-05-29 12:16:34 UTC (rev 40988)
+++ scummvm/trunk/engines/kyra/kyra_mr.cpp	2009-05-29 12:28:39 UTC (rev 40989)
@@ -975,8 +975,6 @@
 				break;
 		}
 
-		checkAutosave();
-
 		if (_system->getMillis() >= _nextIdleAnim)
 			showIdleAnim();
 

Modified: scummvm/trunk/engines/kyra/kyra_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v1.cpp	2009-05-29 12:16:34 UTC (rev 40988)
+++ scummvm/trunk/engines/kyra/kyra_v1.cpp	2009-05-29 12:28:39 UTC (rev 40989)
@@ -243,6 +243,9 @@
 	updateInput();
 	_isSaveAllowed = false;
 
+	if (mainLoop)
+		checkAutosave();
+
 	int keys = 0;
 	int8 mouseWheel = 0;
 


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