#include "export.h"
+#include "globaldefs.h"
#include "debugging/debugging.h"
#include "ibrush.h"
#include "iscenegraph.h"
#include "../../radiant/brush.h"
// for limNames
-#define MAX_MATERIAL_NAME 20
+const int MAX_MATERIAL_NAME = 20;
/*
Abstract baseclass for modelexporters
// add face to current group
current->faces.push_back( &f );
-#ifdef _DEBUG
+#if GDEF_DEBUG
globalOutputStream() << "Added Face to group " << current->name.c_str() << "\n";
#endif
}
name = tmp.substr( last_slash + 1, tmp.length() - last_slash );
}
-#ifdef _DEBUG
+#if GDEF_DEBUG
globalOutputStream() << "Last: " << (const unsigned int) last_slash << " " << "length: " << (const unsigned int)tmp.length() << "Name: " << name.c_str() << "\n";
#endif
}
return false;
}
- outMtl << "# Wavefront material file exported with NetRadiants brushexport plugin.\n";
+ outMtl << "# Wavefront material file exported with " RADIANT_NAME " brushexport plugin.\n";
outMtl << "# Material Count: " << (const Unsigned)materials.size() << "\n\n";
for ( std::set<std::string>::const_iterator it( materials.begin() ); it != materials.end(); ++it )
{