[Scummvm-cvs-logs] CVS: scummvm debug.cpp,1.21,1.22

James Brown ender at users.sourceforge.net
Fri Mar 8 21:40:05 CET 2002


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

Modified Files:
	debug.cpp 
Log Message:
Add some help for one of my debugger commands.



Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/debug.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** debug.cpp	9 Mar 2002 00:56:21 -0000	1.21
--- debug.cpp	9 Mar 2002 05:39:25 -0000	1.22
***************
*** 74,77 ****
--- 74,78 ----
  				"(s)cripts -> show running scripts\n"
                  "(b)oxes -> list and draw boxen\n"
+ 				"(v)ariable -> set or show a variable value\n"
  				"(w)atch [varnum] -> set a variable watch. 0 means all variables.\n"
  				"(e)xit -> exit game\n"
***************
*** 137,141 ****
  	case CMD_VAR:
  		if (!_parameters[0]) {
! 			printf("Enter a variable\n");
  		} else {			
  			char *tok = strtok(_parameters, " ");
--- 138,142 ----
  	case CMD_VAR:
  		if (!_parameters[0]) {
! 			printf("v 123 will show the value of 123, v 123 456 will set the value of 123 to 456.\n");
  		} else {			
  			char *tok = strtok(_parameters, " ");





More information about the Scummvm-git-logs mailing list