mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
LASTEXPRESS: move debug channels to metaEngineDetection
This commit is contained in:
parent
034be8cc6d
commit
fb1e15fc3d
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "engines/advancedDetector.h"
|
||||
#include "lastexpress/lastexpress.h"
|
||||
|
||||
namespace LastExpress {
|
||||
|
||||
@ -30,6 +31,18 @@ static const PlainGameDescriptor lastExpressGames[] = {
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{LastExpress::kLastExpressDebugGraphics, "Graphics", "Debug graphics & animation/sequence playback"},
|
||||
{LastExpress::kLastExpressDebugResource, "Resource", "Debug resource management"},
|
||||
{LastExpress::kLastExpressDebugCursor, "Cursor", "Debug cursor handling"},
|
||||
{LastExpress::kLastExpressDebugSound, "Sound", "Debug sound playback"},
|
||||
{LastExpress::kLastExpressDebugSubtitle, "Subtitle", "Debug subtitles"},
|
||||
{LastExpress::kLastExpressDebugSavegame, "Savegame", "Debug savegames"},
|
||||
{LastExpress::kLastExpressDebugLogic, "Logic", "Debug logic"},
|
||||
{LastExpress::kLastExpressDebugScenes, "Scenes", "Debug scenes & hotspots"},
|
||||
{LastExpress::kLastExpressDebugUnknown, "Unknown", "Debug unknown data"},
|
||||
};
|
||||
|
||||
static const ADGameDescription gameDescriptions[] = {
|
||||
|
||||
// The Last Express (English) - US Broderbund Release
|
||||
@ -227,6 +240,10 @@ public:
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "The Last Express (C) 1997 Smoking Car Productions";
|
||||
}
|
||||
|
||||
const DebugChannelDef *getDebugChannels() const override {
|
||||
return debugFlagList;
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace LastExpress
|
||||
|
@ -68,17 +68,6 @@ LastExpressEngine::LastExpressEngine(OSystem *syst, const ADGameDescription *gd)
|
||||
// Adding the default directories
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "data");
|
||||
|
||||
// Initialize the custom debug levels
|
||||
DebugMan.addDebugChannel(kLastExpressDebugGraphics, "Graphics", "Debug graphics & animation/sequence playback");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugResource, "Resource", "Debug resource management");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugCursor, "Cursor", "Debug cursor handling");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugSound, "Sound", "Debug sound playback");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugSubtitle, "Subtitle", "Debug subtitles");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugSavegame, "Savegame", "Debug savegames");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugLogic, "Logic", "Debug logic");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugScenes, "Scenes", "Debug scenes & hotspots");
|
||||
DebugMan.addDebugChannel(kLastExpressDebugUnknown, "Unknown", "Debug unknown data");
|
||||
}
|
||||
|
||||
LastExpressEngine::~LastExpressEngine() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user