[Scummvm-cvs-logs] SF.net SVN: scummvm:[44009] scummvm/trunk/engines/groovie
scott_t at users.sourceforge.net
scott_t at users.sourceforge.net
Tue Sep 8 08:23:51 CEST 2009
Revision: 44009
http://scummvm.svn.sourceforge.net/scummvm/?rev=44009&view=rev
Author: scott_t
Date: 2009-09-08 06:23:50 +0000 (Tue, 08 Sep 2009)
Log Message:
-----------
T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a blank menu in special instances
Modified Paths:
--------------
scummvm/trunk/engines/groovie/player.h
scummvm/trunk/engines/groovie/script.cpp
scummvm/trunk/engines/groovie/vdx.cpp
scummvm/trunk/engines/groovie/vdx.h
Modified: scummvm/trunk/engines/groovie/player.h
===================================================================
--- scummvm/trunk/engines/groovie/player.h 2009-09-07 22:53:42 UTC (rev 44008)
+++ scummvm/trunk/engines/groovie/player.h 2009-09-08 06:23:50 UTC (rev 44009)
@@ -40,6 +40,7 @@
bool load(Common::SeekableReadStream *file, uint16 flags);
bool playFrame();
+ virtual void resetFlags() {};
virtual void setOrigin(int16 x, int16 y) {};
protected:
Modified: scummvm/trunk/engines/groovie/script.cpp
===================================================================
--- scummvm/trunk/engines/groovie/script.cpp 2009-09-07 22:53:42 UTC (rev 44008)
+++ scummvm/trunk/engines/groovie/script.cpp 2009-09-08 06:23:50 UTC (rev 44009)
@@ -1448,7 +1448,7 @@
// Restore the filename of the script
_scriptFile = _savedScriptFile;
- //TODO: reset script flags and previous video's flag1?
+ _vm->_videoPlayer->resetFlags();
_vm->_videoPlayer->setOrigin(0, 0);
}
Modified: scummvm/trunk/engines/groovie/vdx.cpp
===================================================================
--- scummvm/trunk/engines/groovie/vdx.cpp 2009-09-07 22:53:42 UTC (rev 44008)
+++ scummvm/trunk/engines/groovie/vdx.cpp 2009-09-08 06:23:50 UTC (rev 44009)
@@ -43,6 +43,10 @@
//delete _audioStream;
}
+void VDXPlayer::resetFlags() {
+ _flagOnePrev = false;
+}
+
void VDXPlayer::setOrigin(int16 x, int16 y) {
_origX = x;
_origY = y;
Modified: scummvm/trunk/engines/groovie/vdx.h
===================================================================
--- scummvm/trunk/engines/groovie/vdx.h 2009-09-07 22:53:42 UTC (rev 44008)
+++ scummvm/trunk/engines/groovie/vdx.h 2009-09-08 06:23:50 UTC (rev 44009)
@@ -34,6 +34,7 @@
public:
VDXPlayer(GroovieEngine *vm);
~VDXPlayer();
+ void resetFlags();
void setOrigin(int16 x, int16 y);
protected:
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