diff options
| author | Max Horn | 2003-04-26 11:44:13 +0000 |
|---|---|---|
| committer | Max Horn | 2003-04-26 11:44:13 +0000 |
| commit | 5626e42f5bf50ae7fdde587047d48cf6986d61e8 (patch) | |
| tree | a7519fcefd64326a6c4e2a4e6cac0241c6fce89d /common/engine.h | |
| parent | 846034328709d13a2d7af332fef346ad9558d0c3 (diff) | |
| download | scummvm-rg350-5626e42f5bf50ae7fdde587047d48cf6986d61e8.tar.gz scummvm-rg350-5626e42f5bf50ae7fdde587047d48cf6986d61e8.tar.bz2 scummvm-rg350-5626e42f5bf50ae7fdde587047d48cf6986d61e8.zip | |
Make it possible to disable some/all of our three game modules (scumm/simon/sky) with three flags in the Makefile
svn-id: r7131
Diffstat (limited to 'common/engine.h')
| -rw-r--r-- | common/engine.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/common/engine.h b/common/engine.h index 11d2fc815c..ec2e7cad38 100644 --- a/common/engine.h +++ b/common/engine.h @@ -82,13 +82,21 @@ void checkHeap(); // 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); + +#ifndef DISABLE_SCUMM +extern const VersionSettings *Engine_SCUMM_targetList(); extern Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst); -extern Engine *Engine_SKY_create(GameDetector *detector, OSystem *syst); +#endif +#ifndef DISABLE_SIMON +extern Engine *Engine_SIMON_create(GameDetector *detector, OSystem *syst); extern const VersionSettings *Engine_SIMON_targetList(); -extern const VersionSettings *Engine_SCUMM_targetList(); +#endif + +#ifndef DISABLE_SKY extern const VersionSettings *Engine_SKY_targetList(); +extern Engine *Engine_SKY_create(GameDetector *detector, OSystem *syst); +#endif #endif |
