[Scummvm-cvs-logs] CVS: scummvm/bs2/driver driver96.h,1.24,1.25

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Mon Aug 25 06:18:21 CEST 2003


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

Modified Files:
	driver96.h 
Log Message:
Clarified the comments for our Surface class a bit. I plan on removing it
completely soon, so don't use it unless you really, really need to.


Index: driver96.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/driver96.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- driver96.h	24 Aug 2003 00:40:55 -0000	1.24
+++ driver96.h	25 Aug 2003 11:30:01 -0000	1.25
@@ -1247,13 +1247,17 @@
 #define TRUE 1
 #define FALSE 0
 
-// FIXME: Temporary (?) surface class to replace LPDIRECTDRAWSURFACE for now.
-// Actually, this class should be used as little as possible since it
-// introduces an extra layer of data copying. It should only be used where we
-// decode something once and draw it many times, such as the parallax layers.
+// Surface class to help replace LPDIRECTDRAWSURFACE.
+//
+// This class should be used as little as possible since it introduces an
+// extra layer of data copying. It should only be used where we decode
+// something once and draw it many times, such as the parallax layers.
 //
 // Even then it's only necessary if we also need to keep track of the
-// surface's coordinates.
+// surface's dimensions.
+//
+// Since the building blocks of the parallax layers have constant size,
+// expect this class to go away.
 
 class Surface {
 public:





More information about the Scummvm-git-logs mailing list