2010-01-03 23:58:59 +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.
|
2016-09-03 12:46:38 +02:00
|
|
|
*
|
2010-01-03 23:58:59 +02: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.
|
2016-09-03 12:46:38 +02:00
|
|
|
*
|
2010-01-03 23:58:59 +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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
|
|
|
|
#include "engines/advancedDetector.h"
|
2010-01-07 23:52:31 +02:00
|
|
|
|
2011-06-11 05:41:07 +01:00
|
|
|
static const PlainGameDescriptor wageGames[] = {
|
2010-01-07 23:52:31 +02:00
|
|
|
{"afm", "Another Fine Mess"},
|
2015-12-19 12:30:47 +01:00
|
|
|
{"amot", "A Mess O' Trouble"},
|
2015-12-18 10:05:11 +01:00
|
|
|
{"cantitoe", "Camp Cantitoe"},
|
2016-03-16 19:51:21 +01:00
|
|
|
{"drakmythcastle", "Drakmyth Castle"},
|
2016-03-01 18:02:19 +01:00
|
|
|
{"raysmaze", "Ray's Maze"},
|
2016-02-03 23:18:06 +01:00
|
|
|
{"scepters", "Enchanted Scepters"},
|
2016-02-29 18:45:52 +01:00
|
|
|
{"twisted", "Twisted!"},
|
2016-01-30 23:18:21 +01:00
|
|
|
{"wage", "WAGE"},
|
2010-01-03 23:58:59 +02:00
|
|
|
{0, 0}
|
|
|
|
};
|
|
|
|
|
2016-02-15 19:16:11 +01:00
|
|
|
#include "wage/detection_tables.h"
|
2010-01-03 23:58:59 +02:00
|
|
|
|
|
|
|
class WageMetaEngine : public AdvancedMetaEngine {
|
|
|
|
public:
|
2011-06-11 05:41:07 +01:00
|
|
|
WageMetaEngine() : AdvancedMetaEngine(Wage::gameDescriptions, sizeof(ADGameDescription), wageGames) {
|
2017-08-15 21:16:05 +01:00
|
|
|
_md5Bytes = 2 * 1024 * 1024;
|
2016-03-08 18:30:58 +01:00
|
|
|
_guiOptions = GUIO2(GUIO_NOSPEECH, GUIO_NOMIDI);
|
2011-06-11 05:41:07 +01:00
|
|
|
}
|
2010-01-03 23:58:59 +02:00
|
|
|
|
2020-02-09 12:05:34 +01:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "wage";
|
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:34 +01:00
|
|
|
const char *getName() const override {
|
2010-01-03 23:58:59 +02:00
|
|
|
return "World Adventure Game Engine";
|
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:34 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2010-01-03 23:58:59 +02:00
|
|
|
return "World Builder (C) Silicon Beach Software";
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-08-06 23:36:31 +05:30
|
|
|
REGISTER_PLUGIN_STATIC(WAGE_DETECTION, PLUGIN_TYPE_METAENGINE, WageMetaEngine);
|