dfhack/plugins/buildingplan-lib.cpp

17 lines
286 B
C++

#include "buildingplan-lib.h"
#include "Core.h"
using namespace DFHack;
2015-02-14 20:53:06 -07:00
bool show_debugging = false;
void debug(const std::string &msg)
{
if (!show_debugging)
2015-02-14 20:53:06 -07:00
return;
color_ostream_proxy out(Core::getInstance().getConsole());
out << "DEBUG: " << msg << endl;
}