[Scummvm-cvs-logs] CVS: scummvm/saga sfuncs.cpp,1.40,1.41

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Fri Nov 12 07:20:12 CET 2004


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21777

Modified Files:
	sfuncs.cpp 
Log Message:
Better names.


Index: sfuncs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/sfuncs.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- sfuncs.cpp	7 Nov 2004 15:35:42 -0000	1.40
+++ sfuncs.cpp	12 Nov 2004 15:19:32 -0000	1.41
@@ -233,12 +233,14 @@
 
 // Script function #7 (0x07)
 int Script::SF_doAction(SCRIPTFUNC_PARAMS) {
-	SDataWord_T param1 = thread->pop();
-	SDataWord_T param2 = thread->pop();
-	SDataWord_T param3 = thread->pop();
-	SDataWord_T param4 = thread->pop();
+	SDataWord_T actor_parm = thread->pop();
+	SDataWord_T action_parm = thread->pop();
+	SDataWord_T obj_parm = thread->pop();
+	SDataWord_T withobj_parm = thread->pop();
 
-	debug(1, "stub: SF_doAction(%d, %d, %d, %d)", param1, param2, param3, param4);
+	// The parameters correspond with the thread variables.
+
+	debug(1, "stub: SF_doAction(%d, %d, %d, %d)", actor_parm, action_parm, obj_parm, withobj_parm);
 	return SUCCESS;
 }
 





More information about the Scummvm-git-logs mailing list