Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 28, 2010, 1:51:04 AM (14 years ago)
Author:
landauf
Message:

replaced the temporary names of all ConsoleCommand related classes and functions by their real names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/network/Host.cc

    r7219 r7236  
    4040  static const std::string __CC_printRTT_name = "printRTT";
    4141
    42   _SetConsoleCommand("chat", &Host::Chat);
    43   _SetConsoleCommand(__CC_printRTT_name, &Host::printRTT);
     42  SetConsoleCommand("chat", &Host::Chat);
     43  SetConsoleCommand(__CC_printRTT_name, &Host::printRTT);
    4444
    4545  // Host*               Host::instance_=0;
     
    5555  //   assert(instance_==0);
    5656    instances_s.push_back(this);
    57     _ModifyConsoleCommand(__CC_printRTT_name).setObject(this);
     57    ModifyConsoleCommand(__CC_printRTT_name).setObject(this);
    5858    this->bIsActive_ = false;
    5959  }
     
    6767    assert( std::find( instances_s.begin(), instances_s.end(), this )!=instances_s.end() );
    6868    instances_s.erase(std::find( instances_s.begin(), instances_s.end(), this ));
    69     _ModifyConsoleCommand(__CC_printRTT_name).setObject(0);
     69    ModifyConsoleCommand(__CC_printRTT_name).setObject(0);
    7070  }
    7171
Note: See TracChangeset for help on using the changeset viewer.