diff options
author | Lars Skovlund | 2011-03-30 21:26:48 +0200 |
---|---|---|
committer | Lars Skovlund | 2011-03-30 21:30:51 +0200 |
commit | 40d922206bbbd23e3b55dd43432042b0fc2af1ed (patch) | |
tree | ef73e09b64a2f643fa3cdf337b481feb4020e982 /engines/sci/graphics/screen.h | |
parent | 3a4fc2f0d6cc94652754eecf0d3cb0588c4678dd (diff) | |
download | scummvm-rg350-40d922206bbbd23e3b55dd43432042b0fc2af1ed.tar.gz scummvm-rg350-40d922206bbbd23e3b55dd43432042b0fc2af1ed.tar.bz2 scummvm-rg350-40d922206bbbd23e3b55dd43432042b0fc2af1ed.zip |
SCI32: Support for views with 640x400 native resolution
(fixes Wolfgang closeup, room 720)
Diffstat (limited to 'engines/sci/graphics/screen.h')
-rw-r--r-- | engines/sci/graphics/screen.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |