aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-01 20:28:44 +0000
committerFilippos Karapetis2009-09-01 20:28:44 +0000
commit28e2f0457e8e166d4f0f9f341f29dcdc60c0fbf5 (patch)
treecf29e583f2c4a4102ccb7df387ab9e1acfde6ffe /engines/sci/gfx
parentfd92b494865fa254cdb9450c10c5acb84c1614a5 (diff)
downloadscummvm-rg350-28e2f0457e8e166d4f0f9f341f29dcdc60c0fbf5.tar.gz
scummvm-rg350-28e2f0457e8e166d4f0f9f341f29dcdc60c0fbf5.tar.bz2
scummvm-rg350-28e2f0457e8e166d4f0f9f341f29dcdc60c0fbf5.zip
Re-enabled custom graphics options, and read the cursor, view, pic and text filtering algorithm options from the ScummVM ini file (options "cursor_filter", "view_filter", "pic_filter" and "text_filter", 0 - unfiltered, 1 - bilinear filtering, 2 - trilinear filtering)
svn-id: r43894
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/gfx_options.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/engines/sci/gfx/gfx_options.h b/engines/sci/gfx/gfx_options.h
index 2e2b853562..babd9654e3 100644
--- a/engines/sci/gfx/gfx_options.h
+++ b/engines/sci/gfx/gfx_options.h
@@ -31,10 +31,7 @@
#include "sci/gfx/gfx_tools.h"
// Define this to enable user-defined custom graphics options
-// TODO: 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)
-//#define CUSTOM_GRAPHICS_OPTIONS
+#define CUSTOM_GRAPHICS_OPTIONS
#ifdef CUSTOM_GRAPHICS_OPTIONS
#include "sci/gfx/gfx_res_options.h"
@@ -56,13 +53,13 @@ enum {
*/
struct gfx_options_t {
#ifdef CUSTOM_GRAPHICS_OPTIONS
- int buffer_pics_nr; /* Number of unused pics to buffer */
+ 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 */
- int pic0_dither_mode; /* Defined in gfx_resource.h */
- int pic0_dither_pattern; /* Defined in gfx_resource.h */
+ 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 */
gfx_brush_mode_t pic0_brush_mode;
gfx_line_mode_t pic0_line_mode;
@@ -73,7 +70,7 @@ struct gfx_options_t {
gfx_xlate_filter_t text_xlate_filter;
gfx_res_fullconf_t res_conf; /* Resource customisation: Per-resource palettes etc. */
- int dirty_frames;
+ int dirty_frames; // Dirty frames management
int workarounds; // Workaround flags - see below
#endif