aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/detection.cpp')
-rw-r--r--engines/dreamweb/detection.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/dreamweb/detection.cpp b/engines/dreamweb/detection.cpp
index b891c2a3ea..9d3797db03 100644
--- a/engines/dreamweb/detection.cpp
+++ b/engines/dreamweb/detection.cpp
@@ -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