mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
HOPKINS: move debug channels to metaEngineDetection
This commit is contained in:
parent
9d585ee994
commit
cd6a9db116
@ -25,6 +25,13 @@
|
||||
#include "common/translation.h"
|
||||
|
||||
#include "hopkins/detection.h"
|
||||
#include "hopkins/hopkins.h"
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{Hopkins::kDebugPath, "Path", "Pathfinding debug level"},
|
||||
{Hopkins::kDebugGraphics, "Graphics", "Graphics debug level"},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
|
||||
static const PlainGameDescriptor hopkinsGames[] = {
|
||||
{"hopkins", "Hopkins FBI"},
|
||||
@ -81,6 +88,10 @@ public:
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "Hopkins FBI (C) 1997-2003 MP Entertainment";
|
||||
}
|
||||
|
||||
const DebugChannelDef *getDebugChannels() const override {
|
||||
return debugFlagList;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,8 +37,6 @@ namespace Hopkins {
|
||||
|
||||
HopkinsEngine::HopkinsEngine(OSystem *syst, const HopkinsGameDescription *gameDesc) : Engine(syst),
|
||||
_gameDescription(gameDesc), _randomSource("Hopkins") {
|
||||
DebugMan.addDebugChannel(kDebugPath, "Path", "Pathfinding debug level");
|
||||
DebugMan.addDebugChannel(kDebugGraphics, "Graphics", "Graphics debug level");
|
||||
_animMan = new AnimationManager(this);
|
||||
_computer = new ComputerManager(this);
|
||||
_dialog = new DialogsManager(this);
|
||||
|
Loading…
Reference in New Issue
Block a user