mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
GOB: save breakout game progress in Adibou2
This commit is contained in:
parent
a31b588ad0
commit
962e9f9386
@ -964,6 +964,7 @@ protected:
|
||||
GameFileHandler *_configHandler;
|
||||
GameFileHandler *_adibou2EnvHandler[kChildrenCount];
|
||||
SpriteHandler *_adibou2WeatherHandler[kChildrenCount];
|
||||
GameFileHandler *_adibou2BreakoutGameProgressHandler[kChildrenCount];
|
||||
GameFileHandler *_adibou2AppProgressHandler[kChildrenCount][kAdibou2NbrOfApplications];
|
||||
GameFileHandler *_adibou2MemoHandler[kChildrenCount];
|
||||
GameFileHandler *_adibou2DiploHandler[kChildrenCount];
|
||||
|
@ -83,6 +83,24 @@ SaveLoad_v7::SaveFile SaveLoad_v7::_saveFiles[] = {
|
||||
{"temp15.csa" , kSaveModeSave, 0, "weather" },
|
||||
{"temp16.csa" , kSaveModeSave, 0, "weather" },
|
||||
|
||||
// Adibou brekout game progress
|
||||
{"brique01.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique02.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique03.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique04.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique05.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique06.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique07.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique08.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique09.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique10.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique11.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique12.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique13.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique14.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique15.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
{"brique16.inf" , kSaveModeSave, 0, "breakout game progress" },
|
||||
|
||||
// Adibou Applications 1-5
|
||||
{"Gsa01_01.inf", kSaveModeSave, 0, "app progress" }, // Child 01
|
||||
{"Gsa02_01.inf", kSaveModeSave, 0, "app progress" },
|
||||
@ -1066,6 +1084,13 @@ SaveLoad_v7::SaveLoad_v7(GobEngine *vm, const char *targetName) :
|
||||
Common::String::format("weather_%02d", i + 1));
|
||||
}
|
||||
|
||||
for (uint32 i = 0; i < kChildrenCount; i++)
|
||||
{
|
||||
_saveFiles[index++].handler = _adibou2BreakoutGameProgressHandler[i] = new GameFileHandler(_vm,
|
||||
targetName,
|
||||
Common::String::format("breakout_%02d", i + 1));
|
||||
}
|
||||
|
||||
for (uint32 i = 0; i < kChildrenCount; i++)
|
||||
{
|
||||
for (uint32 j = 0; j < kAdibou2NbrOfApplications; j++)
|
||||
@ -1160,6 +1185,7 @@ SaveLoad_v7::~SaveLoad_v7() {
|
||||
{
|
||||
delete _adibou2EnvHandler[i];
|
||||
delete _adibou2WeatherHandler[i];
|
||||
delete _adibou2BreakoutGameProgressHandler[i];
|
||||
|
||||
for (uint32 j = 0; j < kAdibou2NbrOfApplications; j++)
|
||||
delete _adibou2AppProgressHandler[i][j];
|
||||
|
Loading…
Reference in New Issue
Block a user