[Scummvm-git-logs] scummvm master -> ea1ec78be402e175ab6f7e4acd9d8588020d10b8

sev- sev at scummvm.org
Thu Sep 29 07:50:04 CEST 2016


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6aa4efda50 FULLPIPE: Do not save on every room entering
ea1ec78be4 FULLPIPE: Save correct thumbnail to the savegames


Commit: 6aa4efda50281f8e225cf27185afa63d02f78d2f
    https://github.com/scummvm/scummvm/commit/6aa4efda50281f8e225cf27185afa63d02f78d2f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-29T07:33:18+02:00

Commit Message:
FULLPIPE: Do not save on every room entering

Changed paths:
    engines/fullpipe/fullpipe.cpp



diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp
index 2c6fded..11d8852 100644
--- a/engines/fullpipe/fullpipe.cpp
+++ b/engines/fullpipe/fullpipe.cpp
@@ -583,8 +583,9 @@ void FullpipeEngine::disableSaves(ExCommand *ex) {
 			}
 		}
 
-		if (_currentScene)
-			_gameLoader->writeSavegame(_currentScene, "savetmp.sav");
+		// Original was makeing a save on every room entering
+		//if (_currentScene)
+		//	_gameLoader->writeSavegame(_currentScene, "savetmp.sav");
 	}
 }
 


Commit: ea1ec78be402e175ab6f7e4acd9d8588020d10b8
    https://github.com/scummvm/scummvm/commit/ea1ec78be402e175ab6f7e4acd9d8588020d10b8
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-29T07:33:19+02:00

Commit Message:
FULLPIPE: Save correct thumbnail to the savegames

Changed paths:
    engines/fullpipe/statesaver.cpp



diff --git a/engines/fullpipe/statesaver.cpp b/engines/fullpipe/statesaver.cpp
index 130ab62..5093767 100644
--- a/engines/fullpipe/statesaver.cpp
+++ b/engines/fullpipe/statesaver.cpp
@@ -146,6 +146,8 @@ bool GameLoader::writeSavegame(Scene *sc, const char *fname) {
 	saveFile->writeUint16LE(header2.time);
 	saveFile->writeUint32LE(header2.playtime);
 
+	g_fp->_currentScene->draw();
+
 	Graphics::saveThumbnail(*saveFile); // FIXME. Render proper screen
 
 	saveFile->writeUint32LE(headerPos);	// Store where the header starts





More information about the Scummvm-git-logs mailing list