aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-08-25 11:30:01 +0000
committerTorbjörn Andersson2003-08-25 11:30:01 +0000
commit528cde2735f619d200b71b83043fc7e5a842cf8a (patch)
tree85bc73cde1846581ca76f8e88889bad6023720a5 /sword2
parentfcc904a8136d2b45ace86e30b1e0690770b964a0 (diff)
downloadscummvm-rg350-528cde2735f619d200b71b83043fc7e5a842cf8a.tar.gz
scummvm-rg350-528cde2735f619d200b71b83043fc7e5a842cf8a.tar.bz2
scummvm-rg350-528cde2735f619d200b71b83043fc7e5a842cf8a.zip
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. svn-id: r9855
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/driver96.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h
index 3adb16cacd..9255566165 100644
--- a/sword2/driver/driver96.h
+++ b/sword2/driver/driver96.h
@@ -1247,13 +1247,17 @@ typedef int BOOL;
#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: