Changeset 3591 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 17, 2005, 2:04:02 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/command_node.cc
r3586 r3591 14 14 */ 15 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_COMMAND_NODE 16 17 17 18 #include "command_node.h" … … 112 113 FILE* stream; 113 114 114 printf("Loading key bindings from %s\n", filename);115 PRINTF(4)("Loading key bindings from %s\n", filename); 115 116 116 117 if( filename == NULL) filename = DEFAULT_KEYBIND_FILE; … … 127 128 if( parser.getSection ("Bindings") == -1) 128 129 { 129 printf("Could not find key bindings in %s\n", filename);130 PRINTF(1)("Could not find key bindings in %s\n", filename); 130 131 return; 131 132 } … … 145 146 { 146 147 case 0: 147 printf("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), valuebuf);148 PRINTF(4)("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), valuebuf); 148 149 strcpy (aliases->keys[index[1]], valuebuf); 149 150 break; 150 151 case 1: 151 printf("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), valuebuf);152 PRINTF(4)("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), valuebuf); 152 153 strcpy (aliases->buttons[index[1]], valuebuf); 153 154 break; … … 214 215 while( SDL_PollEvent (&event)) 215 216 { 216 printf("CommandNode::processLocal() =========================got Event\n");217 PRINTF(3)("CommandNode::processLocal() =========================got Event\n"); 217 218 memset (cmd.cmd, 0, CMD_LENGHT); 218 219 switch( event.type) -
orxonox/trunk/src/defs/debug.h
r3590 r3591 39 39 extern int verbose; 40 40 #else 41 // DEFINE MODULES 41 // DEFINE MODULES \\ 42 #define DEBUG_MODULE_ORXONOX 0 42 43 #define DEBUG_MODULE_WORLD 0 43 44 #define DEBUG_MODULE_PNODE 0 44 #define DEBUG_MODULE_TRACKMANAGER 0 45 #define DEBUG_MODULE_WORLD_ENTITY 0 46 #define DEBUG_MODULE_COMMAND_NODE 0 47 48 #define DEBUG_MODULE_IMPORTER 0 49 #define DEBUG_MODULE_TRACK_MANAGER 0 45 50 #define DEBUG_MODULE_LIGHT 0 46 #define DEBUG_MODULE_WORLD_ENTITY 047 51 #define DEBUG_MODULE_PLAYER 0 48 #define DEBUG_MODULE_PNODE 049 #define DEBUG_MODULE_IMPORTER 050 52 #define DEBUG_MODULE_MATH 0 53 54 #define DEBUG_MODULE_NULL_PARENT 0 51 55 52 56 #define verbose DEBUG_SPECIAL_MODULE -
orxonox/trunk/src/lib/coord/null_parent.cc
r3565 r3591 16 16 */ 17 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_NULL_PARENT 18 19 19 20 #include "null_parent.h" … … 38 39 NullParent::NullParent () : PNode (new Vector(0,0,0), NULL) 39 40 { 40 printf("NullParent::NullParent() - making new NullParent, there can only be one..\n");41 PRINTF(4)("NullParent::NullParent() - making new NullParent, there can only be one..\n"); 41 42 this->parent = this; 42 43 this->mode = PNODE_ALL; … … 76 77 { 77 78 78 printf("NullParent::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);79 PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); 79 80 this->absCoordinate = this->relCoordinate; 80 81 this->absDirection = parent->getAbsDir () * this->relDirection; -
orxonox/trunk/src/lib/coord/p_node.cc
r3590 r3591 19 19 20 20 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_PNODE 21 22 21 23 22 #include "p_node.h" … … 413 412 PRINTF(2)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); 414 413 // printf("%s", this->objectName); 415 printf("%d:", this->mode);416 414 if(this->mode & PNODE_MOVEMENT ) 417 415 { -
orxonox/trunk/src/track_manager.cc
r3590 r3591 14 14 */ 15 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_TRACK MANAGER16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_TRACK_MANAGER 17 17 18 18 #include "track_manager.h" … … 672 672 { 673 673 dt /= 1000; 674 printf("CurrentTrackID: %d, LocalTime is: %f, timestep is: %f\n", this->currentTrackElem->ID, this->localTime, dt);674 PRINTF(4)("CurrentTrackID: %d, LocalTime is: %f, timestep is: %f\n", this->currentTrackElem->ID, this->localTime, dt); 675 675 if (this->localTime <= this->firstTrackElem->duration) 676 676 this->jumpTo(this->localTime);
Note: See TracChangeset
for help on using the changeset viewer.