From 302fdf484bd81659a79c421a44384fd0aeb4d52b Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 25 Feb 2006 20:47:54 +0000 Subject: Added 3DO platform and CinE engine svn-id: r20889 --- backends/PalmOS/Src/games.cpp | 10 +++++++++- backends/PalmOS/Src/games.h | 9 ++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'backends/PalmOS') diff --git a/backends/PalmOS/Src/games.cpp b/backends/PalmOS/Src/games.cpp index 23464d00d0..737cb4983c 100644 --- a/backends/PalmOS/Src/games.cpp +++ b/backends/PalmOS/Src/games.cpp @@ -69,7 +69,8 @@ static Err GamUpdateList() { MemSet(&gitCur, sizeof(GameInfoType), 0); - if (version == itemVersion_351 || + if (version == itemVersion_352 || + version == itemVersion_351 || version == itemVersion_350 || version == itemVersion_340 || version == itemVersion_330 || @@ -173,6 +174,13 @@ static Err GamUpdateList() { else if (gitCur.engine == ENGINE_SIMON) gitCur.engine = ENGINE_SCUMM; } + + if (version <= itemVersion_352) { + if (gitCur.engine >= ENGINE_CINE) // newly added engine + gitCur.engine++; + + gitCur.platform++; + } if (gitCur.musicInfo.volume.palm > 100) gitCur.musicInfo.volume.palm = 50; diff --git a/backends/PalmOS/Src/games.h b/backends/PalmOS/Src/games.h index 1bbd199dc0..99d8d5ef03 100644 --- a/backends/PalmOS/Src/games.h +++ b/backends/PalmOS/Src/games.h @@ -25,9 +25,10 @@ #ifndef __GAMES_H__ #define __GAMES_H__ -#define curItemVersion sysMakeROMVersion(3,5,2,0,0) // Added : Lure engine +#define curItemVersion 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 #define itemVersion_350 sysMakeROMVersion(3,5,0,0,0) #define itemVersion_340 sysMakeROMVersion(3,4,0,0,0) @@ -101,11 +102,11 @@ typedef struct { struct { // midi Boolean multiMidi; - Boolean music; + Boolean music; // TODO : rename this, it is enable audio option UInt8 drvMusic; UInt8 tempo; // sound FX - Boolean sfx; + Boolean sfx; // TODO : remove this UInt8 rate; // CD audio Boolean CD; @@ -153,6 +154,7 @@ enum { ENGINE_SKY = 0, ENGINE_SWORD1, ENGINE_SWORD2, + ENGINE_CINE, ENGINE_QUEEN, ENGINE_LURE, ENGINE_GOB, @@ -170,6 +172,7 @@ static const struct { { "sky", "Beneath a Steel Sky" }, { "sword1", "Broken Sword 1" }, { "sword2", "Broken Sword 2" }, + { "cine", "Delphine Cinematique v1.0" }, { "queen", "Flight of the Amazon Queen" }, { "lure", "Lure of the Tempress" }, { "gob", "Gobliiins" }, -- cgit v1.2.3