aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-04-01 20:32:45 +0000
committerFilippos Karapetis2009-04-01 20:32:45 +0000
commit1e8bd16c1e89dd2ab528a1e502291c5d1800a4cb (patch)
treec65f18c71ddc6f9926a63ca64a876e6163e3ba2a /engines/sci/engine/game.cpp
parentb6f6fdced4a2d9541b887d52cd8f19f3e6db8890 (diff)
downloadscummvm-rg350-1e8bd16c1e89dd2ab528a1e502291c5d1800a4cb.tar.gz
scummvm-rg350-1e8bd16c1e89dd2ab528a1e502291c5d1800a4cb.tar.bz2
scummvm-rg350-1e8bd16c1e89dd2ab528a1e502291c5d1800a4cb.zip
- Wrapped all the code for custom graphics options around a CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code)
- Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort() - Added some test code for setting palette intensity in KPalette() (currently disabled) svn-id: r39794
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r--engines/sci/engine/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index e1af9c7f64..c3bd69983d 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -217,12 +217,14 @@ int _reset_graphics_input(EngineState *s) {
}
int game_init_graphics(EngineState *s) {
+#ifdef CUSTOM_GRAPHICS_OPTIONS
#ifndef WITH_PIC_SCALING
if (s->gfx_state->options->pic0_unscaled == 0)
warning("Pic scaling was disabled; your version of FreeSCI has no support for scaled pic drawing built in.");
s->gfx_state->options->pic0_unscaled = 1;
#endif
+#endif
return _reset_graphics_input(s);
}