aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-24 21:12:21 +0000
committerMatthew Hoops2010-11-24 21:12:21 +0000
commitf5b1b9fa7521efe722ef3b530733412f624c9fe0 (patch)
treea86890d0cf50fdcc051b8ccf26692dcc1ec4df86 /engines
parentdcd132697056517008df13230a05811d06fbf4d5 (diff)
downloadscummvm-rg350-f5b1b9fa7521efe722ef3b530733412f624c9fe0.tar.gz
scummvm-rg350-f5b1b9fa7521efe722ef3b530733412f624c9fe0.tar.bz2
scummvm-rg350-f5b1b9fa7521efe722ef3b530733412f624c9fe0.zip
MOHAWK: Change the unused version detection field to 'appName' for use with LB
svn-id: r54462
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/detection.cpp6
-rw-r--r--engines/mohawk/detection_tables.h67
-rw-r--r--engines/mohawk/mohawk.h3
3 files changed, 46 insertions, 30 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index f04338239f..417560f67f 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -44,7 +44,7 @@ struct MohawkGameDescription {
uint8 gameType;
uint32 features;
- uint16 version;
+ const char *appName;
};
const char* MohawkEngine::getGameId() const {
@@ -59,8 +59,8 @@ Common::Platform MohawkEngine::getPlatform() const {
return _gameDescription->desc.platform;
}
-uint16 MohawkEngine::getVersion() const {
- return _gameDescription->version;
+const char *MohawkEngine::getAppName() const {
+ return _gameDescription->appName;
}
uint8 MohawkEngine::getGameType() const {
diff --git a/engines/mohawk/detection_tables.h b/engines/mohawk/detection_tables.h
index 7470dbf1dd..fb086d5d93 100644
--- a/engines/mohawk/detection_tables.h
+++ b/engines/mohawk/detection_tables.h
@@ -490,7 +490,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_JAMESMATH,
GF_HASMIDI,
- 1
+ 0
},
{
@@ -520,7 +520,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV3,
0,
- 0
+ "GREEN.EXE"
},
// 32-bit version of the previous entry
@@ -536,7 +536,22 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV3,
0,
- 0
+ "GREEN32.EXE"
+ },
+
+ {
+ {
+ "greeneggs",
+ "",
+ AD_ENTRY1("BookOutline", "5500fa72a6d112b4b3d3573b26a31820"),
+ Common::EN_ANY,
+ Common::kPlatformMacintosh,
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
+ },
+ GType_LIVINGBOOKSV3,
+ 0,
+ "Green Eggs and Ham"
},
{
@@ -599,7 +614,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "TORTOISE.EXE"
},
{
@@ -614,7 +629,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "TORTOISE.EXE"
},
{
@@ -629,7 +644,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -644,7 +659,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
0,
- 0
+ "ARTHUR.EXE" // FIXME: Check this (ST?)
},
{
@@ -659,7 +674,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "ARTHUR.EXE"
},
{
@@ -674,7 +689,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "ARTHUR.EXE"
},
{
@@ -689,7 +704,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Arthur's Teacher Trouble"
},
{
@@ -704,7 +719,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -719,7 +734,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "GRANDMA.EXE"
},
{
@@ -734,7 +749,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "GRANDMA.EXE"
},
{
@@ -749,7 +764,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Just Grandma and Me"
},
{
@@ -764,7 +779,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -779,7 +794,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "RUFF.EXE"
},
{
@@ -794,7 +809,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -809,7 +824,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "NEWKID.EXE"
},
{
@@ -824,7 +839,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "NEWKID.EXE"
},
{
@@ -839,7 +854,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -854,7 +869,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV3,
0,
- 0
+ 0 // FIXME: ST?
},
// 32-bit version of the previous entry
@@ -870,7 +885,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV3,
0,
- 0
+ 0 // FIXME: ST?
},
{
@@ -885,7 +900,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "BIRTHDAY.EXE"
},
{
@@ -900,7 +915,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
GF_DEMO,
- 0
+ "Living Books Player"
},
{
@@ -915,7 +930,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
0,
- 0
+ "MONSTER.EXE"
},
{
@@ -930,7 +945,7 @@ static const MohawkGameDescription gameDescriptions[] = {
},
GType_LIVINGBOOKSV1,
0,
- 0
+ "Little Monster at School"
},
#endif
diff --git a/engines/mohawk/mohawk.h b/engines/mohawk/mohawk.h
index 3fe63c962a..2cba8aa021 100644
--- a/engines/mohawk/mohawk.h
+++ b/engines/mohawk/mohawk.h
@@ -87,8 +87,9 @@ public:
// Detection related functions
const MohawkGameDescription *_gameDescription;
- const char* getGameId() const;
+ const char *getGameId() const;
uint32 getFeatures() const;
+ const char *getAppName() const;
uint16 getVersion() const;
Common::Platform getPlatform() const;
uint8 getGameType() const;