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/core/input/InputManager.cc

    r7219 r7236  
    6666    static const std::string __CC_reload_name = "reload";
    6767
    68     _SetConsoleCommand(__CC_InputManager_name, __CC_calibrate_name, &InputManager::calibrate).addShortcut();
    69     _SetConsoleCommand(__CC_InputManager_name, __CC_reload_name,    &InputManager::reload   );
     68    SetConsoleCommand(__CC_InputManager_name, __CC_calibrate_name, &InputManager::calibrate).addShortcut();
     69    SetConsoleCommand(__CC_InputManager_name, __CC_reload_name,    &InputManager::reload   );
    7070
    7171    // Abuse of this source file for the InputHandler
     
    125125        this->updateActiveStates();
    126126
    127         _ModifyConsoleCommand(__CC_InputManager_name, __CC_calibrate_name).setObject(this);
    128         _ModifyConsoleCommand(__CC_InputManager_name, __CC_reload_name).setObject(this);
     127        ModifyConsoleCommand(__CC_InputManager_name, __CC_calibrate_name).setObject(this);
     128        ModifyConsoleCommand(__CC_InputManager_name, __CC_reload_name).setObject(this);
    129129
    130130        CCOUT(4) << "Construction complete." << std::endl;
     
    294294
    295295        // Reset console commands
    296         _ModifyConsoleCommand(__CC_InputManager_name, __CC_calibrate_name).setObject(0);
    297         _ModifyConsoleCommand(__CC_InputManager_name, __CC_reload_name).setObject(0);
     296        ModifyConsoleCommand(__CC_InputManager_name, __CC_calibrate_name).setObject(0);
     297        ModifyConsoleCommand(__CC_InputManager_name, __CC_reload_name).setObject(0);
    298298
    299299        CCOUT(3) << "Destruction complete." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.