- Timestamp:
- May 19, 2006, 11:58:19 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r7223 r7725 1 2006-05-19 Benjamin Grauerb <bensch@orxonox.net> 2 New Design of the Executor (constant instead of linear time) 3 4 2006-05-18 Patrick Boenzli <patrick@orxonox.net> 5 Total redesign of the Collision-Detection Engine. 6 7 2006-05-17 Benjamin Grauer <bensch@orxonox.net> 8 Introduced new QT-style Gui. 9 1 10 2006-03-12 orxonox <info@orxonox.net> 2 11 Mayor switch to std::string (almost complete) … … 5 14 MoviePlayer 6 15 HeightMap 7 New SpaceShip Helicopter and Hover 16 New SpaceShip Helicopter and Hover 8 17 PowerUps 9 18 Water -
trunk/src/lib/coord/p_node.cc
r7428 r7725 29 29 30 30 #include "synchronizeable.h" 31 32 using namespace std;33 34 31 35 32 /** … … 595 592 void PNode::removeNode() 596 593 { 597 list<PNode*>::iterator child = this->children.begin();598 list<PNode*>::iterator reparenter;594 std::list<PNode*>::iterator child = this->children.begin(); 595 std::list<PNode*>::iterator reparenter; 599 596 while (child != this->children.end()) 600 597 { … … 857 854 if(!this->children.empty() && (this->bActive || this->parentMode & PNODE_UPDATE_CHILDREN_IF_INACTIVE )) 858 855 { 859 list<PNode*>::iterator child;856 std::list<PNode*>::iterator child; 860 857 for (child = this->children.begin(); child != this->children.end(); child ++) 861 858 { … … 888 885 { 889 886 nodes++; 890 list<PNode*>::const_iterator child;887 std::list<PNode*>::const_iterator child; 891 888 for (child = this->children.begin(); child != this->children.end(); child ++) 892 889 (*child)->countChildNodes(nodes); … … 928 925 if (depth >= 2 || depth == 0) 929 926 { 930 list<PNode*>::const_iterator child;927 std::list<PNode*>::const_iterator child; 931 928 for (child = this->children.begin(); child != this->children.end(); child ++) 932 929 { … … 1006 1003 /* rotate the current color in HSV space around 20 degree */ 1007 1004 Vector childColor = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(20,0,.0)); 1008 list<PNode*>::const_iterator child;1005 std::list<PNode*>::const_iterator child; 1009 1006 for (child = this->children.begin(); child != this->children.end(); child ++) 1010 1007 { … … 1176 1173 // int n = children.size(); 1177 1174 // //check if camera is in children 1178 // for (std:: list<PNode*>::const_iterator it = children.begin(); it!=children.end(); it++)1175 // for (std::std::list<PNode*>::const_iterator it = children.begin(); it!=children.end(); it++) 1179 1176 // { 1180 1177 // if ( (*it)->isA(CL_CAMERA) ) -
trunk/src/lib/coord/p_node.h
r7221 r7725 178 178 // DEBUG // 179 179 void countChildNodes(int& nodes) const; 180 void debugNodeSC (unsigned int depth = 1, unsigned int level = 0) { this->debugNode(depth, level); };181 180 void debugNode (unsigned int depth = 1, unsigned int level = 0) const; 182 181 void debugDraw(unsigned int depth = 1, float size = 1.0, const Vector& color = Vector(1, 0, 0), unsigned int level = 0) const; -
trunk/src/lib/shell/some_shell_commands.cc
r7457 r7725 17 17 * @file some_shell_commands.cc 18 18 * @brief All the ShellCommands, that should not pollute the SourceCode. 19 * 20 * This File is here, so that we do not have to pollute the Library-files 21 * with unneccessary other modules. 22 * Like this 19 23 */ 20 24 … … 27 31 28 32 #include "class_list.h" 29 SHELL_COMMAND _STATIC(debug, ClassList, ClassList::debugS)33 SHELL_COMMAND(debug, ClassList, ClassList::debugS) 30 34 ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") 31 35 ->defaultValues(MT_NULL, 1); 32 36 33 37 #include "p_node.h" 34 SHELL_COMMAND(debugNode, PNode, debugNode SC);38 SHELL_COMMAND(debugNode, PNode, debugNode); 35 39 SHELL_COMMAND(setPosition, PNode, setAbsCoor); 36 40 -
trunk/src/lib/util/executor/executor.h
r7722 r7725 78 78 79 79 #include "executor/executor_functional.h" 80 #define EXECUTOR_FUNCTIONAL_USE_CONST 81 #include "executor/executor_functional.h" 80 82 #define EXECUTOR_FUNCTIONAL_USE_STATIC 81 83 #include "executor/executor_functional.h" -
trunk/src/lib/util/executor/executor_functional.h
r7724 r7725 65 65 #undef __EXECUTOR_FUNCTIONAL_NAME 66 66 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_const 67 #undef EXECUTOR_FUNCTIONAL_USE_CONST68 67 #endif 69 68 … … 80 79 #define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER *functionPointer 81 80 82 #undef EXECUTOR_FUNCTIONAL_USE_STATIC83 81 #endif /* EXECUTOR_FUNCTIONAL_USE_STATIC */ 84 82 … … 426 424 #undef __EXECUTOR_FUNCTIONAL_FUNCTION_EXEC 427 425 #undef __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER 426 427 #ifdef EXECUTOR_FUNCTIONAL_USE_CONST 428 #undef EXECUTOR_FUNCTIONAL_USE_CONST 429 #endif 430 #ifdef EXECUTOR_FUNCTIONAL_USE_STATIC 431 #undef EXECUTOR_FUNCTIONAL_USE_STATIC 432 #endif
Note: See TracChangeset
for help on using the changeset viewer.