Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6415 in orxonox.OLD for branches/network/src/lib/coord


Ignore:
Timestamp:
Jan 6, 2006, 3:23:36 PM (19 years ago)
Author:
bensch
Message:

network: some debug functions

Location:
branches/network/src/lib/coord
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/coord/p_node.cc

    r6402 r6415  
    2929
    3030#include "synchronizeable.h"
     31
     32#include "shell_command.h"
     33SHELL_COMMAND(debugNode, PNode, debugNodeSC);
    3134
    3235using namespace std;
  • branches/network/src/lib/coord/p_node.h

    r6402 r6415  
    174174  // DEBUG //
    175175  void countChildNodes(int& nodes) const;
     176  void debugNodeSC (unsigned int depth = 1, unsigned int level = 0) { this->debugNode(depth, level); };
    176177  void debugNode (unsigned int depth = 1, unsigned int level = 0) const;
    177178  void debugDraw(unsigned int depth = 1, float size = 1.0, const Vector& color = Vector(1, 0, 0), unsigned int level = 0) const;
Note: See TracChangeset for help on using the changeset viewer.