aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/detection.cpp
diff options
context:
space:
mode:
authorRichieSams2013-09-29 18:04:53 -0500
committerRichieSams2013-09-29 18:04:53 -0500
commit49d67caa31583478b1b58df19b5739f42d5a4573 (patch)
treefaa9ee3e3e9346eedccaf44bbfeb054164223e0a /engines/neverhood/detection.cpp
parent07c32312146bb7fe5adec41f03a2463893756361 (diff)
parent1c3202794ad71e59e9496b94ac51f102f8210b54 (diff)
downloadscummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.tar.gz
scummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.tar.bz2
scummvm-rg350-49d67caa31583478b1b58df19b5739f42d5a4573.zip
Merge branch 'master' into zvision
Diffstat (limited to 'engines/neverhood/detection.cpp')
-rw-r--r--engines/neverhood/detection.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/neverhood/detection.cpp b/engines/neverhood/detection.cpp
index 3de087051a..96c87ab3ae 100644
--- a/engines/neverhood/detection.cpp
+++ b/engines/neverhood/detection.cpp
@@ -52,6 +52,10 @@ Common::Platform NeverhoodEngine::getPlatform() const {
return _gameDescription->desc.platform;
}
+Common::Language NeverhoodEngine::getLanguage() const {
+ return _gameDescription->desc.language;
+}
+
uint16 NeverhoodEngine::getVersion() const {
return _gameDescription->version;
}
@@ -60,6 +64,10 @@ bool NeverhoodEngine::isDemo() const {
return _gameDescription->desc.flags & ADGF_DEMO;
}
+bool NeverhoodEngine::applyResourceFixes() const {
+ return getLanguage() == Common::RU_RUS;
+}
+
}
static const PlainGameDescriptor neverhoodGames[] = {