2009-09-03 20:59:17 +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.
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* 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, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2014-02-18 02:34:25 +01:00
|
|
|
*
|
2009-09-03 20:59:17 +00:00
|
|
|
*/
|
|
|
|
|
2009-10-18 12:13:58 +00:00
|
|
|
#include "common/algorithm.h"
|
2009-09-03 20:59:17 +00:00
|
|
|
|
|
|
|
#include "base/plugins.h"
|
2009-09-04 20:08:33 +00:00
|
|
|
|
|
|
|
#include "engines/advancedDetector.h"
|
2009-09-03 20:59:17 +00:00
|
|
|
|
|
|
|
static const PlainGameDescriptor teenAgentGames[] = {
|
2009-09-15 10:36:50 +00:00
|
|
|
{ "teenagent", "Teen Agent" },
|
2009-09-03 20:59:17 +00:00
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
2009-09-05 08:16:35 +00:00
|
|
|
static const ADGameDescription teenAgentGameDescriptions[] = {
|
2009-09-03 20:59:17 +00:00
|
|
|
{
|
2009-09-05 08:16:35 +00:00
|
|
|
"teenagent",
|
|
|
|
"",
|
2009-09-03 22:42:12 +00:00
|
|
|
{
|
2009-09-05 08:16:35 +00:00
|
|
|
{"off.res", 0, NULL, -1},
|
|
|
|
{"on.res", 0, NULL, -1},
|
|
|
|
{"ons.res", 0, NULL, -1},
|
|
|
|
{"varia.res", 0, NULL, -1},
|
|
|
|
{"lan_000.res", 0, NULL, -1},
|
|
|
|
{"lan_500.res", 0, NULL, -1},
|
|
|
|
{"mmm.res", 0, NULL, -1},
|
|
|
|
{"sam_mmm.res", 0, NULL, -1},
|
|
|
|
{"sam_sam.res", 0, NULL, -1},
|
2010-04-28 19:50:28 +00:00
|
|
|
//{"unlogic.res", 0, NULL, -1}, //skipped if not present
|
2019-12-04 04:35:17 +00:00
|
|
|
AD_LISTEND
|
2009-09-15 08:54:06 +00:00
|
|
|
},
|
2009-09-05 08:16:35 +00:00
|
|
|
Common::EN_ANY,
|
2013-05-02 18:26:58 -04:00
|
|
|
Common::kPlatformDOS,
|
2009-09-05 08:16:35 +00:00
|
|
|
ADGF_NO_FLAGS,
|
2019-09-28 04:10:04 +02:00
|
|
|
GUIO2(GUIO_NOSPEECH, GUIO_NOMIDI)
|
2010-04-28 19:50:28 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"teenagent",
|
|
|
|
"",
|
|
|
|
{
|
|
|
|
{"off.res", 0, NULL, -1},
|
|
|
|
{"on.res", 0, NULL, -1},
|
|
|
|
{"ons.res", 0, NULL, -1},
|
|
|
|
{"varia.res", 0, NULL, -1},
|
|
|
|
{"lan_000.res", 0, NULL, -1},
|
|
|
|
{"lan_500.res", 0, NULL, -1},
|
|
|
|
{"sam_sam.res", 0, NULL, -1},
|
|
|
|
{"voices.res", 0, NULL, -1},
|
|
|
|
{"cdlogo.res", 0, NULL, -1},
|
2019-12-04 04:35:17 +00:00
|
|
|
AD_LISTEND
|
2010-04-28 19:50:28 +00:00
|
|
|
},
|
|
|
|
Common::CZ_CZE,
|
2013-05-02 18:26:58 -04:00
|
|
|
Common::kPlatformDOS,
|
2010-04-28 19:50:28 +00:00
|
|
|
ADGF_CD,
|
2019-09-28 04:10:04 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2009-09-15 08:54:06 +00:00
|
|
|
},
|
|
|
|
AD_TABLE_END_MARKER,
|
2009-09-03 20:59:17 +00:00
|
|
|
};
|
|
|
|
|
2020-08-06 23:16:45 +05:30
|
|
|
|
2009-09-03 20:59:17 +00:00
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class TeenAgentMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2009-09-03 20:59:17 +00:00
|
|
|
public:
|
2020-10-11 23:14:39 +02:00
|
|
|
TeenAgentMetaEngineDetection() : AdvancedMetaEngineDetection(teenAgentGameDescriptions, sizeof(ADGameDescription), teenAgentGames) {
|
2009-09-03 20:59:17 +00:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:32 +01:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "teenagent";
|
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:32 +01:00
|
|
|
const char *getName() const override {
|
2011-05-22 12:46:57 +01:00
|
|
|
return "TeenAgent";
|
2009-09-03 20:59:17 +00:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:32 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2009-12-25 03:31:19 +00:00
|
|
|
return "TEENAGENT (C) 1994 Metropolis";
|
2009-09-03 20:59:17 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(TEENAGENT_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, TeenAgentMetaEngineDetection);
|