Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2008, 4:14:21 PM (16 years ago)
Author:
landauf
Message:

added more SetConsoleCommand macros like SetConsoleCommandAlias to use a different name than the real functionname for the command. this provides more comfort as it reduces the need of creating your own ConsoleCommand-object via *Generic macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/core/TclBind.cc

    r1586 r1594  
    3939namespace orxonox
    4040{
    41     SetConsoleCommandShortcutGeneric(tcl, createConsoleCommand(createFunctor(&TclBind::tcl), "tcl"));
    42     SetConsoleCommandShortcutGeneric(bgerror, createConsoleCommand(createFunctor(&TclBind::bgerror), "bgerror"));
     41    SetConsoleCommandShortcut(TclBind, tcl);
     42    SetConsoleCommandShortcut(TclBind, bgerror);
    4343
    4444    TclBind::TclBind()
Note: See TracChangeset for help on using the changeset viewer.