aboutsummaryrefslogtreecommitdiff
path: root/common/engine.h
diff options
context:
space:
mode:
authorMax Horn2003-03-01 22:04:48 +0000
committerMax Horn2003-03-01 22:04:48 +0000
commitf4e147e5d24ce3c74bf467dcd3737dbedfa27c82 (patch)
treefcd4adc99d3366b85f8e68012361c1002e44cc85 /common/engine.h
parent956e5e2b3dfe7658732ee036862e347e4c8c13aa (diff)
downloadscummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.tar.gz
scummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.tar.bz2
scummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.zip
removed the single big VersionSettings list; instead, the simon & scumm modules now keep their target lists seperatly (and when we add BASS, it can have its own target list)
svn-id: r6652
Diffstat (limited to 'common/engine.h')
-rw-r--r--common/engine.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/engine.h b/common/engine.h
index 4775fa05c7..b71e42ac76 100644
--- a/common/engine.h
+++ b/common/engine.h
@@ -29,6 +29,7 @@
class SoundMixer;
class GameDetector;
+struct VersionSettings;
/* FIXME - BIG HACK for MidiEmu */
extern OSystem *g_system;
@@ -71,10 +72,15 @@ void CDECL warning(const char *s, ...);
void CDECL debug(int level, const char *s, ...);
void checkHeap();
-/* Factory functions => no need to include the specific classes
- * in this header => faster compile */
+// Factory functions => no need to include the specific classes
+// in this header. This serves two purposes:
+// 1) Clean seperation from the game modules (scumm, simon) and the generic code
+// 2) Faster (compiler doesn't have to parse lengthy header files)
extern Engine *Engine_SIMON_create(GameDetector *detector, OSystem *syst);
extern Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst);
+extern const VersionSettings *Engine_SIMON_targetList();
+extern const VersionSettings *Engine_SCUMM_targetList();
+
#endif