aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/compare.h
diff options
context:
space:
mode:
authorColin Snover2016-08-14 16:28:37 -0500
committerColin Snover2016-08-19 15:23:10 -0500
commit4e1a9be816c14593b37a672b0789528b1719a199 (patch)
tree8f6f2bbe80aafa4e17e68b0fa9f6590b84f14312 /engines/sci/graphics/compare.h
parenteae689140458efa657cefc549a3670c60d42bb12 (diff)
downloadscummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.tar.gz
scummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.tar.bz2
scummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.zip
SCI32: Remove CoordAdjuster32, at least for the moment
This may come back in the future to deduplicate some gfx code, but SCI32 had two different inlined ways of doing coordinate conversions with different rounding methods, so CoordAdjuster32 didn't get used when the graphics system was rewritten. At the moment, SCI32 code uses the mulru/mulinc methods from helper.h for scaling up/down coordinates.
Diffstat (limited to 'engines/sci/graphics/compare.h')
-rw-r--r--engines/sci/graphics/compare.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/compare.h b/engines/sci/graphics/compare.h
index c7005980d0..dd65b90bea 100644
--- a/engines/sci/graphics/compare.h
+++ b/engines/sci/graphics/compare.h
@@ -34,7 +34,7 @@ class Screen;
*/
class GfxCompare {
public:
- GfxCompare(SegManager *segMan, GfxCache *cache, GfxScreen *screen, GfxCoordAdjuster *coordAdjuster);
+ GfxCompare(SegManager *segMan, GfxCache *cache, GfxScreen *screen, GfxCoordAdjuster16 *coordAdjuster);
~GfxCompare();
uint16 kernelOnControl(byte screenMask, const Common::Rect &rect);
@@ -50,7 +50,7 @@ private:
SegManager *_segMan;
GfxCache *_cache;
GfxScreen *_screen;
- GfxCoordAdjuster *_coordAdjuster;
+ GfxCoordAdjuster16 *_coordAdjuster;
uint16 isOnControl(uint16 screenMask, const Common::Rect &rect);