[Scummvm-cvs-logs] SF.net SVN: scummvm:[54475] scummvm/trunk/engines/sci

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Nov 25 15:19:02 CET 2010


Revision: 54475
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54475&view=rev
Author:   thebluegr
Date:     2010-11-25 14:19:02 +0000 (Thu, 25 Nov 2010)

Log Message:
-----------
SCI: Added engine method isCD()

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sci.cpp
    scummvm/trunk/engines/sci/sci.h

Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp	2010-11-25 14:16:46 UTC (rev 54474)
+++ scummvm/trunk/engines/sci/sci.cpp	2010-11-25 14:19:02 UTC (rev 54475)
@@ -739,6 +739,10 @@
 	return _gameDescription->flags & ADGF_DEMO;
 }
 
+bool SciEngine::isCD() const {
+	return _gameDescription->flags & ADGF_CD;
+}
+
 bool SciEngine::hasMacIconBar() const {
 	return _resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1 && getGameId() != GID_HOYLE4;
 }

Modified: scummvm/trunk/engines/sci/sci.h
===================================================================
--- scummvm/trunk/engines/sci/sci.h	2010-11-25 14:16:46 UTC (rev 54474)
+++ scummvm/trunk/engines/sci/sci.h	2010-11-25 14:19:02 UTC (rev 54475)
@@ -231,6 +231,7 @@
 	Common::Language getLanguage() const;
 	Common::Platform getPlatform() const;
 	bool isDemo() const;
+	bool isCD() const;
 	bool hasMacIconBar() const;
 
 	inline ResourceManager *getResMan() const { return _resMan; }


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