[Scummvm-cvs-logs] SF.net SVN: scummvm:[45315] scummvm/trunk/engines/sci/gui/gui_animate.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Oct 21 23:07:21 CEST 2009
Revision: 45315
http://scummvm.svn.sourceforge.net/scummvm/?rev=45315&view=rev
Author: m_kiewitz
Date: 2009-10-21 21:07:21 +0000 (Wed, 21 Oct 2009)
Log Message:
-----------
SCI/newgui: kAnimate added comment about fastCast
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_animate.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_animate.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_animate.cpp 2009-10-21 20:57:42 UTC (rev 45314)
+++ scummvm/trunk/engines/sci/gui/gui_animate.cpp 2009-10-21 21:07:21 UTC (rev 45315)
@@ -51,12 +51,13 @@
_listSize = 0;
_ignoreFastCast = false;
+ // fastCast object is not found in any SCI games prior SCI1
if (getSciVersion() <= SCI_VERSION_01)
_ignoreFastCast = true;
+ // Also if fastCast object exists at gamestartup, we can assume that the interpreter doesnt do kAnimate aborts
+ // (found in larry 1)
if (!_s->_segMan->findObjectByName("fastCast").isNull())
_ignoreFastCast = true;
- if (_ignoreFastCast)
- warning("Ignoring fast cast");
}
void SciGuiAnimate::disposeLastCast() {
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