aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/render.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-15 06:40:31 +0000
committerTorbjörn Andersson2003-10-15 06:40:31 +0000
commit8b42d65a7e922a9b9241ebe509968331fe958fb6 (patch)
tree5dcef554baa412cf676beb11c453d54957ecaa8c /sword2/driver/render.h
parentf74a0c18aa2ef244f987c31d3d146207c72e81ee (diff)
downloadscummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.gz
scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.bz2
scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.zip
Dumped most of the remaining "driver" code into a new "Display" class. This
touches a lot of the code, of course, and adds yet another global variable (temporarily, I hope), but everything still seems to work. Knock on wood. svn-id: r10806
Diffstat (limited to 'sword2/driver/render.h')
-rw-r--r--sword2/driver/render.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sword2/driver/render.h b/sword2/driver/render.h
index f438ede23c..7fef5d9b72 100644
--- a/sword2/driver/render.h
+++ b/sword2/driver/render.h
@@ -33,20 +33,6 @@ typedef struct {
uint16 offset;
} _parallaxLine;
-extern int16 scrollx; // current x offset into background of display
-extern int16 scrolly; // current y offset into background of display
-extern int16 parallaxScrollx; // current x offset to link a sprite to the
- // parallax layer
-extern int16 parallaxScrolly; // current y offset to link a sprite to the
- // parallax layer
-extern int16 locationWide;
-extern int16 locationDeep;
-
-void SquashImage(byte *dst, uint16 dstPitch, uint16 dstWidth, uint16 dstHeight, byte *src, uint16 srcPitch, uint16 srcWidth, uint16 srcHeight, byte *backbuf);
-void StretchImage(byte *dst, uint16 dstPitch, uint16 dstWidth, uint16 dstHeight, byte *src, uint16 srcPitch, uint16 srcWidth, uint16 srcHeight, byte *backbuf);
-
-void UploadRect(Common::Rect *r);
-
} // End of namespace Sword2
#endif