diff options
author | Chris Apers | 2006-06-05 19:23:16 +0000 |
---|---|---|
committer | Chris Apers | 2006-06-05 19:23:16 +0000 |
commit | 61453fa59d3e07b2d035f380fb501958361f0a19 (patch) | |
tree | ee132f6da41682c123077af2504da93ab4f6b236 /backends | |
parent | e51d5f3767fcb931d776058f33490e58f360db96 (diff) | |
download | scummvm-rg350-61453fa59d3e07b2d035f380fb501958361f0a19.tar.gz scummvm-rg350-61453fa59d3e07b2d035f380fb501958361f0a19.tar.bz2 scummvm-rg350-61453fa59d3e07b2d035f380fb501958361f0a19.zip |
- Added AGI engine support
svn-id: r22940
Diffstat (limited to 'backends')
-rw-r--r-- | backends/PalmOS/Src/launcher/games.cpp | 12 | ||||
-rw-r--r-- | backends/PalmOS/Src/launcher/games.h | 5 |
2 files changed, 14 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/launcher/games.cpp b/backends/PalmOS/Src/launcher/games.cpp index 4f0c906734..166aae6aa4 100644 --- a/backends/PalmOS/Src/launcher/games.cpp +++ b/backends/PalmOS/Src/launcher/games.cpp @@ -69,7 +69,8 @@ static Err GamUpdateList() { MemSet(&gitCur, sizeof(GameInfoType), 0); - if (version == itemVersion_353 || + if (version == itemVersion_354 || + version == itemVersion_353 || version == itemVersion_352 || version == itemVersion_351 || version == itemVersion_350 || @@ -186,6 +187,10 @@ static Err GamUpdateList() { if (version <= itemVersion_353) gitCur.musicInfo.sound.drvMusic++; + if (version <= itemVersion_354) + if (gitCur.engine >= ENGINE_AGI) // newly added engine + gitCur.engine++; + if (gitCur.musicInfo.volume.palm > 100) gitCur.musicInfo.volume.palm = 50; @@ -274,6 +279,9 @@ static Err GamUpdateList() { // to V3.5.1 if (gitCur.platform >= 9) gitCur.platform++; + + //to V3.5.3 + gitCur.musicInfo.sound.drvMusic++; // ----- gitCur.engine = ENGINE_SCUMM; @@ -314,7 +322,7 @@ static Err GamUpdateList() { gitCur.loadSlot = git0.loadSlot; gitCur.bootValue = git0.bootValue; gitCur.talkValue = git0.talkValue; - gitCur.platform = 0; // default to amiga + gitCur.platform = 2; // default to amiga gitCur.language = git0.language; gitCur.musicInfo.volume.palm = 50; diff --git a/backends/PalmOS/Src/launcher/games.h b/backends/PalmOS/Src/launcher/games.h index 430bd27c4a..bb005e66fb 100644 --- a/backends/PalmOS/Src/launcher/games.h +++ b/backends/PalmOS/Src/launcher/games.h @@ -25,9 +25,10 @@ #ifndef __GAMES_H__ #define __GAMES_H__ -#define curItemVersion sysMakeROMVersion(3,5,4,0,0) // Added : Default/Auto music driver +#define curItemVersion 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 #define itemVersion_351 sysMakeROMVersion(3,5,1,0,0) // Added : Sega CD platform @@ -162,6 +163,7 @@ enum { ENGINE_KYRA, ENGINE_SAGA, ENGINE_SCUMM, + ENGINE_AGI, ENGINE_SIMON, ENGINE_COUNT }; @@ -180,6 +182,7 @@ static const struct { { "kyra", "Kyrandia" }, { "saga", "SAGA Engine" }, { "scumm", "Scumm Games" }, + { "agi", "Sierra AGI" }, { "simon", "Simon the Sorcerer" }, }; |