[Scummvm-cvs-logs] SF.net SVN: scummvm:[35077] scummvm/trunk/engines/groovie/detection.cpp

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Sat Nov 15 11:50:58 CET 2008


Revision: 35077
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35077&view=rev
Author:   jvprat
Date:     2008-11-15 10:50:57 +0000 (Sat, 15 Nov 2008)

Log Message:
-----------
Added GroovieMetaEngine::getMaximumSaveSlot()

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/detection.cpp

Modified: scummvm/trunk/engines/groovie/detection.cpp
===================================================================
--- scummvm/trunk/engines/groovie/detection.cpp	2008-11-15 09:08:15 UTC (rev 35076)
+++ scummvm/trunk/engines/groovie/detection.cpp	2008-11-15 10:50:57 UTC (rev 35077)
@@ -174,6 +174,7 @@
 
 	bool hasFeature(MetaEngineFeature f) const;
 	SaveStateList listSaves(const char *target) const;
+	int getMaximumSaveSlot() const;
 	void removeSaveState(const char *target, int slot) const;
 };
 
@@ -241,6 +242,10 @@
 	return list;
 }
 
+int GroovieMetaEngine::getMaximumSaveSlot() const {
+	return 9;
+}
+
 void GroovieMetaEngine::removeSaveState(const char *target, int slot) const {
 	if (slot < 0 || slot > 9) {
 		// Invalid slot, do nothing


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