mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher
This commit is contained in:
parent
06242a712b
commit
581a6ec7d6
@ -120,7 +120,7 @@ bool AccessMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Access::AccessEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -758,7 +758,7 @@ bool AdlEngine::hasFeature(EngineFeature f) const {
|
||||
switch (f) {
|
||||
case kSupportsLoadingDuringRuntime:
|
||||
case kSupportsSavingDuringRuntime:
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
@ -241,7 +241,7 @@ bool AgiMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool AgiBase::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ bool AgosMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool AGOS::AGOSEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
|
||||
|
@ -218,7 +218,7 @@ Common::Error BbvsEngine::run() {
|
||||
|
||||
bool BbvsEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -239,7 +239,7 @@ BladeRunnerEngine::~BladeRunnerEngine() {
|
||||
|
||||
bool BladeRunnerEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
f == kSupportsRTL ||
|
||||
f == kSupportsReturnToLauncher ||
|
||||
f == kSupportsLoadingDuringRuntime ||
|
||||
f == kSupportsSavingDuringRuntime;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ Common::Error CGEEngine::run() {
|
||||
|
||||
bool CGEEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ void CGE2Engine::deinit() {
|
||||
|
||||
bool CGE2Engine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime)
|
||||
|| (f == kSupportsRTL);
|
||||
|| (f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
Common::Error CGE2Engine::run() {
|
||||
|
@ -150,7 +150,7 @@ bool ChewyMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Chewy::ChewyEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ bool CineMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Cine::CineEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ SaveStateList ComposerMetaEngine::listSaves(const char *target) const {
|
||||
}
|
||||
|
||||
bool Composer::ComposerEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsRTL
|
||||
return (f == kSupportsReturnToLauncher
|
||||
|| f == kSupportsSavingDuringRuntime
|
||||
|| f == kSupportsLoadingDuringRuntime);
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ CruiseEngine::~CruiseEngine() {
|
||||
|
||||
bool CruiseEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ Common::Language CryOmni3DEngine::getLanguage() const {
|
||||
|
||||
bool CryOmni3DEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL)
|
||||
(f == kSupportsReturnToLauncher)
|
||||
|| (f == kSupportsSubtitleOptions);
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ MainMenuDialog::MainMenuDialog(Engine *engine)
|
||||
_rtlButton = new GUI::ButtonWidget(this, "GlobalMenu.RTL", _("~R~eturn to Launcher"), 0, kRTLCmd);
|
||||
else
|
||||
_rtlButton = new GUI::ButtonWidget(this, "GlobalMenu.RTL", _c("~R~eturn to Launcher", "lowres"), 0, kRTLCmd);
|
||||
_rtlButton->setEnabled(_engine->hasFeature(Engine::kSupportsRTL));
|
||||
_rtlButton->setEnabled(_engine->hasFeature(Engine::kSupportsReturnToLauncher));
|
||||
|
||||
if (!g_system->hasFeature(OSystem::kFeatureNoQuit))
|
||||
new GUI::ButtonWidget(this, "GlobalMenu.Quit", _("~Q~uit"), 0, kQuitCmd);
|
||||
|
@ -63,7 +63,7 @@ Common::String DirectorEngine::getEXEName() const {
|
||||
|
||||
bool DirectorEngine::hasFeature(EngineFeature f) const {
|
||||
return false;
|
||||
//(f == kSupportsRTL);
|
||||
//(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
} // End of Namespace Director
|
||||
|
@ -110,7 +110,7 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
|
||||
|
||||
bool DraciEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsSubtitleOptions) ||
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -1216,7 +1216,7 @@ bool DragonsEngine::canSaveGameStateCurrently() {
|
||||
|
||||
bool DragonsEngine::hasFeature(Engine::EngineFeature f) const {
|
||||
return
|
||||
// TODO (f == kSupportsRTL) ||
|
||||
// TODO (f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ DrasculaEngine::~DrasculaEngine() {
|
||||
|
||||
bool DrasculaEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL || f == kSupportsLoadingDuringRuntime || f == kSupportsSavingDuringRuntime);
|
||||
(f == kSupportsReturnToLauncher || f == kSupportsLoadingDuringRuntime || f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
||||
Common::Error DrasculaEngine::run() {
|
||||
|
@ -111,7 +111,7 @@ bool DreamWebMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool DreamWeb::DreamWebEngine::hasFeature(EngineFeature f) const {
|
||||
switch(f) {
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
return true;
|
||||
case kSupportsSubtitleOptions:
|
||||
return _gameDescription->desc.flags & ADGF_CD;
|
||||
|
@ -164,7 +164,7 @@ public:
|
||||
* either directly, or indirectly (that is, the engine calls and honors
|
||||
* the result of the Engine::shouldQuit() method appropriately).
|
||||
*/
|
||||
kSupportsRTL,
|
||||
kSupportsReturnToLauncher,
|
||||
|
||||
/**
|
||||
* Loading savestates during runtime is supported, that is, this engine
|
||||
|
@ -166,7 +166,7 @@ bool FullpipeMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Fullpipe::FullpipeEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ bool GlkMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Glk::GlkEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
@ -287,7 +287,7 @@ Common::String GlkMetaEngine::findFileByGameId(const Common::String &gameId) con
|
||||
Common::FSNode folder = Common::FSNode(ConfMan.get("path"));
|
||||
Common::FSList fslist;
|
||||
folder.getChildren(fslist, Common::FSNode::kListFilesOnly);
|
||||
|
||||
|
||||
// Iterate over the files
|
||||
for (Common::FSList::iterator i = fslist.begin(); i != fslist.end(); ++i) {
|
||||
// Run a detection on each file in the folder individually
|
||||
|
@ -36,7 +36,7 @@ TADS::TADS(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst, gam
|
||||
|
||||
bool TADS::hasFeature(EngineFeature f) const {
|
||||
// The TADS codebases rely on a lot of static globals, so RTL can't be supported
|
||||
if (f == kSupportsRTL)
|
||||
if (f == kSupportsReturnToLauncher)
|
||||
return false;
|
||||
|
||||
return GlkAPI::hasFeature(f);
|
||||
|
@ -122,7 +122,7 @@ bool GnapMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Gnap::GnapEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ bool GobMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Gob::GobEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
Common::Error GobMetaEngine::createInstance(OSystem *syst, Engine **engine) const {
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
|
||||
bool Griffon::GriffonEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -346,7 +346,7 @@ Common::Platform GroovieEngine::getPlatform() const {
|
||||
|
||||
bool GroovieEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsLoadingDuringRuntime);
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ bool HDBMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
}
|
||||
|
||||
bool HDB::HDBGame::hasFeature(Engine::EngineFeature f) const {
|
||||
return (f == kSupportsRTL) ||
|
||||
return (f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ bool HopkinsMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Hopkins::HopkinsEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ Common::Error HugoEngine::loadGameState(int slot) {
|
||||
}
|
||||
|
||||
bool HugoEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsRTL) || (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime);
|
||||
return (f == kSupportsReturnToLauncher) || (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
||||
const char *HugoEngine::getCopyrightString() const {
|
||||
|
@ -259,7 +259,7 @@ Common::Error IllusionsEngine_BBDOU::run() {
|
||||
|
||||
bool IllusionsEngine_BBDOU::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ Common::Error IllusionsEngine_Duckman::run() {
|
||||
|
||||
bool IllusionsEngine_Duckman::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ bool KyraMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Kyra::KyraEngine_v1::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsSubtitleOptions);
|
||||
|
@ -159,7 +159,7 @@ bool LabMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Lab::LabEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ void LastExpressEngine::setEventHandlers(EventHandler::EventFunction *mouse, Eve
|
||||
/// Misc Engine
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
bool LastExpressEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsRTL);
|
||||
return (f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
} // End of namespace LastExpress
|
||||
|
@ -305,7 +305,7 @@ void LilliputEngine::newInt8() {
|
||||
}
|
||||
|
||||
bool LilliputEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsRTL) || (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime);
|
||||
return (f == kSupportsReturnToLauncher) || (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
||||
const char *LilliputEngine::getCopyrightString() const {
|
||||
|
@ -275,7 +275,7 @@ bool LureMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Lure::LureEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ bool MacVentureMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool MacVentureEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ bool MadeMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Made::MadeEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
bool MadeMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
|
||||
|
@ -191,7 +191,7 @@ bool MADSMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool MADS::MADSEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ Common::Language MohawkEngine::getLanguage() const {
|
||||
|
||||
bool MohawkEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_MYST
|
||||
|
@ -172,7 +172,7 @@ MortevielleEngine::~MortevielleEngine() {
|
||||
*/
|
||||
bool MortevielleEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ bool NeverhoodMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Neverhood::NeverhoodEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -249,7 +249,7 @@ bool ParallactionMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Parallaction::Parallaction::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
bool ParallactionMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
|
||||
|
@ -41,7 +41,7 @@ enum {
|
||||
|
||||
bool PegasusEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL)
|
||||
(f == kSupportsReturnToLauncher)
|
||||
|| (f == kSupportsLoadingDuringRuntime)
|
||||
|| (f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -278,7 +278,7 @@ bool PinkEngine::canSaveGameStateCurrently() {
|
||||
|
||||
bool PinkEngine::hasFeature(Engine::EngineFeature f) const {
|
||||
return
|
||||
f == kSupportsRTL ||
|
||||
f == kSupportsReturnToLauncher ||
|
||||
f == kSupportsLoadingDuringRuntime ||
|
||||
f == kSupportsSavingDuringRuntime;
|
||||
}
|
||||
|
@ -188,7 +188,7 @@ bool Prince::PrinceEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
}
|
||||
|
||||
SaveStateList PrinceMetaEngine::listSaves(const char *target) const {
|
||||
|
@ -312,7 +312,7 @@ void QueenEngine::findGameStateDescriptions(char descriptions[100][32]) {
|
||||
|
||||
bool Queen::QueenEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsSubtitleOptions);
|
||||
|
@ -151,7 +151,7 @@ bool SagaMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Saga::SagaEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -800,7 +800,7 @@ bool SciMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool SciEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime); // ||
|
||||
//(f == kSupportsSavingDuringRuntime);
|
||||
// We can't allow saving through ScummVM menu, because
|
||||
|
@ -1003,7 +1003,7 @@ bool ScummMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool ScummEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsSubtitleOptions);
|
||||
|
@ -226,7 +226,7 @@ bool SherlockMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Sherlock::SherlockEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ bool SkyMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Sky::SkyEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ void SupernovaEngine::init() {
|
||||
|
||||
bool SupernovaEngine::hasFeature(EngineFeature f) const {
|
||||
switch (f) {
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
return true;
|
||||
case kSupportsLoadingDuringRuntime:
|
||||
return true;
|
||||
|
@ -115,7 +115,7 @@ bool SwordMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Sword1::SwordEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsLoadingDuringRuntime);
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ bool Sword2MetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Sword2::Sword2Engine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsSubtitleOptions) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsLoadingDuringRuntime);
|
||||
|
@ -195,12 +195,12 @@ bool Sword25Engine::loadPackages() {
|
||||
|
||||
bool Sword25Engine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL);
|
||||
(f == kSupportsReturnToLauncher);
|
||||
// TODO: Implement more of these features?!
|
||||
#if 0
|
||||
return
|
||||
(f == kSupportsSubtitleOptions) ||
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
#endif
|
||||
|
@ -1068,7 +1068,7 @@ void TeenAgentEngine::setMusic(byte id) {
|
||||
|
||||
bool TeenAgentEngine::hasFeature(EngineFeature f) const {
|
||||
switch (f) {
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
case kSupportsSubtitleOptions:
|
||||
case kSupportsLoadingDuringRuntime:
|
||||
case kSupportsSavingDuringRuntime:
|
||||
|
@ -100,7 +100,7 @@ void TestbedExitDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, ui
|
||||
}
|
||||
|
||||
bool TestbedEngine::hasFeature(EngineFeature f) const {
|
||||
return (f == kSupportsRTL) ? true : false;
|
||||
return (f == kSupportsReturnToLauncher) ? true : false;
|
||||
}
|
||||
|
||||
TestbedEngine::TestbedEngine(OSystem *syst)
|
||||
|
@ -130,7 +130,7 @@ bool Tinsel::TinselEngine::hasFeature(EngineFeature f) const {
|
||||
// global variables (static and non-static) which are never
|
||||
// explicitly re-initialized when the engine is started
|
||||
// for a second time.
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
#endif
|
||||
(f == kSupportsLoadingDuringRuntime);
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ bool TitanicMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Titanic::TitanicEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -271,7 +271,7 @@ bool ToltecsMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Toltecs::ToltecsEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ bool TonyMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Tony::TonyEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ public:
|
||||
|
||||
bool hasFeature(EngineFeature f) const override {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -164,7 +164,7 @@ bool ToucheMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Touche::ToucheEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime) ||
|
||||
(f == kSupportsSubtitleOptions);
|
||||
|
@ -65,7 +65,7 @@ TSageEngine::~TSageEngine() {
|
||||
|
||||
bool TSageEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ TuckerEngine::~TuckerEngine() {
|
||||
|
||||
bool TuckerEngine::hasFeature(EngineFeature f) const {
|
||||
switch (f) {
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
case kSupportsLoadingDuringRuntime:
|
||||
case kSupportsSavingDuringRuntime:
|
||||
return true;
|
||||
|
@ -74,7 +74,7 @@ void UltimaEngine::GUIError(const Common::String &msg) {
|
||||
|
||||
bool UltimaEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ bool VoyeurMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Voyeur::VoyeurEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ bool WageMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Wage::WageEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ WintermuteEngine::~WintermuteEngine() {
|
||||
|
||||
bool WintermuteEngine::hasFeature(EngineFeature f) const {
|
||||
switch (f) {
|
||||
case kSupportsRTL:
|
||||
case kSupportsReturnToLauncher:
|
||||
return true;
|
||||
case kSupportsLoadingDuringRuntime:
|
||||
return true;
|
||||
|
@ -154,7 +154,7 @@ bool XeenMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool Xeen::XeenEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ bool ZVisionMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
||||
bool ZVision::ZVision::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsReturnToLauncher) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user