[Scummvm-cvs-logs] CVS: scummvm/bs2/driver driver96.h,1.44,1.45 render.cpp,1.26,1.27

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sat Sep 27 08:46:01 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv30368/driver

Modified Files:
	driver96.h render.cpp 
Log Message:
Removed CopyScreenBuffer() since it was a no-op anyway.


Index: driver96.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/driver96.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- driver96.h	24 Sep 2003 06:40:22 -0000	1.44
+++ driver96.h	27 Sep 2003 15:44:26 -0000	1.45
@@ -343,14 +343,6 @@
 //
 //	---------------------------------------------------------------------------
 //
-//	int32 CopyScreenBuffer(void)
-//
-//	Copies the screen buffer to screen memory.  This function should be called
-//	when the drawing should be done to the back buffer.  It only does this
-//	when we are using a software screen buffer.
-//
-//	---------------------------------------------------------------------------
-//
 //	int32 SetScrollTarget(int16 sx, int16 sy)
 //
 //	Sets the scroll target position for the end of the game cycle.  The drivers
@@ -1066,7 +1058,6 @@
 extern int32 EndRenderCycle(bool *end);
 extern int32 RenderParallax(_parallax *p, int16 layer);
 extern int32 SetLocationMetrics(uint16 w, uint16 h);
-extern int32 CopyScreenBuffer(void);
 extern int32 PlotPoint(uint16 x, uint16 y, uint8 colour);
 extern int32 DrawLine(int16 x1, int16 y1, int16 x2, int16 y2, uint8 colour);
 extern int32 InitialiseBackgroundLayer(_parallax *p);

Index: render.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/render.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- render.cpp	27 Sep 2003 15:38:42 -0000	1.26
+++ render.cpp	27 Sep 2003 15:44:26 -0000	1.27
@@ -39,14 +39,6 @@
 //
 //	---------------------------------------------------------------------------
 //
-//	int32 CopyScreenBuffer(void)
-//
-//	Copies the screen buffer to screen memory.  This function should be called
-//	when the drawing should be done to the back buffer.  It only does this
-//	when we are using a software screen buffer.
-//
-//	---------------------------------------------------------------------------
-//
 //	int32 SetScrollTarget(int16 sx, int16 sy)
 //
 //	Sets the scroll target position for the end of the game cycle.  The drivers
@@ -904,12 +896,6 @@
 	scrollxTarget = sx;
 	scrollyTarget = sy;
 
-	return RD_OK;
-}
-
-int32 CopyScreenBuffer(void) {
-	// FIXME: This function no longer seems to be needed. We copy the
-	// back buffer to the screen in ServiceWindows() instead.
 	return RD_OK;
 }
 





More information about the Scummvm-git-logs mailing list