[Scummvm-cvs-logs] SF.net SVN: scummvm:[52178] scummvm/trunk/engines/gob
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Wed Aug 18 02:03:58 CEST 2010
Revision: 52178
http://scummvm.svn.sourceforge.net/scummvm/?rev=52178&view=rev
Author: strangerke
Date: 2010-08-18 00:03:58 +0000 (Wed, 18 Aug 2010)
Log Message:
-----------
Fascination : Avoid to set _showCursor in initCursorAnim as it enables the cursor all the time, which is wrong. This fixes the bad icon while loading issue, and the weird icon in the lab. Thanks SylvainTV for solving it.
Modified Paths:
--------------
scummvm/trunk/engines/gob/inter.h
scummvm/trunk/engines/gob/inter_fascin.cpp
Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h 2010-08-17 23:55:31 UTC (rev 52177)
+++ scummvm/trunk/engines/gob/inter.h 2010-08-18 00:03:58 UTC (rev 52178)
@@ -452,6 +452,7 @@
void oFascin_closeWin();
void oFascin_activeWin();
void oFascin_openWin();
+ void oFascin_initCursorAnim();
void oFascin_setRenderFlags();
void oFascin_setWinFlags();
};
Modified: scummvm/trunk/engines/gob/inter_fascin.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_fascin.cpp 2010-08-17 23:55:31 UTC (rev 52177)
+++ scummvm/trunk/engines/gob/inter_fascin.cpp 2010-08-18 00:03:58 UTC (rev 52178)
@@ -57,6 +57,8 @@
OPCODEDRAW(0x05, oFascin_activeWin);
OPCODEDRAW(0x06, oFascin_openWin);
+ OPCODEDRAW(0x08, oFascin_initCursorAnim);
+
OPCODEDRAW(0x0A, oFascin_setRenderFlags);
OPCODEDRAW(0x0B, oFascin_setWinFlags);
@@ -251,6 +253,13 @@
WRITE_VAR((retVal / 4), (int32) _vm->_draw->openWin(id));
}
+void Inter_Fascination::oFascin_initCursorAnim() {
+ int16 ind = _vm->_game->_script->readValExpr();
+ _vm->_draw->_cursorAnimLow[ind] = _vm->_game->_script->readInt16();
+ _vm->_draw->_cursorAnimHigh[ind] = _vm->_game->_script->readInt16();
+ _vm->_draw->_cursorAnimDelays[ind] = _vm->_game->_script->readInt16();
+}
+
void Inter_Fascination::oFascin_setRenderFlags() {
int16 expr;
_vm->_game->_script->evalExpr(&expr);
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