aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/operations.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-04-21 19:57:11 +0000
committerFilippos Karapetis2009-04-21 19:57:11 +0000
commit20cc4f3dd772a493a61038d1d1b22be87984a7bd (patch)
tree08bb439f3de025ea84cfac95260d574130cfdd7e /engines/sci/gfx/operations.cpp
parente93de28aa4bbf1d98d3bc1dab33dacb3d1abed2f (diff)
downloadscummvm-rg350-20cc4f3dd772a493a61038d1d1b22be87984a7bd.tar.gz
scummvm-rg350-20cc4f3dd772a493a61038d1d1b22be87984a7bd.tar.bz2
scummvm-rg350-20cc4f3dd772a493a61038d1d1b22be87984a7bd.zip
Restored the ability to change the active port bound, by moving it inside gfx_state_t (it makes much more sense for it to be there, instead of inside user-defined settings). Placed notes inside gfxr_draw_pic01() and gfxr_draw_pic11() for the usage of the current titlebar size in there
svn-id: r40057
Diffstat (limited to 'engines/sci/gfx/operations.cpp')
-rw-r--r--engines/sci/gfx/operations.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp
index 923e310d8c..186d2acb3d 100644
--- a/engines/sci/gfx/operations.cpp
+++ b/engines/sci/gfx/operations.cpp
@@ -434,6 +434,7 @@ int gfxop_init(int version, gfx_state_t *state, gfx_options_t *options, Resource
state->pic = state->pic_unscaled = NULL;
state->pic_nr = -1; // Set background pic number to an invalid value
state->tag_mode = 0;
+ state->pic_port_bounds = gfx_rect(0, 10, 320, 190);
state->dirty_rects = NULL;
do {