[Scummvm-cvs-logs] SF.net SVN: scummvm: [28343] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jul 31 01:30:09 CEST 2007


Revision: 28343
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28343&view=rev
Author:   thebluegr
Date:     2007-07-30 16:30:08 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
sf92 is not null in the demo version of IHNM

Modified Paths:
--------------
    scummvm/trunk/engines/saga/script.h
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/script.h
===================================================================
--- scummvm/trunk/engines/saga/script.h	2007-07-30 23:22:09 UTC (rev 28342)
+++ scummvm/trunk/engines/saga/script.h	2007-07-30 23:30:08 UTC (rev 28343)
@@ -596,6 +596,7 @@
 	void sf89(SCRIPTFUNC_PARAMS);
 	void sfGetPoints(SCRIPTFUNC_PARAMS);
 	void sfSetGlobalFlag(SCRIPTFUNC_PARAMS);
+	void sf92(SCRIPTFUNC_PARAMS);
 	void sfClearGlobalFlag(SCRIPTFUNC_PARAMS);
 	void sfTestGlobalFlag(SCRIPTFUNC_PARAMS);
 	void sfSetPoints(SCRIPTFUNC_PARAMS);

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-30 23:22:09 UTC (rev 28342)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-30 23:30:08 UTC (rev 28343)
@@ -230,7 +230,7 @@
 		OPCODE(sf89),
 		OPCODE(sfVstopFX),
 		OPCODE(sfVstopLoopedFX),
-		OPCODE(sfNull),
+		OPCODE(sf92),	// only used in the demo version of IHNM
 		OPCODE(sfDemoIsInteractive),
 		OPCODE(sfVsetTrack),
 		OPCODE(sfGetPoints),
@@ -2109,6 +2109,11 @@
 	_vm->_sound->stopSound();
 }
 
+void Script::sf92(SCRIPTFUNC_PARAMS) {
+	SF_stub("sf92", thread, nArgs);
+	// This opcode is empty in the full version of IHNM, but it's not empty in the demo
+}
+
 void Script::sfDemoIsInteractive(SCRIPTFUNC_PARAMS) {
 	thread->_returnValue = 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