From 8b42d65a7e922a9b9241ebe509968331fe958fb6 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 15 Oct 2003 06:40:31 +0000 Subject: 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 --- sword2/driver/render.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sword2/driver/render.h') 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 -- cgit v1.2.3