[Scummvm-cvs-logs] SF.net SVN: scummvm:[35011] scummvm/trunk/engines/sky/sky.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Nov 12 00:35:18 CET 2008


Revision: 35011
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35011&view=rev
Author:   thebluegr
Date:     2008-11-11 23:35:18 +0000 (Tue, 11 Nov 2008)

Log Message:
-----------
Added getMaximumSaveSlot definition for the sky engine

Modified Paths:
--------------
    scummvm/trunk/engines/sky/sky.cpp

Modified: scummvm/trunk/engines/sky/sky.cpp
===================================================================
--- scummvm/trunk/engines/sky/sky.cpp	2008-11-11 23:28:43 UTC (rev 35010)
+++ scummvm/trunk/engines/sky/sky.cpp	2008-11-11 23:35:18 UTC (rev 35011)
@@ -116,6 +116,7 @@
 	virtual Common::Error createInstance(OSystem *syst, Engine **engine) const;
 
 	virtual SaveStateList listSaves(const char *target) const;
+	virtual int getMaximumSaveSlot() const;
 };
 
 const char *SkyMetaEngine::getName() const {
@@ -257,6 +258,8 @@
 	return saveList;
 }
 
+int SkyMetaEngine::getMaximumSaveSlot() const { return MAX_SAVE_GAMES; }
+
 #if PLUGIN_ENABLED_DYNAMIC(SKY)
 	REGISTER_PLUGIN_DYNAMIC(SKY, PLUGIN_TYPE_ENGINE, SkyMetaEngine);
 #else


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