aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJoost Peters2003-09-28 15:50:47 +0000
committerJoost Peters2003-09-28 15:50:47 +0000
commit82fd31618780ce449f1d2ca3794827b4448ca9f3 (patch)
tree9413816d7e3e31f641354562f5eddf7b2b476343 /base
parent2d3e97049629c48494ea8d4641e57e699e6a8498 (diff)
downloadscummvm-rg350-82fd31618780ce449f1d2ca3794827b4448ca9f3.tar.gz
scummvm-rg350-82fd31618780ce449f1d2ca3794827b4448ca9f3.tar.bz2
scummvm-rg350-82fd31618780ce449f1d2ca3794827b4448ca9f3.zip
queen initial import
svn-id: r10462
Diffstat (limited to 'base')
-rw-r--r--base/engine.h8
-rw-r--r--base/plugins.cpp15
2 files changed, 21 insertions, 2 deletions
diff --git a/base/engine.h b/base/engine.h
index d62a4de3cd..8e9db2751b 100644
--- a/base/engine.h
+++ b/base/engine.h
@@ -43,11 +43,15 @@ enum GameId {
// Beneath a Steel Sky
GID_SKY_FIRST,
- GID_SKY_LAST = GID_SKY_FIRST + 49,
+ GID_SKY_LAST = GID_SKY_FIRST + 9,
// Broken Sword 2
GID_SWORD2_FIRST,
- GID_SWORD2_LAST = GID_SWORD2_FIRST + 49
+ GID_SWORD2_LAST = GID_SWORD2_FIRST + 9,
+
+ //Flight of the Amazon Queen
+ GID_QUEEN_FIRST,
+ GID_QUEEN_LAST = GID_QUEEN_FIRST + 9
};
diff --git a/base/plugins.cpp b/base/plugins.cpp
index a8fb07d893..096a1832b7 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -60,6 +60,11 @@ extern const TargetSettings *Engine_SWORD2_targetList();
extern Engine *Engine_SWORD2_create(GameDetector *detector, OSystem *syst);
#endif
+#ifndef DISABLE_QUEEN
+extern const TargetSettings *Engine_QUEEN_targetList();
+extern Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst);
+#endif
+
#endif
@@ -247,6 +252,11 @@ void PluginManager::loadPlugins() {
#ifndef DISABLE_SWORD2
tryLoadPlugin(new StaticPlugin("sword2", Engine_SWORD2_targetList(), Engine_SWORD2_create));
#endif
+
+ #ifndef DISABLE_QUEEN
+ tryLoadPlugin(new StaticPlugin("queen", Engine_QUEEN_targetList(), Engine_QUEEN_create));
+ #endif
+
#else
// Load dynamic plugins
// TODO... this is right now just a nasty hack.
@@ -277,6 +287,11 @@ void PluginManager::loadPlugins() {
#ifndef DISABLE_SWORD2
tryLoadPlugin(new DynamicPlugin("bs2/libbs2.so"));
#endif
+
+ #ifndef DISABLE_QUEEN
+ tryLoadPlugin(new DynamicPlugin("queen/libqueen.so"));
+ #endif
+
#endif
}