aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2007-01-20 18:24:55 +0000
committerChris Apers2007-01-20 18:24:55 +0000
commit163803809edf931c277ba2d9d5f9581d6363b57e (patch)
tree9cc174e87f14cea8ff96edb75fb13d9a1998685d
parent0e36e6b50097ffe89cae449e7098d0dbf4ce18d2 (diff)
downloadscummvm-rg350-163803809edf931c277ba2d9d5f9581d6363b57e.tar.gz
scummvm-rg350-163803809edf931c277ba2d9d5f9581d6363b57e.tar.bz2
scummvm-rg350-163803809edf931c277ba2d9d5f9581d6363b57e.zip
Prepare Parallaction support (not working for now)
svn-id: r25132
-rw-r--r--backends/platform/PalmOS/Src/launcher/games.cpp7
-rw-r--r--backends/platform/PalmOS/Src/launcher/games.h31
2 files changed, 23 insertions, 15 deletions
diff --git a/backends/platform/PalmOS/Src/launcher/games.cpp b/backends/platform/PalmOS/Src/launcher/games.cpp
index c5151cf899..d0e162a4cc 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_356 ||
+ if (version == itemVersion_357 ||
+ version == itemVersion_356 ||
version == itemVersion_355 ||
version == itemVersion_354 ||
version == itemVersion_353 ||
@@ -204,6 +205,10 @@ static Err GamUpdateList() {
gitCur.platform++;
}
+ if (version <= itemVersion_357)
+ if (gitCur.engine >= ENGINE_PARALLACTION) // newly added engine
+ gitCur.engine++;
+
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 43c1406b29..c80c99eda3 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,7,0,0) // Added : Apple IIgs
+#define curItemVersion sysMakeROMVersion(3,5,8,0,0) // Parallaction engine
+#define itemVersion_357 sysMakeROMVersion(3,5,7,0,0) // Added : Apple IIgs
#define itemVersion_356 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
@@ -164,6 +165,7 @@ enum {
ENGINE_LURE,
ENGINE_GOB,
ENGINE_KYRA,
+ ENGINE_PARALLACTION,
ENGINE_SAGA,
ENGINE_SCUMM,
ENGINE_AGI,
@@ -175,19 +177,20 @@ 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" },
- { "cine", "Delphine Cinematique v1.0" },
- { "queen", "Flight of the Amazon Queen" },
- { "lure", "Lure of the Tempress" },
- { "gob", "Gobliiins" },
- { "kyra", "Kyrandia" },
- { "saga", "SAGA Engine" },
- { "scumm", "Scumm Games" },
- { "agi", "Sierra AGI" },
- { "touche", "Touche: The Adventures of the Fifth Musketeer" },
+ { "agos", "AGOS Engine" },
+ { "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" },
+ { "kyra", "Kyrandia" },
+ { "parallaction", "Parallaction" },
+ { "saga", "SAGA Engine" },
+ { "scumm", "Scumm Games" },
+ { "agi", "Sierra AGI" },
+ { "touche", "Touche: The Adventures of the Fifth Musketeer" },
};