From 1e8bd16c1e89dd2ab528a1e502291c5d1800a4cb Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 1 Apr 2009 20:32:45 +0000 Subject: - 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 --- engines/sci/engine/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci/engine/game.cpp') 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,11 +217,13 @@ 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); } -- cgit v1.2.3