aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2007-08-13 10:12:07 +0000
committerEugene Sandulenko2007-08-13 10:12:07 +0000
commit837381f1d455fd5568759db4ad4767891c58dfce (patch)
treeacef85a66f69f09eb9a121e343e9909eade17220
parent397aeeebfbc78e9b7fe86d9f0329d2ad94a640fe (diff)
downloadscummvm-rg350-837381f1d455fd5568759db4ad4767891c58dfce.tar.gz
scummvm-rg350-837381f1d455fd5568759db4ad4767891c58dfce.tar.bz2
scummvm-rg350-837381f1d455fd5568759db4ad4767891c58dfce.zip
Fix linking errors.
svn-id: r28587
-rw-r--r--engines/agos/detection.cpp4
-rw-r--r--engines/kyra/detection.cpp4
-rw-r--r--engines/parallaction/detection.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index fe4dc71fea..31ff220412 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -101,7 +101,7 @@ static const Common::ADParams detectionParams = {
Common::kADFlagAugmentPreferredTarget
};
-bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
+bool engineCreateAgos(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)(encapsulatedDesc.realDesc);
bool res = true;
@@ -135,7 +135,7 @@ bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc
return res;
}
-ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(AGOS, engineCreate, detectionParams);
+ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(AGOS, engineCreateAgos, detectionParams);
REGISTER_PLUGIN(AGOS, "AGOS", "AGOS (C) Adventure Soft");
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp
index 564a73c313..a3d861067a 100644
--- a/engines/kyra/detection.cpp
+++ b/engines/kyra/detection.cpp
@@ -119,7 +119,7 @@ const Common::ADParams detectionParams = {
} // End of anonymous namespace
-bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
+bool engineCreateKyra(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
const KYRAGameDescription *gd = (const KYRAGameDescription *)(encapsulatedDesc.realDesc);
bool res = true;
@@ -158,7 +158,7 @@ bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc
return res;
}
-ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(KYRA, engineCreate, detectionParams);
+ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(KYRA, engineCreateKyra, detectionParams);
REGISTER_PLUGIN(KYRA, "Legend of Kyrandia Engine", "The Legend of Kyrandia (C) Westwood Studios");
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp
index ebfc37e795..8ad79f34eb 100644
--- a/engines/parallaction/detection.cpp
+++ b/engines/parallaction/detection.cpp
@@ -186,7 +186,7 @@ static const Common::ADParams detectionParams = {
Common::kADFlagAugmentPreferredTarget
};
-bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
+bool engineCreateParallaction(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc encapsulatedDesc) {
const Parallaction::PARALLACTIONGameDescription *gd = (const Parallaction::PARALLACTIONGameDescription *)(encapsulatedDesc.realDesc);
bool res = true;
@@ -205,7 +205,7 @@ bool engineCreate(OSystem *syst, Engine **engine, Common::EncapsulatedADGameDesc
return res;
}
-ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(PARALLACTION, engineCreate, detectionParams);
+ADVANCED_DETECTOR_DEFINE_PLUGIN_WITH_COMPLEX_CREATION(PARALLACTION, engineCreateParallaction, detectionParams);
REGISTER_PLUGIN(PARALLACTION, "Parallaction engine", "Nippon Safes Inc. (C) Dynabyte");