[Scummvm-cvs-logs] CVS: scummvm gfx.cpp,1.48,1.49 script_v1.cpp,1.41,1.42

James Brown ender at users.sourceforge.net
Sat Mar 9 04:40:01 CET 2002


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

Modified Files:
	gfx.cpp script_v1.cpp 
Log Message:
Proper fix for Indy3 intro background.



Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gfx.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** gfx.cpp	9 Mar 2002 12:23:56 -0000	1.48
--- gfx.cpp	9 Mar 2002 12:39:13 -0000	1.49
***************
*** 47,51 ****
  void Scumm::initScreens(int a, int b, int w, int h) {
  	int i;
! 
  	for (i=0; i<3; i++) {
  		nukeResource(rtBuffer, i+1);
--- 47,51 ----
  void Scumm::initScreens(int a, int b, int w, int h) {
  	int i;
! 	
  	for (i=0; i<3; i++) {
  		nukeResource(rtBuffer, i+1);
***************
*** 952,957 ****
  			_curVirtScreen->height,
  			_scrHeight);
! 	}
! 	_curVirtScreen->height = _scrHeight; // FIXME: Indy3 Hack
  
  	gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,
--- 952,956 ----
  			_curVirtScreen->height,
  			_scrHeight);
! 	}	
  
  	gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,

Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script_v1.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** script_v1.cpp	9 Mar 2002 00:56:21 -0000	1.41
--- script_v1.cpp	9 Mar 2002 12:39:13 -0000	1.42
***************
*** 1723,1731 ****
  		a = getVarOrDirectByte(0x80);
  		b = getVarOrDirectByte(0x40);
! 		if(_gameId == GID_INDY3_256 && a == 16 && b == 0) /* FIXME*/
! 		{
! 			fetchScriptByte();
! 			fetchScriptByte();
! 			fetchScriptByte();
  			return;
  		}
--- 1723,1733 ----
  		a = getVarOrDirectByte(0x80);
  		b = getVarOrDirectByte(0x40);
! 		if(_gameId == GID_INDY3_256 && a == 16 && b == 0) /* FIXME */
! 		{			
! 			// Set screen height
! 			c = fetchScriptByte();
! 			d = fetchScriptByte();
! 			e = fetchScriptByte();			
! 			initScreens(0,a,320,c);
  			return;
  		}





More information about the Scummvm-git-logs mailing list