From 56e180b292e9dc39a92e16ca3a06aca544427469 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 15 Aug 2016 10:33:30 +0200 Subject: DIRECTOR: Register debug channels --- engines/director/lingo/lingo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/director/lingo/lingo.cpp') diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index f3faf975fe..0ccf5a992b 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -20,6 +20,7 @@ * */ +#include "common/debug-channels.h" #include "common/str-array.h" #include "director/lingo/lingo.h" @@ -82,6 +83,9 @@ Symbol::Symbol() { Lingo::Lingo(DirectorEngine *vm) : _vm(vm) { g_lingo = this; + DebugMan.addDebugChannel(kDebugLingoExec, "lingoexec", "Lingo Execution"); + DebugMan.addDebugChannel(kDebugLingoCompile, "lingocompile", "Lingo Compilation"); + for (const EventHandlerType *t = &eventHanlerDescs[0]; t->handler != kEventNone; ++t) _eventHandlerTypes[t->handler] = t->name; -- cgit v1.2.3