diff options
author | Max Horn | 2004-10-15 22:28:12 +0000 |
---|---|---|
committer | Max Horn | 2004-10-15 22:28:12 +0000 |
commit | bb462f64e0c374fea76a6e513d29b60d049f9aa0 (patch) | |
tree | 9fa8e66007868b584cb9d871becbc44d151f0f79 /backends/sdl/sdl-common.h | |
parent | ccb8d04f35baeca212ef535c208f7e7abdc62ebf (diff) | |
download | scummvm-rg350-bb462f64e0c374fea76a6e513d29b60d049f9aa0.tar.gz scummvm-rg350-bb462f64e0c374fea76a6e513d29b60d049f9aa0.tar.bz2 scummvm-rg350-bb462f64e0c374fea76a6e513d29b60d049f9aa0.zip |
Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handling
svn-id: r15563
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r-- | backends/sdl/sdl-common.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index 6ccaf26a07..fde699ae6b 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -36,6 +36,18 @@ #define USE_OSD 1 #endif +static const int s_gfxModeSwitchTable[][4] = { + { GFX_NORMAL, GFX_DOUBLESIZE, GFX_TRIPLESIZE, -1 }, + { GFX_NORMAL, GFX_ADVMAME2X, GFX_ADVMAME3X, -1 }, + { GFX_NORMAL, GFX_HQ2X, GFX_HQ3X, -1 }, + { GFX_NORMAL, GFX_2XSAI, -1, -1 }, + { GFX_NORMAL, GFX_SUPER2XSAI, -1, -1 }, + { GFX_NORMAL, GFX_SUPEREAGLE, -1, -1 }, + { GFX_NORMAL, GFX_TV2X, -1, -1 }, + { GFX_NORMAL, GFX_DOTMATRIX, -1, -1 } + }; + + class OSystem_SDL : public OSystem { public: OSystem_SDL(); @@ -181,7 +193,8 @@ protected: }; bool _forceFull; // Force full redraw on next updateScreen - ScalerProc *_scaler_proc; + ScalerProc *_scalerProc; + int _scalerType; int _scaleFactor; int _mode; bool _full_screen; |