GRIM: move debug flags to metaEngineDetection
This commit is contained in:
parent
b41b540a03
commit
dd14b7b34a
3 changed files with 29 additions and 22 deletions
|
@ -24,6 +24,31 @@
|
|||
#include "engines/grim/detection.h"
|
||||
|
||||
#include "common/translation.h"
|
||||
#include "engines/grim/debug.h"
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{Grim::Debug::Info, "info", ""},
|
||||
{Grim::Debug::Warning, "warning", ""},
|
||||
{Grim::Debug::Error, "error", ""},
|
||||
{Grim::Debug::Engine, "engine", ""},
|
||||
{Grim::Debug::Lua, "lua", ""},
|
||||
{Grim::Debug::Bitmaps, "bitmaps", ""},
|
||||
{Grim::Debug::Models, "models", ""},
|
||||
{Grim::Debug::Actors, "actors", ""},
|
||||
{Grim::Debug::Costumes, "costumes", ""},
|
||||
{Grim::Debug::Chores, "chores", ""},
|
||||
{Grim::Debug::Fonts, "fonts", ""},
|
||||
{Grim::Debug::Keyframes, "keyframes", ""},
|
||||
{Grim::Debug::Movie, "movie", ""},
|
||||
{Grim::Debug::Sound, "sound", ""},
|
||||
{Grim::Debug::Scripts, "scripts", ""},
|
||||
{Grim::Debug::Sets, "sets", ""},
|
||||
{Grim::Debug::TextObjects, "textobjects", ""},
|
||||
{Grim::Debug::Patchr, "patchr", ""},
|
||||
{Grim::Debug::Lipsync, "lipsync", ""},
|
||||
{Grim::Debug::Sprites, "sprites", ""},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
|
||||
namespace Grim {
|
||||
|
||||
|
@ -598,6 +623,10 @@ public:
|
|||
return "LucasArts GrimE Games (C) LucasArts";
|
||||
}
|
||||
|
||||
const DebugChannelDef *getDebugChannels() const override {
|
||||
return debugFlagList;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
} // End of namespace Grim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue