[Scummvm-cvs-logs] SF.net SVN: scummvm:[47409] scummvm/trunk/engines/sci/engine/kgraphics.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Jan 20 20:45:44 CET 2010
Revision: 47409
http://scummvm.svn.sourceforge.net/scummvm/?rev=47409&view=rev
Author: m_kiewitz
Date: 2010-01-20 19:45:42 +0000 (Wed, 20 Jan 2010)
Log Message:
-----------
SCI: kDrawCel workaround documented and not temporary anymore
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-01-20 18:51:22 UTC (rev 47408)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-01-20 19:45:42 UTC (rev 47409)
@@ -918,9 +918,11 @@
bool hiresMode = (argc > 7) ? true : false;
reg_t upscaledHiresHandle = (argc > 7) ? argv[7] : NULL_REG;
- // WORKAROUND for script/VM issue in Freddy Pharkas - priority is taken from local variable and that is 8250h in sierra sci
- // and 0h in our sci. It seems as some interpreter issue.
if (s->_gameId == "freddypharkas") {
+ // WORKAROUND
+ // Script 24 contains code that draws the game menu on screen. It uses a temp variable for setting priority that
+ // is not set. in Sierra sci this happens to be 8250h. In our sci temporary variables are initialized thus we would
+ // get 0 here resulting in broken menus.
if ((viewId == 995) && (x == 0x33) && (y == 0x26)) // game menu
priority = 15;
if ((viewId == 992) && (x == 48) && (y == 24)) // quit game
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