aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/detection.cpp')
-rw-r--r--engines/fullpipe/detection.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/fullpipe/detection.cpp b/engines/fullpipe/detection.cpp
index e42de65543..e22bcd3d50 100644
--- a/engines/fullpipe/detection.cpp
+++ b/engines/fullpipe/detection.cpp
@@ -25,14 +25,24 @@
#include "engines/advancedDetector.h"
#include "common/file.h"
+#include "graphics/surface.h"
+
#include "fullpipe/fullpipe.h"
#include "fullpipe/gameloader.h"
namespace Fullpipe {
-const char *FullpipeEngine::getGameId() const {
- return _gameDescription->gameId;
+uint32 FullpipeEngine::getFeatures() const {
+ return _gameDescription->flags;
+}
+
+bool FullpipeEngine::isDemo() {
+ return _gameDescription->flags & ADGF_DEMO;
+}
+
+Common::Language FullpipeEngine::getLanguage() const {
+ return _gameDescription->language;
}
}