LASTEXPRESS: Reduce header dependencies

This commit is contained in:
Max Horn 2011-06-10 20:19:18 +02:00
parent a0cba0a760
commit 8878be7b11
3 changed files with 10 additions and 2 deletions

View file

@ -21,6 +21,7 @@
*/
#include "lastexpress/lastexpress.h"
#include "engines/advancedDetector.h"
namespace LastExpress {
@ -202,6 +203,10 @@ bool LastExpressMetaEngine::createInstance(OSystem *syst, Engine **engine, const
return gd != 0;
}
bool LastExpressEngine::isDemo() const {
return (bool)(_gameDescription->flags & ADGF_DEMO);
}
} // End of namespace LastExpress
#if PLUGIN_ENABLED_DYNAMIC(LASTEXPRESS)