aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-09 14:33:07 +0000
committerMax Horn2006-03-09 14:33:07 +0000
commit6db0289f3032a3df3200210a4a2a173fd9805858 (patch)
tree41d02e84cd4b47959031acc4b555f1123702d0b8 /engines/saga/saga.cpp
parent6b988a51bde099d5080be96aaefaa19edf59a8d9 (diff)
downloadscummvm-rg350-6db0289f3032a3df3200210a4a2a173fd9805858.tar.gz
scummvm-rg350-6db0289f3032a3df3200210a4a2a173fd9805858.tar.bz2
scummvm-rg350-6db0289f3032a3df3200210a4a2a173fd9805858.zip
Moved SAGA plugin interface code from saga.cpp to game.cpp
svn-id: r21181
Diffstat (limited to 'engines/saga/saga.cpp')
-rw-r--r--engines/saga/saga.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index b81c151456..208893b20e 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -24,8 +24,6 @@
#include "common/stdafx.h"
#include "base/gameDetector.h"
-#include "base/plugins.h"
-#include "backends/fs/fs.h"
#include "common/file.h"
#include "common/config-manager.h"
@@ -56,44 +54,6 @@
#include "saga/objectmap.h"
#include "saga/resnames.h"
-static const PlainGameDescriptor saga_games[] = {
- {"ite", "Inherit the Earth: Quest for the Orb"},
- {"ihnm", "I Have No Mouth and I Must Scream"},
- {0, 0}
-};
-
-GameList Engine_SAGA_gameIDList() {
- GameList games;
- const PlainGameDescriptor *g = saga_games;
-
- while (g->gameid) {
- games.push_back(*g);
- g++;
- }
-
- return games;
-}
-
-GameDescriptor Engine_SAGA_findGameID(const char *gameid) {
- const PlainGameDescriptor *g = saga_games;
- while (g->gameid) {
- if (0 == scumm_stricmp(gameid, g->gameid))
- break;
- g++;
- }
- return *g;
-}
-
-DetectedGameList Engine_SAGA_detectGames(const FSList &fslist) {
- return Saga::GAME_ProbeGame(fslist);
-}
-
-Engine *Engine_SAGA_create(GameDetector *detector, OSystem *syst) {
- return new Saga::SagaEngine(detector, syst);
-}
-
-REGISTER_PLUGIN(SAGA, "SAGA Engine")
-
namespace Saga {
#define MAX_TIME_DELTA 100