[Scummvm-git-logs] scummvm master -> 121d06bf4ab27a39506a34b2d479637033eb35c9

orgads orgads at gmail.com
Mon Aug 23 17:53:34 UTC 2021


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

Summary:
121d06bf4a ENGINES: Remove deprecated function


Commit: 121d06bf4ab27a39506a34b2d479637033eb35c9
    https://github.com/scummvm/scummvm/commit/121d06bf4ab27a39506a34b2d479637033eb35c9
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-08-23T20:53:27+03:00

Commit Message:
ENGINES: Remove deprecated function

Changed paths:
    engines/engine.h


diff --git a/engines/engine.h b/engines/engine.h
index 01d57ccff1..ebe83c26fd 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -638,21 +638,6 @@ public:
 	virtual int getAutosaveSlot() const {
 		return 0;
 	}
-
-	/**
-	 * Check whether it is time to autosave based on the
-	 * provided @p lastSaveTime.
-	 *
-	 * This function is now deprecated as autosaves are handled directly by
-	 * the Engine class and derived classes do not need to worry about it other than
-	 * to implement canSaveAutosaveCurrently() and getAutosaveSlot()
-	 * if the default implementations are not sufficient.
-	 */
-	bool shouldPerformAutoSave(int lastSaveTime) {
-		// TODO: Remove deprecated method once all engines are refactored
-		// to no longer do autosaves directly themselves
-		return false;
-	}
 };
 
 




More information about the Scummvm-git-logs mailing list