[Scummvm-cvs-logs] CVS: scummvm debug.cpp,1.19,1.20 script.cpp,1.30,1.31

James Brown ender at users.sourceforge.net
Fri Mar 8 05:32:06 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv22242

Modified Files:
	debug.cpp script.cpp 
Log Message:
Fixed a bug in the 'watch' debug command..



Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/debug.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** debug.cpp	8 Mar 2002 08:27:45 -0000	1.19
--- debug.cpp	8 Mar 2002 13:31:29 -0000	1.20
***************
*** 73,77 ****
  				"(r)oom roomnum -> load room\n"
  				"(s)cripts -> show running scripts\n"
!                                 "(b)oxes -> list and draw boxen\n"
  				"(e)xit -> exit game\n"
  			   );
--- 73,78 ----
  				"(r)oom roomnum -> load room\n"
  				"(s)cripts -> show running scripts\n"
!                 "(b)oxes -> list and draw boxen\n"
! 				"(w)atch [varnum] -> set a variable watch. 0 means all variables.\n"
  				"(e)xit -> exit game\n"
  			   );

Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** script.cpp	8 Mar 2002 08:42:11 -0000	1.30
--- script.cpp	8 Mar 2002 13:31:29 -0000	1.31
***************
*** 336,340 ****
  
  		if ((_varwatch == (int)var) || (_varwatch == 0))
! 			printf("vars[%d] = %d (via script %d)\n", var, value, &vm.slot[_currentScript].number);
  		return;
  	}
--- 336,340 ----
  
  		if ((_varwatch == (int)var) || (_varwatch == 0))
! 			printf("vars[%d] = %d (via script %d)\n", var, value, vm.slot[_currentScript].number);
  		return;
  	}





More information about the Scummvm-git-logs mailing list