Changeset 5659 in orxonox.OLD for trunk/src/lib/util/executor
- Timestamp:
- Nov 20, 2005, 11:31:18 PM (19 years ago)
- Location:
- trunk/src/lib/util/executor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/executor.cc
r5641 r5659 59 59 // What Parameters we have got 60 60 for (unsigned int i = 0; i < paramCount; i++) 61 this->defaultValue[i].setType(va_arg(parameterList, int)); 61 { 62 int type = va_arg(parameterList, int); 63 this->defaultValue[i].setType(type); 64 } 62 65 } 63 66 … … 79 82 executor->defaultValue = new MultiType[this->paramCount]; 80 83 for (unsigned int i = 0; i < this->paramCount; i++) 81 executor->defaultValue[i] = this->defaultValue[i]; 84 { 85 executor->defaultValue[i] = this->defaultValue[i]; 86 // printf("1: %s 2: %s\n", MultiType::MultiTypeToString(this->defaultValue[i].getType()), MultiType::MultiTypeToString(executor->defaultValue[i].getType())); 87 } 82 88 } 83 89 -
trunk/src/lib/util/executor/executor_specials.h
r5652 r5659 28 28 */ 29 29 ExecutorXML(void(T::*function)(const TiXmlElement*), const TiXmlElement* root, const char* paramName) 30 : Executor(1 )30 : Executor(1, MT_EXT1) 31 31 { 32 32 PRINTF(4)("Loading %s from XML-element %p\n", paramName, root);
Note: See TracChangeset
for help on using the changeset viewer.