[Scummvm-cvs-logs] CVS: scummvm/v3 resource_v3.cpp,1.6,1.7

Lionel Ulmer bbrox at users.sourceforge.net
Wed May 1 10:35:48 CEST 2002


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

Modified Files:
	resource_v3.cpp 
Log Message:
Removed ScummVM's private alloc / free / realloc functions. If I break
something, just yell :-)



Index: resource_v3.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/v3/resource_v3.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** resource_v3.cpp	11 Apr 2002 17:19:15 -0000	1.6
--- resource_v3.cpp	1 May 2002 17:16:47 -0000	1.7
***************
*** 83,87 ****
  
  	_shadowPaletteSize = 256;
! 	_shadowPalette = (byte *)alloc(_shadowPaletteSize);	// stupid for now. Need to be removed later
  	_numFlObject = 50;
  	allocateArrays();
--- 83,87 ----
  
  	_shadowPaletteSize = 256;
! 	_shadowPalette = (byte *)calloc(_shadowPaletteSize, 1);	// stupid for now. Need to be removed later
  	_numFlObject = 50;
  	allocateArrays();





More information about the Scummvm-git-logs mailing list