aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_options.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-03 07:01:48 +0000
committerFilippos Karapetis2009-09-03 07:01:48 +0000
commit557aaab0e6148daaf8bdc896ec64f2a37cc6f8bb (patch)
tree29c12f3c13c522bf7a36c91f7b82d8edc1fdc90f /engines/sci/gfx/gfx_options.h
parent3dca56bdd55e5ebb449f62de20dc3d89977ad653 (diff)
downloadscummvm-rg350-557aaab0e6148daaf8bdc896ec64f2a37cc6f8bb.tar.gz
scummvm-rg350-557aaab0e6148daaf8bdc896ec64f2a37cc6f8bb.tar.bz2
scummvm-rg350-557aaab0e6148daaf8bdc896ec64f2a37cc6f8bb.zip
- Re-added the SCI0 dithering code. Dithering is disabled by default. Added the 3 dithering modes as an enum (and reorganized them a bit)
- Added 3 config options for dithering in the ini file - mainly for purists (config option "dither_mode"): 0 - disabled, 1 - 16 color dithering (Sierra style) and 2 - 256 color dithering - Dithering is now always applied depending on the screen scale (removed the relevant parameter) - Removed the background picture buffering option, used to speed-up room changes. Room changing is quite fast (instantaneous), and the extra memory allocated is not worth the possible speed increase in small devices. Plus.... there is no reliable value to set this option to, so there is no point in letting the user decide what value to put there using guesswork svn-id: r43915
Diffstat (limited to 'engines/sci/gfx/gfx_options.h')
-rw-r--r--engines/sci/gfx/gfx_options.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/sci/gfx/gfx_options.h b/engines/sci/gfx/gfx_options.h
index 6060b30b4d..03b00ca616 100644
--- a/engines/sci/gfx/gfx_options.h
+++ b/engines/sci/gfx/gfx_options.h
@@ -47,15 +47,9 @@ namespace Sci {
*/
struct gfx_options_t {
#ifdef CUSTOM_GRAPHICS_OPTIONS
- int buffer_pics_nr; /* Number of unused pics to buffer in LRU storage */
-
/* SCI0 pic resource options */
int pic0_unscaled; /* Don't draw scaled SCI0 pics */
-
-#if 0
- int pic0_dither_mode; /* Mode to use for pic0 dithering, defined in gfx_resource.h */
- int pic0_dither_pattern; /* Pattern to use for pic0 dithering, defined in gfx_resource.h */
-#endif
+ DitherMode pic0_dither_mode; /* Mode to use for pic0 dithering, defined in gfx_resource.h */
gfx_brush_mode_t pic0_brush_mode;
gfx_line_mode_t pic0_line_mode;