aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-29 14:16:20 +0000
committerMartin Kiewitz2009-10-29 14:16:20 +0000
commit8178d548eb2e822cfc7a9c21fa7c569f5b695398 (patch)
treebce90c6de9cfcedfd5dc85f228945ce0539c078c /engines/sci/sci.cpp
parente5e80dd6d692b0b352913198a1bb5aa91da4402e (diff)
downloadscummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.tar.gz
scummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.tar.bz2
scummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.zip
SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
svn-id: r45500
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 1f38071a20..57270a4705 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -110,9 +110,9 @@ Common::Error SciEngine::run() {
_kernel = new Kernel(_resMan);
_vocabulary = new Vocabulary(_resMan);
- SciGuiScreen *screen = new SciGuiScreen();
+ SciGuiScreen *screen = new SciGuiScreen(_resMan);
SciGuiPalette *palette = new SciGuiPalette(_resMan, screen);
- SciGuiCursor *cursor = new SciGuiCursor(_resMan, palette);
+ SciGuiCursor *cursor = new SciGuiCursor(_resMan, palette, screen);
// We'll set the GUI below
_gamestate = new EngineState(_resMan, _kernel, _vocabulary, NULL, cursor);