mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
Added two more debug levels (logic and animation).
svn-id: r42065
This commit is contained in:
parent
b232202b33
commit
52642e2dc9
@ -62,9 +62,11 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
|
||||
//Common::File::addDefaultDirectory(_gameDataPath + "sound/");
|
||||
|
||||
// Here is the right place to set up the engine specific debug levels
|
||||
Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug level");
|
||||
Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info");
|
||||
Common::addDebugChannel(kDraciBytecodeDebugLevel, "bytecode", "GPL bytecode instructions");
|
||||
Common::addDebugChannel(kDraciArchiverDebugLevel, "archiver", "BAR archiver debug info");
|
||||
Common::addDebugChannel(kDraciLogicDebugLevel, "logic", "Game logic debug info");
|
||||
Common::addDebugChannel(kDraciAnimationDebugLevel, "animation", "Animation debug info");
|
||||
|
||||
// Don't forget to register your random source
|
||||
_eventMan->registerRandomSource(_rnd, "draci");
|
||||
|
@ -67,9 +67,11 @@ private:
|
||||
};
|
||||
|
||||
enum {
|
||||
kDraciGeneralDebugLevel = 1 << 0,
|
||||
kDraciBytecodeDebugLevel = 1 << 1,
|
||||
kDraciArchiverDebugLevel = 1 << 2
|
||||
kDraciGeneralDebugLevel = 1 << 0,
|
||||
kDraciBytecodeDebugLevel = 1 << 1,
|
||||
kDraciArchiverDebugLevel = 1 << 2,
|
||||
kDraciLogicDebugLevel = 1 << 3,
|
||||
kDraciAnimationDebugLevel = 1 << 4
|
||||
};
|
||||
|
||||
} // End of namespace Draci
|
||||
|
Loading…
Reference in New Issue
Block a user