Remove old, unused debug code

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-08-21 17:32:13 +00:00
parent da87d76f1c
commit be402f35d9

View File

@ -93,26 +93,6 @@ void GrandPrixWin::loadedFromFile()
// ------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------
void traverse(scene::ISceneNode* curr, int level=0)
{
for (int n=0; n<level; n++) std::cout << "| ";
unsigned int type = curr->getType();
const char* ptr = (const char*)&type;
std::cout << "+ " << curr->getName() << " ("
<< char(ptr[0]) << char(ptr[1])
<< char(ptr[2]) << char(ptr[3]) << std::endl;
const core::list< scene::ISceneNode * >& children = curr->getChildren();
for (core::list<scene::ISceneNode*>::ConstIterator it=children.begin(); it != children.end(); it++)
{
traverse(*it, level+1);
}
} // traverse
// -------------------------------------------------------------------------------------
void GrandPrixWin::init() void GrandPrixWin::init()
{ {
Screen::init(); Screen::init();