[Scummvm-cvs-logs] SF.net SVN: scummvm: [32080] scummvm/trunk/engines/made/scriptfuncs_rtz.cpp

john_doe at users.sourceforge.net john_doe at users.sourceforge.net
Tue May 13 10:19:15 CEST 2008


Revision: 32080
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32080&view=rev
Author:   john_doe
Date:     2008-05-13 01:19:15 -0700 (Tue, 13 May 2008)

Log Message:
-----------
Hide the mouse cursor while a movie plays.

Modified Paths:
--------------
    scummvm/trunk/engines/made/scriptfuncs_rtz.cpp

Modified: scummvm/trunk/engines/made/scriptfuncs_rtz.cpp
===================================================================
--- scummvm/trunk/engines/made/scriptfuncs_rtz.cpp	2008-05-13 04:54:58 UTC (rev 32079)
+++ scummvm/trunk/engines/made/scriptfuncs_rtz.cpp	2008-05-13 08:19:15 UTC (rev 32080)
@@ -584,7 +584,9 @@
 
 int16 ScriptFunctionsRtz::o1_PLAYMOVIE(int16 argc, int16 *argv) {
 	const char *movieName = _vm->_dat->getObject(argv[1])->getString();
+	_vm->_system->showMouse(false);
 	_vm->_pmvPlayer->play(movieName);
+	_vm->_system->showMouse(true);
 	return 0;
 }
 


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