2013-06-18 20:32:43 +02: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.
|
2014-02-18 02:34:18 +01:00
|
|
|
*
|
2013-06-18 20:32:43 +02:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2014-02-18 02:34:18 +01:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2013-06-18 20:32:43 +02:00
|
|
|
* GNU General Public License for more details.
|
2014-02-18 02:34:18 +01:00
|
|
|
*
|
2013-06-18 20:32:43 +02:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This code is based on the original source code of Lord Avalot d'Argent version 1.3.
|
|
|
|
* Copyright (c) 1994-1995 Mike, Mark and Thomas Thurman.
|
|
|
|
*/
|
|
|
|
|
2013-09-19 21:21:53 +02:00
|
|
|
|
2013-06-18 20:32:43 +02:00
|
|
|
|
2020-08-07 04:39:26 +05:30
|
|
|
#include "base/plugins.h"
|
2013-09-19 21:21:53 +02:00
|
|
|
#include "engines/advancedDetector.h"
|
2013-06-18 20:32:43 +02:00
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "avalanche/detection.h"
|
2013-06-18 20:32:43 +02:00
|
|
|
|
2020-08-07 04:39:26 +05:30
|
|
|
namespace Avalanche {
|
2018-05-01 12:48:05 +02:00
|
|
|
|
2013-06-20 08:32:58 +02:00
|
|
|
static const PlainGameDescriptor avalancheGames[] = {
|
2013-06-20 09:40:25 +02:00
|
|
|
{"avalanche", "Lord Avalot d'Argent"},
|
2013-06-20 08:32:58 +02:00
|
|
|
{0, 0}
|
|
|
|
};
|
|
|
|
|
2013-06-18 20:32:43 +02:00
|
|
|
static const ADGameDescription gameDescriptions[] = {
|
|
|
|
{
|
2013-06-20 09:40:25 +02:00
|
|
|
"avalanche", 0,
|
2020-11-28 13:28:57 +01:00
|
|
|
AD_ENTRY2s("avalot.sez", "de10eb353228013da3d3297784f81ff9", 48763,
|
|
|
|
"mainmenu.avd", "89f31211af579a872045b175cc264298", 18880),
|
2013-06-18 20:32:43 +02:00
|
|
|
Common::EN_ANY,
|
2013-06-20 08:32:58 +02:00
|
|
|
Common::kPlatformDOS,
|
2019-10-23 11:46:10 -05:00
|
|
|
ADGF_UNSTABLE,
|
2019-09-26 01:52:52 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2013-06-18 20:32:43 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
AD_TABLE_END_MARKER
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class AvalancheMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2013-06-18 20:32:43 +02:00
|
|
|
public:
|
2020-10-11 23:14:39 +02:00
|
|
|
AvalancheMetaEngineDetection() : AdvancedMetaEngineDetection(gameDescriptions, sizeof(AvalancheGameDescription), avalancheGames) {
|
2013-06-18 20:32:43 +02:00
|
|
|
}
|
|
|
|
|
2020-02-05 14:38:48 +01:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "avalanche";
|
|
|
|
}
|
|
|
|
|
2020-02-05 14:38:48 +01:00
|
|
|
const char *getName() const override {
|
2013-06-18 20:32:43 +02:00
|
|
|
return "Avalanche";
|
|
|
|
}
|
|
|
|
|
2020-02-05 14:38:48 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "Avalanche (C) 1994-1995 Mike, Mark and Thomas Thurman.";
|
2013-06-18 20:32:43 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Avalanche
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(AVALANCHE_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, Avalanche::AvalancheMetaEngineDetection);
|