diff options
author | Chris Apers | 2006-10-28 14:35:00 +0000 |
---|---|---|
committer | Chris Apers | 2006-10-28 14:35:00 +0000 |
commit | 2457d0b495b29d8cf5a9be5149309fbfb5cefd94 (patch) | |
tree | 767e92a13098ebeda7f5e5e7d0a14686c29058fb /backends | |
parent | 0d62e964ecfc9e518a7dea0517c1ae2f5e2861d9 (diff) | |
download | scummvm-rg350-2457d0b495b29d8cf5a9be5149309fbfb5cefd94.tar.gz scummvm-rg350-2457d0b495b29d8cf5a9be5149309fbfb5cefd94.tar.bz2 scummvm-rg350-2457d0b495b29d8cf5a9be5149309fbfb5cefd94.zip |
Simon -> AGOS
svn-id: r24560
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/PalmOS/Src/launcher/games.cpp | 9 | ||||
-rw-r--r-- | 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" }, }; |