Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 28, 2010, 12:02:03 AM (14 years ago)
Author:
landauf
Message:
  • console commands "setMMSoundPath" and "printObjects" are now hidden.
  • added "unhide" command to show hidden commands
  • extended auto-completion capability by allowing multi-word ArgumentCompleter and more
  • added new auto-completion function that allows other commands as argument for a command (for example "delay [time] [command]")
Location:
code/branches/consolecommands3/src/orxonox/gamestates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/orxonox/gamestates/GSMainMenu.cc

    r7219 r7233  
    6060    _SetConsoleCommand(__CC_startDedicated_name,       &GSMainMenu::startDedicated ).deactivate();
    6161    _SetConsoleCommand(__CC_startMainMenu_name,        &GSMainMenu::startMainMenu  ).deactivate();
    62     _SetConsoleCommand(__CC_setMainMenuSoundPath_name, &GSMainMenu::setMainMenuSoundPath);
     62    _SetConsoleCommand(__CC_setMainMenuSoundPath_name, &GSMainMenu::setMainMenuSoundPath).hide();
    6363
    6464    GSMainMenu::GSMainMenu(const GameStateInfo& info)
  • code/branches/consolecommands3/src/orxonox/gamestates/GSRoot.cc

    r7219 r7233  
    4545    static const std::string __CC_pause_name = "pause";
    4646
    47     _SetConsoleCommand("printObjects", &GSRoot::printObjects);
     47    _SetConsoleCommand("printObjects", &GSRoot::printObjects).hide();
    4848    _SetConsoleCommand(__CC_setTimeFactor_name, &GSRoot::setTimeFactor).accessLevel(AccessLevel::Master).defaultValues(1.0);
    4949    _SetConsoleCommand(__CC_pause_name,         &GSRoot::pause        ).accessLevel(AccessLevel::Master);
Note: See TracChangeset for help on using the changeset viewer.