[Scummvm-cvs-logs] SF.net SVN: scummvm:[45292] scummvm/trunk/engines/sci/engine/kgraphics.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Oct 20 22:57:09 CEST 2009


Revision: 45292
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45292&view=rev
Author:   m_kiewitz
Date:     2009-10-20 20:57:08 +0000 (Tue, 20 Oct 2009)

Log Message:
-----------
SCI: kPalVary - pause

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-20 20:16:02 UTC (rev 45291)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-20 20:57:08 UTC (rev 45292)
@@ -655,6 +655,18 @@
 		}
 		break;
 	}
+	case 6: { // Pause
+		bool pauseState;
+		if (argc == 2) {
+			pauseState = argv[1].isNull() ? false : true;
+			// this call is actually counting states, so calling this 3 times with true will require calling it later
+			//  3 times with false to actually remove pause
+			// forward call to SciGui
+		} else {
+			warning("kPalVary(pause) called with unsupported argc %d", argc);
+		}
+		break;
+	}
 	default:
 		warning("kPalVary(%d), not implemented (argc = %d)", operation, argc);
 	}


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