scummvm/engines/groovie/detection.h
Die4Ever f3337a4cd2 GROOVIE: cleanup detection.cpp
cleaning up detection.cpp by removing all references to the disk.1 file and using AD_ENTRY2s

for Groovie v2 games, make sure to search for a file in the GROOVIE folder and also a file in the MEDIA folder, in order to ensure the user is adding the root game directory and not a subfolder, this also ensures that Mass Add Games works correctly without broken duplicates

also improved the error message in resource.cpp for when a file from a different disk is not found
2021-09-15 19:13:57 +03:00

47 lines
1.3 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 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.
*
*/
#ifndef GROOVIE_DETECTION_H
#define GROOVIE_DETECTION_H
#include "engines/advancedDetector.h"
namespace Groovie {
enum EngineVersion {
kGroovieT7G,
kGroovieT11H,
kGroovieCDY,
kGroovieUHP,
kGroovieTLC
};
struct GroovieGameDescription {
ADGameDescription desc;
EngineVersion version; // Version of the engine
};
} // End of namespace Groovie
#endif