#include <msp/io/print.h>
#include <msp/strings/lexicalcast.h>
#include "gldbg.h"
-#include "glprint.h"
+#include "gldecoder.h"
#include "tool.h"
using namespace std;
tools.push_back((*i)->create(*this));
}
+GlDbg::~GlDbg()
+{
+ for(list<Tool *>::iterator i=tools.begin(); i!=tools.end(); ++i)
+ delete *i;
+}
+
int GlDbg::main()
{
catch_signal(SIGINT);
set_loop_mode(TICK_BUSY);
IO::print("GLdbg 0.0\n");
- IO::print("Copyright © 2009 Mikkosoft Productions\n");
+ IO::print("Copyright © 2009-2010 Mikkosoft Productions\n");
IO::print("Type \"help\" for a list of commands\n");
Application::main();
break;
for(list<Tool *>::iterator i=tools.begin(); i!=tools.end(); ++i)
(*i)->decode(data, size);
- tracer.decode(data, len);
- glstate.decode(data, len);
- profiler.decode(data, len);
buf_offset += size;
}
if(buf_offset>8192)