TrustedUser
2,147
edits
(Update Tucker status) |
(→Enhanced load/save support: Reaplace <source> with <syntaxhighlight>) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
'''Relevant Engine API''' | '''Relevant Engine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual void pauseEngineIntern(bool pause); | virtual void pauseEngineIntern(bool pause); | ||
void pauseEngine(bool pause); | void pauseEngine(bool pause); | ||
bool isPaused() const; | bool isPaused() const; | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 41: | Line 41: | ||
'''Relevant Engine API''' | '''Relevant Engine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
void quitGame(); | void quitGame(); | ||
bool shouldQuit() const; | bool shouldQuit() const; | ||
kSupportsRTL feature flag | kSupportsRTL feature flag | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 61: | Line 61: | ||
'''Relevant Engine API''' | '''Relevant Engine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual void syncSoundSettings(); | virtual void syncSoundSettings(); | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 101: | Line 101: | ||
'''What is this about?'''<br> | '''What is this about?'''<br> | ||
With this feature, it is possible to build a list of available save slots for a given game target. This can be used by the user to list all saveslots from the command line, as the following example illustrates: | With this feature, it is possible to build a list of available save slots for a given game target. This can be used by the user to list all saveslots from the command line, as the following example illustrates: | ||
< | <syntaxhighlight lang="bash"> | ||
$ ./scummvm --list-saves=monkey2 | $ ./scummvm --list-saves=monkey2 | ||
Saves for target 'monkey2': | Saves for target 'monkey2': | ||
Line 110: | Line 110: | ||
2 Quicksave 2 | 2 Quicksave 2 | ||
$ | $ | ||
</ | </syntaxhighlight> | ||
Furthermore, this is used by the load/save dialogs in the Launcher and the GMM to build the list of savestates they show visually to the user. | Furthermore, this is used by the load/save dialogs in the Launcher and the GMM to build the list of savestates they show visually to the user. | ||
Line 123: | Line 123: | ||
'''Relevant MetaEngine API''' | '''Relevant MetaEngine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual SaveStateList listSaves(const char *target) const; | virtual SaveStateList listSaves(const char *target) const; | ||
virtual int getMaximumSaveSlot() const; | virtual int getMaximumSaveSlot() const; | ||
kSupportsListSaves feature flag | kSupportsListSaves feature flag | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 144: | Line 144: | ||
'''Relevant MetaEngine API''' | '''Relevant MetaEngine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
save_slot ConfigMan setting | save_slot ConfigMan setting | ||
kSupportsLoadingDuringStartup feature flag | kSupportsLoadingDuringStartup feature flag | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 167: | Line 167: | ||
'''Relevant MetaEngine API''' | '''Relevant MetaEngine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
void removeSaveState(const char *target, int slot) const; | void removeSaveState(const char *target, int slot) const; | ||
kSupportsDeleteSave feature flag | kSupportsDeleteSave feature flag | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 189: | Line 189: | ||
'''Relevant MetaEngine API''' | '''Relevant MetaEngine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; | virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; | ||
Line 196: | Line 196: | ||
kSavesSupportCreationDate feature flag | kSavesSupportCreationDate feature flag | ||
kSavesSupportPlayTime feature flag | kSavesSupportPlayTime feature flag | ||
</ | </syntaxhighlight> | ||
'''Implemented by:''' | '''Implemented by:''' | ||
Line 217: | Line 217: | ||
'''Relevant Engine API''' | '''Relevant Engine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual Common::Error loadGameState(int slot); | virtual Common::Error loadGameState(int slot); | ||
virtual bool canLoadGameStateCurrently(); | virtual bool canLoadGameStateCurrently(); | ||
kSupportsLoadingDuringRuntime feature flag | kSupportsLoadingDuringRuntime feature flag | ||
</ | </syntaxhighlight> | ||
:'''Implemented by:''' [[AGI]], [[Avalanche]], [[Cine]], [[CGE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Pegasus]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | :'''Implemented by:''' [[AGI]], [[Avalanche]], [[Cine]], [[CGE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Pegasus]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | ||
Line 228: | Line 228: | ||
:'''Not implemented by:''' [[AGOS]], [[Composer]], [[CruisE]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Lastexpress]], [[Lure]], [[MADE]], [[Parallaction]], [[Queen]], [[Sword2]], [[Sword25]] | :'''Not implemented by:''' [[AGOS]], [[Composer]], [[CruisE]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Lastexpress]], [[Lure]], [[MADE]], [[Parallaction]], [[Queen]], [[Sword2]], [[Sword25]] | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual Common::Error saveGameState(int slot, const Common::String &desc); | virtual Common::Error saveGameState(int slot, const Common::String &desc); | ||
virtual bool canSaveGameStateCurrently(); | virtual bool canSaveGameStateCurrently(); | ||
kSupportsSavingDuringRuntime feature flag | kSupportsSavingDuringRuntime feature flag | ||
</ | </syntaxhighlight> | ||
:'''Implemented by:''' [[AGI]], [[Avalanche]], [[Cine]], [[CGE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Pegasus]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[TeenAgent]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | :'''Implemented by:''' [[AGI]], [[Avalanche]], [[Cine]], [[CGE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Pegasus]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[TeenAgent]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | ||
Line 251: | Line 251: | ||
'''Relevant Engine API''' | '''Relevant Engine API''' | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual void errorString(const char *buf_input, char *buf_output, int buf_output_size); | virtual void errorString(const char *buf_input, char *buf_output, int buf_output_size); | ||
</ | </syntaxhighlight> | ||
:'''Implemented by:''' [[SCUMM]] | :'''Implemented by:''' [[SCUMM]] | ||
Line 259: | Line 259: | ||
:'''Not implemented by:''' [[AGI]], [[AGOS]], [[Avalanche]], [[Cine]], [[CGE]], [[Composer]], [[CruisE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Lastexpress]], [[Lure]], [[MADE]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Parallaction]], [[Pegasus]], [[Queen]], [[SAGA]], [[SCI]], [[Sky]], [[Sword1]], [[Sword2]], [[Sword25]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | :'''Not implemented by:''' [[AGI]], [[AGOS]], [[Avalanche]], [[Cine]], [[CGE]], [[Composer]], [[CruisE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Lastexpress]], [[Lure]], [[MADE]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Parallaction]], [[Pegasus]], [[Queen]], [[SAGA]], [[SCI]], [[Sky]], [[Sword1]], [[Sword2]], [[Sword25]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Tony]], [[Toon]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | ||
< | <syntaxhighlight lang="cpp"> | ||
virtual GUI::Debugger *getDebugger(); | |||
</ | </syntaxhighlight> | ||
:'''Implemented by:''' [[AGI]], [[AGOS]], [[Avalanche]], [[Cine]], [[CGE]], [[Composer]], [[CruisE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Lastexpress]], [[Lure]], [[MADE]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Parallaction]], [[Pegasus]], [[Queen]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[Sword2]], [[Sword25]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Toon]], [[Tony]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | :'''Implemented by:''' [[AGI]], [[AGOS]], [[Avalanche]], [[Cine]], [[CGE]], [[Composer]], [[CruisE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Fullpipe]], [[Gob]], [[Groovie]], [[Hopkins]], [[Hugo]], [[Kyra]], [[Lastexpress]], [[Lure]], [[MADE]], [[Mohawk]], [[Mortevielle]], [[Neverhood]], [[Parallaction]], [[Pegasus]], [[Queen]], [[SAGA]], [[SCI]], [[SCUMM]], [[Sky]], [[Sword1]], [[Sword2]], [[Sword25]], [[TeenAgent]], [[Tinsel]], [[Toltecs]], [[Toon]], [[Tony]], [[Touche]], [[TsAGE]], [[Tucker]], [[Wintermute]], [[ZVision]] | ||
:'''Not implemented by:''' | :'''Not implemented by:''' |