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

Mutwin Kraus mutle at users.sourceforge.net
Fri Mar 8 09:09:32 CET 2002


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

Modified Files:
	gfx.cpp 
Log Message:
Some changes, need to be done to get the Mac Port running. For example Point is now called ScummPoint, as the name Point is already in use by Apple.

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gfx.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** gfx.cpp	8 Mar 2002 08:42:10 -0000	1.41
--- gfx.cpp	8 Mar 2002 17:04:24 -0000	1.42
***************
*** 232,236 ****
  	if(_features & GF_AFTER_V7) {
  		CameraData *cd = &camera;
! 		Point old;
  
  		old = cd->_cur;
--- 232,236 ----
  	if(_features & GF_AFTER_V7) {
  		CameraData *cd = &camera;
! 		ScummPoint old;
  
  		old = cd->_cur;
***************
*** 1642,1646 ****
  }
  
! void Scumm::clampCameraPos(Point *pt) {
  	if (pt->x < _vars[VAR_CAMERA_MIN_X])
  		pt->x = _vars[VAR_CAMERA_MIN_X];
--- 1642,1646 ----
  }
  
! void Scumm::clampCameraPos(ScummPoint *pt) {
  	if (pt->x < _vars[VAR_CAMERA_MIN_X])
  		pt->x = _vars[VAR_CAMERA_MIN_X];
***************
*** 1660,1664 ****
  	if(_features & GF_AFTER_V7) {
  		CameraData *cd = &camera;
! 		Point old = cd->_cur;
  		Actor *a;
  
--- 1660,1664 ----
  	if(_features & GF_AFTER_V7) {
  		CameraData *cd = &camera;
! 		ScummPoint old = cd->_cur;
  		Actor *a;
  





More information about the Scummvm-git-logs mailing list