Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9709 in orxonox.OLD for branches/new_class_id/src/lib/shell


Ignore:
Timestamp:
Aug 31, 2006, 10:51:08 PM (18 years ago)
Author:
bensch
Message:

orxonox/branches/new_class_id: new_class ID working, adapdet many classes, and reinvented some of the ClassID stuff

Location:
branches/new_class_id/src/lib/shell
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/shell/Makefile.am

    r7428 r9709  
    1818                shell_buffer.h \
    1919                shell_input.h \
     20                shell_command_class.h \
    2021                shell_command.h \
    21                 shell_command_class.h \
    2222                shell_completion.h \
    2323                shell_completion_plugin.h
  • branches/new_class_id/src/lib/shell/shell_command.cc

    r9702 r9709  
    2626namespace OrxShell
    2727{
     28  NewObjectListDefinition(ShellCommand);
    2829  SHELL_COMMAND(debug, ShellCommandClass, help);
    29   NewObjectListDefinition(ShellCommand);
    3030
    3131
  • branches/new_class_id/src/lib/shell/shell_completion.cc

    r9697 r9709  
    141141      type = ClassCompletion;
    142142
    143     /// FIXME
    144 //     if (!this->addToCompleteList(*boList, objectBegin, type))
    145 //       return false;
     143    NewObjectListBase::base_list list;
     144    objectList->getBaseObjectList(&list);
     145
     146    if (!this->addToCompleteList(list, objectBegin, type))
     147     return false;
    146148
    147149    return true;
  • branches/new_class_id/src/lib/shell/some_shell_commands.cc

    r8623 r9709  
    3434  SHELL_COMMAND(nick, PlayerStats, shellNick)->setAlias("nick");
    3535
    36 #include "class_list.h"
    37   SHELL_COMMAND(debug, ClassList, ClassList::debugS)
    38       ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output")
    39       ->defaultValues(MT_NULL, 1);
     36// #include "class_list.h"
     37//   SHELL_COMMAND(debug, ClassList, ClassList::debugS)
     38//       ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output")
     39//       ->defaultValues(MT_NULL, 1);
    4040
    4141#include "p_node.h"
Note: See TracChangeset for help on using the changeset viewer.