aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui32
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-06 12:26:13 +0000
committerFilippos Karapetis2009-10-06 12:26:13 +0000
commitdf29b0067e100e97f29d286178685257816f0972 (patch)
treefcd50174daca7557431c8cb01c0233950bef4f1d /engines/sci/gui32
parent8e108cc0a0c76814ac533c51b361737ba5e8c867 (diff)
downloadscummvm-rg350-df29b0067e100e97f29d286178685257816f0972.tar.gz
scummvm-rg350-df29b0067e100e97f29d286178685257816f0972.tar.bz2
scummvm-rg350-df29b0067e100e97f29d286178685257816f0972.zip
- Unified the screen buffers that are used by the current and the new GUI
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions - Some cleanup svn-id: r44692
Diffstat (limited to 'engines/sci/gui32')
-rw-r--r--engines/sci/gui32/gui32.cpp2
-rw-r--r--engines/sci/gui32/gui32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui32/gui32.cpp b/engines/sci/gui32/gui32.cpp
index 53ef01233d..1a05c9a20f 100644
--- a/engines/sci/gui32/gui32.cpp
+++ b/engines/sci/gui32/gui32.cpp
@@ -64,7 +64,7 @@
namespace Sci {
-SciGui32::SciGui32(OSystem *system, EngineState *state)
+SciGui32::SciGui32(OSystem *system, EngineState *state, SciGuiScreen *screen)
: _system(system), s(state) {
}
diff --git a/engines/sci/gui32/gui32.h b/engines/sci/gui32/gui32.h
index b57da26dd5..9861d3bcc5 100644
--- a/engines/sci/gui32/gui32.h
+++ b/engines/sci/gui32/gui32.h
@@ -32,7 +32,7 @@ namespace Sci {
class SciGui32 : public SciGui {
public:
- SciGui32(OSystem *system, EngineState *s);
+ SciGui32(OSystem *system, EngineState *s, SciGuiScreen *screen);
~SciGui32();
// FIXME: Don't store EngineState