aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2005-04-09 13:31:47 +0000
committerMax Horn2005-04-09 13:31:47 +0000
commit3aba4997f4132846072a4fa395218c8723be165e (patch)
tree7103c4ae865edab913dae5e21ec0f64b1b252013 /backends
parent37c0af9a2d9a1814cfaa9f1f3468c4f70e1c09d6 (diff)
downloadscummvm-rg350-3aba4997f4132846072a4fa395218c8723be165e.tar.gz
scummvm-rg350-3aba4997f4132846072a4fa395218c8723be165e.tar.bz2
scummvm-rg350-3aba4997f4132846072a4fa395218c8723be165e.zip
Moved the GFX_ constants to sdl-common.h, where they belong.
svn-id: r17479
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/palm.h1
-rw-r--r--backends/sdl/sdl-common.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/palm.h b/backends/PalmOS/Src/palm.h
index a46ea7e318..6735c50973 100644
--- a/backends/PalmOS/Src/palm.h
+++ b/backends/PalmOS/Src/palm.h
@@ -57,6 +57,7 @@ enum {
// gfx modes
enum {
+ GFX_NORMAL = 0,
GFX_FLIPPING = 100, // Palmos
GFX_BUFFERED = 101, // Palmos
GFX_WIDE = 102 // palmos
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 57e7625b93..fa8959f001 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -36,6 +36,22 @@
#define USE_OSD 1
#endif
+
+enum {
+ GFX_NORMAL = 0,
+ GFX_DOUBLESIZE = 1,
+ GFX_TRIPLESIZE = 2,
+ GFX_2XSAI = 3,
+ GFX_SUPER2XSAI = 4,
+ GFX_SUPEREAGLE = 5,
+ GFX_ADVMAME2X = 6,
+ GFX_ADVMAME3X = 7,
+ GFX_HQ2X = 8,
+ GFX_HQ3X = 9,
+ GFX_TV2X = 10,
+ GFX_DOTMATRIX = 11
+};
+
static const int s_gfxModeSwitchTable[][4] = {
{ GFX_NORMAL, GFX_DOUBLESIZE, GFX_TRIPLESIZE, -1 },
{ GFX_NORMAL, GFX_ADVMAME2X, GFX_ADVMAME3X, -1 },