From 2457d0b495b29d8cf5a9be5149309fbfb5cefd94 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 28 Oct 2006 14:35:00 +0000 Subject: Simon -> AGOS svn-id: r24560 --- backends/platform/PalmOS/Src/launcher/games.cpp | 9 ++++++++- backends/platform/PalmOS/Src/launcher/games.h | 9 +++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/backends/platform/PalmOS/Src/launcher/games.cpp b/backends/platform/PalmOS/Src/launcher/games.cpp index 21da0012ca..09d961e631 100644 --- a/backends/platform/PalmOS/Src/launcher/games.cpp +++ b/backends/platform/PalmOS/Src/launcher/games.cpp @@ -69,7 +69,8 @@ static Err GamUpdateList() { MemSet(&gitCur, sizeof(GameInfoType), 0); - if (version == itemVersion_354 || + if (version == itemVersion_355 || + version == itemVersion_354 || version == itemVersion_353 || version == itemVersion_352 || version == itemVersion_351 || @@ -191,6 +192,12 @@ static Err GamUpdateList() { if (gitCur.engine >= ENGINE_AGI) // newly added engine gitCur.engine++; + if (version <= itemVersion_355) { + gitCur.engine++; // renamed Simon -> AGOS + if (gitCur.engine == ENGINE_COUNT) + gitCur.engine = ENGINE_AGOS; + } + if (gitCur.musicInfo.volume.palm > 100) gitCur.musicInfo.volume.palm = 50; diff --git a/backends/platform/PalmOS/Src/launcher/games.h b/backends/platform/PalmOS/Src/launcher/games.h index 357623b5d3..7dd01f6637 100644 --- a/backends/platform/PalmOS/Src/launcher/games.h +++ b/backends/platform/PalmOS/Src/launcher/games.h @@ -25,9 +25,10 @@ #ifndef __GAMES_H__ #define __GAMES_H__ -#define curItemVersion sysMakeROMVersion(3,5,5,0,0) // Added : AGI engine +#define curItemVersion sysMakeROMVersion(3,5,6,0,0) // Changed : Simon -> AGOS +#define itemVersion_355 sysMakeROMVersion(3,5,5,0,0) // Added : AGI engine #define itemVersion_354 sysMakeROMVersion(3,5,4,0,0) // Added : Default/Auto music driver #define itemVersion_353 sysMakeROMVersion(3,5,3,0,0) // Added : CinE engine and 3DO platform #define itemVersion_352 sysMakeROMVersion(3,5,2,0,0) // Added : Lure engine @@ -153,7 +154,8 @@ typedef struct { } GameInfoType; enum { - ENGINE_SKY = 0, + ENGINE_AGOS = 0, + ENGINE_SKY, ENGINE_SWORD1, ENGINE_SWORD2, ENGINE_CINE, @@ -164,7 +166,6 @@ enum { ENGINE_SAGA, ENGINE_SCUMM, ENGINE_AGI, - ENGINE_AGOS, ENGINE_COUNT }; @@ -172,6 +173,7 @@ static const struct { const char *fileP; const char *nameP; } engines[] = { + { "agos", "AGOS Engine" }, { "sky", "Beneath a Steel Sky" }, { "sword1", "Broken Sword 1" }, { "sword2", "Broken Sword 2" }, @@ -183,7 +185,6 @@ static const struct { { "saga", "SAGA Engine" }, { "scumm", "Scumm Games" }, { "agi", "Sierra AGI" }, - { "simon", "AGOS" }, }; -- cgit v1.2.3