[Scummvm-cvs-logs] SF.net SVN: scummvm:[41424] scummvm/trunk/engines/cruise
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Jun 10 14:16:30 CEST 2009
Revision: 41424
http://scummvm.svn.sourceforge.net/scummvm/?rev=41424&view=rev
Author: dreammaster
Date: 2009-06-10 12:16:30 +0000 (Wed, 10 Jun 2009)
Log Message:
-----------
Added support for loading savegames from the launcher
Modified Paths:
--------------
scummvm/trunk/engines/cruise/cruise_main.cpp
scummvm/trunk/engines/cruise/detection.cpp
Modified: scummvm/trunk/engines/cruise/cruise_main.cpp
===================================================================
--- scummvm/trunk/engines/cruise/cruise_main.cpp 2009-06-10 12:15:50 UTC (rev 41423)
+++ scummvm/trunk/engines/cruise/cruise_main.cpp 2009-06-10 12:16:30 UTC (rev 41424)
@@ -1739,6 +1739,9 @@
int quitValue2 = 1;
int quitValue = 0;
+ if (ConfMan.hasKey("save_slot"))
+ loadGameState(ConfMan.getInt("save_slot"));
+
do {
// Handle frame delay
uint32 currentTick = g_system->getMillis();
Modified: scummvm/trunk/engines/cruise/detection.cpp
===================================================================
--- scummvm/trunk/engines/cruise/detection.cpp 2009-06-10 12:15:50 UTC (rev 41423)
+++ scummvm/trunk/engines/cruise/detection.cpp 2009-06-10 12:16:30 UTC (rev 41424)
@@ -209,7 +209,8 @@
(f == kSupportsListSaves) ||
(f == kSupportsDeleteSave) ||
(f == kSavesSupportMetaInfo) ||
- (f == kSavesSupportThumbnail);
+ (f == kSavesSupportThumbnail) ||
+ (f == kSupportsLoadingDuringStartup);
}
SaveStateList CruiseMetaEngine::listSaves(const char *target) const {
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