scummvm/engines/dgds/detection.cpp
Matthew Duggan d12024fa68 DGDS: Change engine name for consistency
The engine name was upper-case 'DGDS', but make it lower-case 'dgds' for
consistency with other engines.

This requires ini file entries to be updated by hand or re-added, but the
engine is not yet in testing so not many users will be affected.
2024-10-23 14:05:51 +11:00

60 lines
1.9 KiB
C++

/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "base/plugins.h"
#include "engines/advancedDetector.h"
static const PlainGameDescriptor dgdsGames[] = {
{"rise", "Rise of the Dragon"},
{"china", "Heart of China"},
{"beamish", "The Adventures of Willy Beamish"},
{"quarky", "Quarky And Quaysoo's Turbo Science"},
{"sq5demo", "Space Quest V Demo"},
{"comingattractions", "Sierra / Dynamix 1991 Coming Attractions Demo"},
{"castaway", "Johnny Castaway"},
{0, 0}
};
#include "dgds/detection_tables.h"
class DgdsMetaEngineDetection : public AdvancedMetaEngineDetection<ADGameDescription> {
public:
DgdsMetaEngineDetection() :
AdvancedMetaEngineDetection(Dgds::gameDescriptions, dgdsGames) {
_guiOptions = GUIO1(GUIO_NONE);
}
const char* getEngineName() const override {
return "Dynamix Game Development System";
}
const char *getName() const override {
return "dgds";
}
const char *getOriginalCopyright() const override {
return "Dynamix Game Development System (C) Dynamix";
}
};
REGISTER_PLUGIN_STATIC(DGDS_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, DgdsMetaEngineDetection);