Changeset 5634 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Nov 18, 2005, 6:09:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r5555 r5634 584 584 switch (this->parameters[i]) 585 585 { 586 case ParameterBool:586 case MT_BOOL: 587 587 this->defaultValue[i].setInt(va_arg(defaultList, int)); 588 588 break; 589 case ParameterChar:589 case MT_CHAR: 590 590 this->defaultValue[i].setChar((char)va_arg(defaultList, int)); 591 591 break; 592 case ParameterString:592 case MT_STRING: 593 593 this->defaultValue[i].setString(va_arg(defaultList, char*)); 594 594 break; 595 case ParameterInt:595 case MT_INT: 596 596 this->defaultValue[i].setInt(va_arg(defaultList, int)); 597 597 break; 598 case ParameterUInt:598 /* case MT_UINT: 599 599 this->defaultValue[i].setInt((int)va_arg(defaultList, unsigned int)); 600 break; 601 case ParameterFloat:600 break;*/ 601 case MT_FLOAT: 602 602 this->defaultValue[i].setFloat(va_arg(defaultList, double)); 603 603 break; 604 case ParameterLong:604 /* case MT_LONG: 605 605 this->defaultValue[i].setInt((int) va_arg(defaultList, long)); 606 break; 606 break;*/ 607 607 default: 608 608 break; … … 654 654 const char* ShellCommandBase::paramToString(long parameter) 655 655 { 656 switch (parameter) 656 return MultiType::MultiTypeToString((MT_Type)parameter); 657 // FIXME 658 /* switch (parameter) 657 659 { 658 660 case ParameterBool: … … 680 682 return "NULL"; 681 683 break; 682 } 683 } 684 }*/ 685 }
Note: See TracChangeset
for help on using the changeset viewer.