[Scummvm-cvs-logs] SF.net SVN: scummvm:[47786] scummvm/trunk/engines/sci/graphics/ports.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Mon Feb 1 00:53:25 CET 2010
Revision: 47786
http://scummvm.svn.sourceforge.net/scummvm/?rev=47786&view=rev
Author: mthreepwood
Date: 2010-01-31 23:53:25 +0000 (Sun, 31 Jan 2010)
Log Message:
-----------
mothergoose SCI1 starts at the top of the screen, so set offTop to 0 for that version.
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/ports.cpp
Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp 2010-01-31 23:28:12 UTC (rev 47785)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp 2010-01-31 23:53:25 UTC (rev 47786)
@@ -85,8 +85,9 @@
// resulting in problems.
// Jones, Slater and Hoyle 3 were called with parameter -Nw 0 0 200 320.
+ // Mother Goose (SCI1) uses -Nw 0 0 159 262. The game will later use SetPort so we don't need to set the other fields.
// This actually meant not skipping the first 10 pixellines in windowMgrPort
- if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3")
+ if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
offTop = 0;
openPort(_wmgrPort);
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