Commit 787009d0 authored by bitplane's avatar bitplane

Updated dev-cpp project, changed x loader debug messages to use _X_READER_DEBUG define

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@939 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 38a6a821
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
#include "IVideoDriver.h" #include "IVideoDriver.h"
#include "IReadFile.h" #include "IReadFile.h"
#define _XREADER_DEBUG
//#define BETTER_MESHBUFFER_SPLITTING_FOR_X
namespace irr namespace irr
{ {
namespace scene namespace scene
...@@ -361,7 +364,7 @@ bool CXMeshFileLoader::parseDataObject() ...@@ -361,7 +364,7 @@ bool CXMeshFileLoader::parseDataObject()
return false; return false;
// parse specific object // parse specific object
#ifdef _DEBUG #ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject:", objectName.c_str() ); os::Printer::log("debug DataObject:", objectName.c_str() );
#endif #endif
...@@ -483,7 +486,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent ) ...@@ -483,7 +486,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
if (!joint) if (!joint)
{ {
#ifdef _DEBUG #ifdef _XREADER_DEBUG
os::Printer::log("creating joint ", name.c_str()); os::Printer::log("creating joint ", name.c_str());
#endif #endif
joint=AnimatedMesh->createJoint(Parent); joint=AnimatedMesh->createJoint(Parent);
...@@ -491,7 +494,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent ) ...@@ -491,7 +494,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
} }
else else
{ {
#ifdef _DEBUG #ifdef _XREADER_DEBUG
os::Printer::log("using joint ", name.c_str()); os::Printer::log("using joint ", name.c_str());
#endif #endif
if (Parent) if (Parent)
...@@ -505,7 +508,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent ) ...@@ -505,7 +508,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
{ {
core::stringc objectName = getNextToken(); core::stringc objectName = getNextToken();
#ifdef _DEBUG #ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject in frame:", objectName.c_str() ); os::Printer::log("debug DataObject in frame:", objectName.c_str() );
#endif #endif
...@@ -729,7 +732,7 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh) ...@@ -729,7 +732,7 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
{ {
core::stringc objectName = getNextToken(); core::stringc objectName = getNextToken();
#ifdef _DEBUG #ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject in mesh:", objectName.c_str() ); os::Printer::log("debug DataObject in mesh:", objectName.c_str() );
#endif #endif
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment