From 40d922206bbbd23e3b55dd43432042b0fc2af1ed Mon Sep 17 00:00:00 2001 From: Lars Skovlund Date: Wed, 30 Mar 2011 21:26:48 +0200 Subject: SCI32: Support for views with 640x400 native resolution (fixes Wolfgang closeup, room 720) --- engines/sci/graphics/screen.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/sci/graphics/screen.h') diff --git a/engines/sci/graphics/screen.h b/engines/sci/graphics/screen.h index 93f1e5a05b..89ad52e0ac 100644 --- a/engines/sci/graphics/screen.h +++ b/engines/sci/graphics/screen.h @@ -28,6 +28,7 @@ #include "sci/sci.h" #include "sci/graphics/helpers.h" +#include "sci/graphics/view.h" #include "graphics/sjis.h" @@ -111,8 +112,8 @@ public: void scale2x(const byte *src, byte *dst, int16 srcWidth, int16 srcHeight, byte bytesPerPixel = 1); - void adjustToUpscaledCoordinates(int16 &y, int16 &x); - void adjustBackUpscaledCoordinates(int16 &y, int16 &x); + void adjustToUpscaledCoordinates(int16 &y, int16 &x, Sci32ViewNativeResolution viewScalingType = SCI_VIEW_NATIVERES_NONE); + void adjustBackUpscaledCoordinates(int16 &y, int16 &x, Sci32ViewNativeResolution viewScalingType = SCI_VIEW_NATIVERES_NONE); void dither(bool addToFlag); -- cgit v1.2.3