MOHAWK: Simplify retrieving game features
This commit is contained in:
parent
c9476543e0
commit
1d731aeef9
20 changed files with 74 additions and 67 deletions
|
@ -73,6 +73,10 @@ uint32 MohawkEngine::getFeatures() const {
|
|||
return _gameDescription->features;
|
||||
}
|
||||
|
||||
bool MohawkEngine::isGameVariant(MohawkGameFeatures feature) const {
|
||||
return (_gameDescription->features & feature) != 0;
|
||||
}
|
||||
|
||||
Common::Platform MohawkEngine::getPlatform() const {
|
||||
return _gameDescription->desc.platform;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue