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/KeyBinderManager.cc

    r7219 r7236  
    4848    static const std::string __CC_tunbind_name = "tunbind";
    4949
    50     _SetConsoleCommand(__CC_keybind_name,  &KeyBinderManager::keybind).defaultValues("");
    51     _SetConsoleCommand(__CC_tkeybind_name, &KeyBinderManager::tkeybind).defaultValues("");
    52     _SetConsoleCommand(__CC_unbind_name,   &KeyBinderManager::unbind).defaultValues("");
    53     _SetConsoleCommand(__CC_tunbind_name,  &KeyBinderManager::tunbind).defaultValues("");
     50    SetConsoleCommand(__CC_keybind_name,  &KeyBinderManager::keybind).defaultValues("");
     51    SetConsoleCommand(__CC_tkeybind_name, &KeyBinderManager::tkeybind).defaultValues("");
     52    SetConsoleCommand(__CC_unbind_name,   &KeyBinderManager::unbind).defaultValues("");
     53    SetConsoleCommand(__CC_tunbind_name,  &KeyBinderManager::tunbind).defaultValues("");
    5454
    5555    KeyBinderManager::KeyBinderManager()
     
    6262
    6363        // keybind console commands
    64         _ModifyConsoleCommand(__CC_keybind_name ).setObject(this);
    65         _ModifyConsoleCommand(__CC_tkeybind_name).setObject(this);
    66         _ModifyConsoleCommand(__CC_unbind_name  ).setObject(this);
    67         _ModifyConsoleCommand(__CC_tunbind_name ).setObject(this);
     64        ModifyConsoleCommand(__CC_keybind_name ).setObject(this);
     65        ModifyConsoleCommand(__CC_tkeybind_name).setObject(this);
     66        ModifyConsoleCommand(__CC_unbind_name  ).setObject(this);
     67        ModifyConsoleCommand(__CC_tunbind_name ).setObject(this);
    6868
    6969        // Load default key binder
     
    7878
    7979        // Reset console commands
    80         _ModifyConsoleCommand(__CC_keybind_name ).setObject(0);
    81         _ModifyConsoleCommand(__CC_tkeybind_name).setObject(0);
    82         _ModifyConsoleCommand(__CC_unbind_name  ).setObject(0);
    83         _ModifyConsoleCommand(__CC_tunbind_name ).setObject(0);
     80        ModifyConsoleCommand(__CC_keybind_name ).setObject(0);
     81        ModifyConsoleCommand(__CC_tkeybind_name).setObject(0);
     82        ModifyConsoleCommand(__CC_unbind_name  ).setObject(0);
     83        ModifyConsoleCommand(__CC_tunbind_name ).setObject(0);
    8484    }
    8585
Note: See TracChangeset for help on using the changeset viewer.