diff options
author | Filippos Karapetis | 2009-10-25 20:53:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-25 20:53:07 +0000 |
commit | 1a4b61739832a1f1d597b9c56e67dd8b80b32f76 (patch) | |
tree | 3c80fcc922210f4e89b134443b45bba8365febbe /engines/sci/gfx/operations.h | |
parent | 0315264328af6b34a4c9e1028bba07a636da5df8 (diff) | |
download | scummvm-rg350-1a4b61739832a1f1d597b9c56e67dd8b80b32f76.tar.gz scummvm-rg350-1a4b61739832a1f1d597b9c56e67dd8b80b32f76.tar.bz2 scummvm-rg350-1a4b61739832a1f1d597b9c56e67dd8b80b32f76.zip |
- Removed graphics options code from the old GUI. Almost all of them are not supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)
svn-id: r45378
Diffstat (limited to 'engines/sci/gfx/operations.h')
-rw-r--r-- | engines/sci/gfx/operations.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/sci/gfx/operations.h b/engines/sci/gfx/operations.h index 0255130b37..6e6ff938e5 100644 --- a/engines/sci/gfx/operations.h +++ b/engines/sci/gfx/operations.h @@ -30,7 +30,6 @@ #include "sci/gfx/gfx_resmgr.h" #include "sci/gfx/gfx_tools.h" -#include "sci/gfx/gfx_options.h" #include "sci/gfx/gfx_system.h" #include "sci/uinput.h" @@ -89,8 +88,6 @@ typedef Common::List<rect_t> DirtyRectList; struct GfxState { - gfx_options_t *options; - rect_t clip_zone_unscaled; /**< The current UNSCALED clipping zone */ rect_t clip_zone; /**< The current SCALED clipping zone; a cached scaled version of clip_zone_unscaled */ @@ -131,11 +128,9 @@ struct GfxState { * @param[in] state The state to initialize * @param[in] scaleFactor Scale factor * @param[in] mode Graphics mode to use - * @param[in] options Rendering options * @param[in] resMan Resource manager to use */ -void gfxop_init(GfxState *state, - gfx_options_t *options, ResourceManager *resMan, +void gfxop_init(GfxState *state, ResourceManager *resMan, SciGuiScreen *screen, SciGuiPalette *palette, int scaleFactor = 1); /** |