From 14ec3f45fa08a0c0071693f4094fc088eb0062b5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 17 May 2006 23:52:45 +0000 Subject: - Heavily modified patch #1214784: "Disable overlay scaling" - Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505 --- backends/null/null.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/null/null.cpp') diff --git a/backends/null/null.cpp b/backends/null/null.cpp index fdc275178a..b44a1ee710 100644 --- a/backends/null/null.cpp +++ b/backends/null/null.cpp @@ -46,7 +46,7 @@ public: virtual bool setGraphicsMode(int mode); bool setGraphicsMode(const char *name); virtual int getGraphicsMode() const; - virtual void initSize(uint width, uint height, int overlayScale); + virtual void initSize(uint width, uint height); virtual int16 getHeight(); virtual int16 getWidth(); virtual void setPalette(const byte *colors, uint start, uint num); @@ -164,7 +164,7 @@ int OSystem_NULL::getGraphicsMode() const return -1; } -void OSystem_NULL::initSize(uint width, uint height, int overlayScale) +void OSystem_NULL::initSize(uint width, uint height) { } -- cgit v1.2.3