From 49de1602b0ddc87cbbf26181f83b3d41b253da65 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 22 Dec 2017 08:52:31 -0500 Subject: XEEN: Create a separate current state saver for each side Previously, I only had a single savefile, which maintains the state of the party and mazes. But I've realised that I'll need a separate archive for each side of Xeen. I'm still not entirely happy with the cleanliness of the new structure, but it at least is now functionally separating the sides. --- engines/xeen/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/detection.cpp') diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp index 0866d5f107..df3df4ffa7 100644 --- a/engines/xeen/detection.cpp +++ b/engines/xeen/detection.cpp @@ -144,7 +144,7 @@ SaveStateList XeenMetaEngine::listSaves(const char *target) const { Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(*file); if (in) { - Xeen::XeenEngine::readSavegameHeader(in, header); + Xeen::SavesManager::readSavegameHeader(in, header); saveList.push_back(SaveStateDescriptor(slot, header._saveName)); header._thumbnail->free(); @@ -172,7 +172,7 @@ SaveStateDescriptor XeenMetaEngine::querySaveMetaInfos(const char *target, int s if (f) { Xeen::XeenSavegameHeader header; - Xeen::XeenEngine::readSavegameHeader(f, header); + Xeen::SavesManager::readSavegameHeader(f, header); delete f; // Create the return descriptor -- cgit v1.2.3