[Scummvm-cvs-logs] SF.net SVN: scummvm: [28857] scummvm/trunk/engines/agi/preagi_mickey.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Wed Sep 5 21:47:32 CEST 2007
Revision: 28857
http://scummvm.svn.sourceforge.net/scummvm/?rev=28857&view=rev
Author: mthreepwood
Date: 2007-09-05 12:47:32 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
clear the screen after using printStory() so the text does not remain on in the background
Modified Paths:
--------------
scummvm/trunk/engines/agi/preagi_mickey.cpp
Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-09-05 19:36:13 UTC (rev 28856)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-09-05 19:47:32 UTC (rev 28857)
@@ -998,6 +998,11 @@
_vm->_system->updateScreen(); // TODO: this should go in the game's main loop
waitAnyKey();
+ //Set back to black
+ _vm->_gfx->clearScreen(0);
+ _vm->_gfx->doUpdate();
+ _vm->_system->updateScreen(); // TODO: this should go in the game's main loop
+
drawRoom();
_vm->_gfx->doUpdate();
_vm->_system->updateScreen(); // TODO: this should go in the game's main loop
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list