- Timestamp:
- Aug 28, 2010, 1:51:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/input/InputManager.cc
r7219 r7236 66 66 static const std::string __CC_reload_name = "reload"; 67 67 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 ); 70 70 71 71 // Abuse of this source file for the InputHandler … … 125 125 this->updateActiveStates(); 126 126 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); 129 129 130 130 CCOUT(4) << "Construction complete." << std::endl; … … 294 294 295 295 // 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); 298 298 299 299 CCOUT(3) << "Destruction complete." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.