Preliminary support for loading via GMM for KYRA engine.
svn-id: r34885
This commit is contained in:
parent
f3f3c69f63
commit
6eab0dcc6e
8 changed files with 47 additions and 1 deletions
|
@ -244,6 +244,16 @@ bool KyraEngine_v1::saveFileLoadable(int slot) {
|
|||
return false;
|
||||
}
|
||||
|
||||
int KyraEngine_v1::loadGameState(int slot) {
|
||||
if (!_isSaveAllowed)
|
||||
return -1;
|
||||
|
||||
const char *filename = getSavegameFilename(slot);
|
||||
loadGame(filename);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void KyraEngine_v1::checkAutosave() {
|
||||
if (shouldPerformAutoSave(_lastAutosave)) {
|
||||
saveGame(getSavegameFilename(999), "Autosave", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue