DREAMWEB: Avoid including advancedDetector.h from dreamweb.h

This commit is contained in:
Max Horn 2012-02-22 18:21:57 +01:00
parent 4202d45fce
commit 37216ab381
4 changed files with 21 additions and 15 deletions

View file

@ -25,6 +25,8 @@
#include "common/algorithm.h"
#include "common/system.h"
#include "engines/advancedDetector.h"
#include "graphics/thumbnail.h"
#include "dreamweb/dreamweb.h"
@ -215,4 +217,12 @@ bool DreamWebEngine::canSaveGameStateCurrently() {
return false;
}
Common::Language DreamWebEngine::getLanguage() const {
return _gameDescription->desc.language;
}
bool DreamWebEngine::isCD() {
return _gameDescription->desc.flags & ADGF_CD;
}
} // End of namespace DreamWeb