[Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.8,1.9

Jonathan Gray khalek at users.sourceforge.net
Sat Jan 18 02:39:04 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17600

Modified Files:
	debugger.cpp 
Log Message:
add ability to change actor costume via the debugger

Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- debugger.cpp	7 Jan 2003 09:46:51 -0000	1.8
+++ debugger.cpp	18 Jan 2003 10:38:32 -0000	1.9
@@ -320,6 +320,9 @@
 	if (!strcmp(argv[2], "ignoreboxes")) {
 			a->ignoreBoxes = atoi(argv[3]);
 			Debug_Printf("Actor[%d].ignoreBoxes = %d\n", actnum, a->ignoreBoxes);
+	} else if (!strcmp(argv[2], "costume")) {
+			a->setActorCostume( atoi(argv[3]) );
+			Debug_Printf("Actor[%d].costume = %d\n", actnum, a->costume);
 	} else {
 			Debug_Printf("Unknown actor command '%s'\n", argv[2]);
 	}





More information about the Scummvm-git-logs mailing list