From c874ff15a8e95acb85940ba5de0243b93077cc9d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 23 May 2010 10:28:03 +0000 Subject: Cleaned up the game ID code: - The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152 --- engines/sci/graphics/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/graphics/gui.cpp') diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index 46f7fcd689..29ab64ddb2 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -92,7 +92,7 @@ void SciGui::resetEngineState(EngineState *s) { } void SciGui::init(bool usesOldGfxFunctions) { - _ports->init(usesOldGfxFunctions, this, _paint16, _text16, _s->_gameId); + _ports->init(usesOldGfxFunctions, this, _paint16, _text16); _paint16->init(_animate, _text16); } -- cgit v1.2.3 From 3fa50583a065dc6c6f9855bdb33918af9a540b43 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 24 May 2010 17:45:00 +0000 Subject: SCI: leave console open for pic_visualize/undither commands - also don't use SciGui class for undither anymore svn-id: r49198 --- engines/sci/graphics/gui.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'engines/sci/graphics/gui.cpp') diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index 29ab64ddb2..e427edd732 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -136,9 +136,4 @@ void SciGui::portraitShow(Common::String resourceName, Common::Point position, u void SciGui::portraitUnload(uint16 portraitId) { } -bool SciGui::debugEGAdrawingVisualize(bool state) { - _paint16->setEGAdrawingVisualize(state); - return false; -} - } // End of namespace Sci -- cgit v1.2.3