Difference between revisions of "HOWTO-Engines"

Jump to navigation Jump to search
267 bytes added ,  04:06, 24 November 2022
m
Flesh out Extended Saves required flags
(Added info on ExtendedSaves)
m (Flesh out Extended Saves required flags)
Line 144: Line 144:
In order to benefit from it, do the following:
In order to benefit from it, do the following:


# In MetaEngine::hasFeature(), add kSavesUseExtendedFormat
# In MetaEngine::hasFeature(), add kSavesUseExtendedFormat, kSimpleSaveNames, kSupportsListSaves, kSupportsDeleteSave, kSavesSupportMetaInfo, kSavesSupportThumbnail, kSavesSupportCreationDate, and kSavesSupportPlayTime. Also kSupportsLoadingDuringStartup if you intend to support loading savegames directly from the launcher.
# Overload loadGameStream() and saveGameStream() where you parse/save only your engine-specific data
# Overload loadGameStream() and saveGameStream() where you parse/save only your engine-specific data
# ...
# ...
# PROFIT!
# PROFIT!
272

edits

Navigation menu