2017-03-25 20:03:13 +00:00
|
|
|
/* 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.
|
|
|
|
*
|
2021-12-26 17:47:58 +00:00
|
|
|
* 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.
|
2017-03-25 20:03:13 +00:00
|
|
|
*
|
|
|
|
* 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
|
2021-12-26 17:47:58 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2017-03-25 20:03:13 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
|
|
|
|
#include "engines/advancedDetector.h"
|
2020-08-02 22:51:20 +00:00
|
|
|
#include "engines/game.h"
|
2017-03-25 20:03:13 +00:00
|
|
|
|
2021-05-16 12:05:13 +00:00
|
|
|
#include "plumbers/plumbers.h"
|
|
|
|
|
2017-03-25 20:03:13 +00:00
|
|
|
static const PlainGameDescriptor plumbersGames[] = {
|
|
|
|
{"plumbers", "Plumbers Don't Wear Ties!"},
|
2021-11-13 21:40:36 +00:00
|
|
|
{nullptr, nullptr}
|
2017-03-25 20:03:13 +00:00
|
|
|
};
|
|
|
|
|
2021-05-16 12:05:13 +00:00
|
|
|
static const DebugChannelDef debugFlagList[] = {
|
|
|
|
{Plumbers::kDebugGeneral, "general", "General debug level"},
|
|
|
|
DEBUG_CHANNEL_END
|
|
|
|
};
|
|
|
|
|
2017-03-25 20:03:13 +00:00
|
|
|
namespace Plumbers {
|
|
|
|
|
|
|
|
static const ADGameDescription gameDescriptions[] = {
|
|
|
|
// Plumbers PC version
|
|
|
|
{
|
|
|
|
"plumbers",
|
2021-11-13 21:40:36 +00:00
|
|
|
nullptr,
|
|
|
|
AD_ENTRY1s("GAME.BIN", nullptr, 41622),
|
2017-03-25 20:03:13 +00:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformWindows,
|
2017-11-26 01:05:29 +00:00
|
|
|
ADGF_NO_FLAGS,
|
2019-09-28 01:07:29 +00:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2017-03-25 20:03:13 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// Plumbers 3DO version
|
|
|
|
{
|
|
|
|
"plumbers",
|
2021-11-13 21:40:36 +00:00
|
|
|
nullptr,
|
|
|
|
AD_ENTRY1s("launchme", nullptr, 143300),
|
2017-03-25 20:03:13 +00:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatform3DO,
|
|
|
|
ADGF_UNSTABLE,
|
2019-09-28 01:07:29 +00:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2017-03-25 20:03:13 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
AD_TABLE_END_MARKER
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Plumbers
|
|
|
|
|
2020-10-11 21:14:39 +00:00
|
|
|
class PlumbersMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2017-03-25 20:03:13 +00:00
|
|
|
public:
|
2020-10-11 21:14:39 +00:00
|
|
|
PlumbersMetaEngineDetection() : AdvancedMetaEngineDetection(Plumbers::gameDescriptions, sizeof(ADGameDescription), plumbersGames) {
|
2017-03-25 20:03:13 +00:00
|
|
|
}
|
|
|
|
|
2020-02-05 15:05:38 +00:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 16:23:35 +00:00
|
|
|
return "plumbers";
|
|
|
|
}
|
|
|
|
|
2020-02-09 11:05:31 +00:00
|
|
|
const char *getName() const override {
|
2016-09-15 18:04:14 +00:00
|
|
|
return "Plumbers Don't Wear Ties";
|
2017-03-25 20:03:13 +00:00
|
|
|
}
|
|
|
|
|
2020-02-09 11:05:31 +00:00
|
|
|
const char *getOriginalCopyright() const override {
|
2017-03-25 20:03:13 +00:00
|
|
|
return "Plumbers Don't Wear Ties (C) 1993-94 Kirin Entertainment";
|
|
|
|
}
|
2021-05-16 12:05:13 +00:00
|
|
|
|
|
|
|
const DebugChannelDef *getDebugChannels() const override {
|
|
|
|
return debugFlagList;
|
|
|
|
}
|
2017-03-25 20:03:13 +00:00
|
|
|
};
|
|
|
|
|
2020-10-11 21:14:39 +00:00
|
|
|
REGISTER_PLUGIN_STATIC(PLUMBERS_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, PlumbersMetaEngineDetection);
|