diff options
author | Max Horn | 2003-09-18 18:23:53 +0000 |
---|---|---|
committer | Max Horn | 2003-09-18 18:23:53 +0000 |
commit | 6a4663824e573777c512e0ca21a5c5f61865b83c (patch) | |
tree | 78061db44cc3d3731decd51a84865225dd53840f /scumm | |
parent | 209413ed07e931277cf569d260fbfad71406088e (diff) | |
download | scummvm-rg350-6a4663824e573777c512e0ca21a5c5f61865b83c.tar.gz scummvm-rg350-6a4663824e573777c512e0ca21a5c5f61865b83c.tar.bz2 scummvm-rg350-6a4663824e573777c512e0ca21a5c5f61865b83c.zip |
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
svn-id: r10304
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 1f5f2ab1a3..495b7e671b 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -22,8 +22,10 @@ #include "stdafx.h" -#include "common/config-file.h" #include "base/gameDetector.h" +#include "base/plugins.h" + +#include "common/config-file.h" #include "gui/console.h" #include "gui/message.h" @@ -294,6 +296,8 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) { return engine; } +REGISTER_PLUGIN("Scumm Engine", Engine_SCUMM_targetList, Engine_SCUMM_create); + Scumm::Scumm (GameDetector *detector, OSystem *syst) : Engine(detector, syst), _pauseDialog(0), _optionsDialog(0), _saveLoadDialog(0) { OSystem::Property prop; |