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

Vincent Hamm yazoo at users.sourceforge.net
Sat Mar 9 04:33:02 CET 2002


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

Modified Files:
	debug.cpp 
Log Message:
Fixed the debug box tool

Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/debug.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** debug.cpp	9 Mar 2002 05:39:25 -0000	1.22
--- debug.cpp	9 Mar 2002 12:32:19 -0000	1.23
***************
*** 117,129 ****
  
  			printf("Walk matrix:\n");
! 			while (*boxm != 0xFF) {
! 				printf("%d ", *boxm);
! 				i++; *boxm++;
! 				if (i >= num) {i = 0; rows++; printf("\n");}				
  			}
! 
! 			if (rows < num)
! 				printf("\nERROR: Box Matrix invalid, missing or incomplete: %d row(s)", num - rows);
! 
  			printf("\nWalk boxes:\n");			
  			for (i=0; i<num; i++) {				
--- 117,130 ----
  
  			printf("Walk matrix:\n");
! 			for (i=0;i<num;i++)
! 			{
! 				while(*boxm != 0xFF) {
! 					printf ("[%d] ",*boxm);
! 					boxm++;
! 				}
! 				boxm++;
! 				printf("\n");
  			}
! 				
  			printf("\nWalk boxes:\n");			
  			for (i=0; i<num; i++) {				





More information about the Scummvm-git-logs mailing list