[Scummvm-cvs-logs] SF.net SVN: scummvm:[47624] scummvm/trunk/engines/sci/engine/state.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jan 28 03:15:16 CET 2010
Revision: 47624
http://scummvm.svn.sourceforge.net/scummvm/?rev=47624&view=rev
Author: thebluegr
Date: 2010-01-28 02:15:15 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Improved kSetCursor() semantics detection
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/state.cpp
Modified: scummvm/trunk/engines/sci/engine/state.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/state.cpp 2010-01-28 01:45:20 UTC (rev 47623)
+++ scummvm/trunk/engines/sci/engine/state.cpp 2010-01-28 02:15:15 UTC (rev 47624)
@@ -492,10 +492,13 @@
if (getSciVersion() <= SCI_VERSION_01) {
// SCI0/SCI01 games never use cursor views
_setCursorType = SCI_VERSION_0_EARLY;
+ } else if (getSciVersion() >= SCI_VERSION_1_EARLY && getSciVersion() <= SCI_VERSION_1_MIDDLE) {
+ // SCI1 early/SCI1 middle games never use cursor views
+ _setCursorType = SCI_VERSION_0_EARLY;
} else if (getSciVersion() >= SCI_VERSION_1_1) {
// SCI1.1 games always use cursor views
_setCursorType = SCI_VERSION_1_1;
- } else {
+ } else { // SCI1 late game, detect cursor semantics
bool found = false;
if (_kernel->_selectorCache.setCursor == -1) {
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