Changeset 7284 for code/trunk/src/orxonox/overlays/InGameConsole.cc
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/InGameConsole.cc
r6502 r7284 45 45 #include "util/Math.h" 46 46 #include "util/DisplayStringConversions.h" 47 #include "util/ScopedSingletonManager.h" 47 48 #include "core/CoreIncludes.h" 48 49 #include "core/ConfigValueIncludes.h" 49 #include "core/ConsoleCommand.h" 50 #include "core/ScopedSingletonManager.h" 50 #include "core/command/ConsoleCommand.h" 51 51 #include "core/input/InputManager.h" 52 52 #include "core/input/InputState.h" … … 58 58 const float CHAR_WIDTH = 7.45f; // fix this please - determine the char-width dynamically 59 59 60 SetConsoleCommand( InGameConsole, openConsole, true);61 SetConsoleCommand( InGameConsole, closeConsole, true);60 SetConsoleCommand("InGameConsole", "openConsole", &InGameConsole::openConsole).addShortcut(); 61 SetConsoleCommand("InGameConsole", "closeConsole", &InGameConsole::closeConsole).addShortcut(); 62 62 63 63 ManageScopedSingleton(InGameConsole, ScopeID::Graphics, false);
Note: See TracChangeset
for help on using the changeset viewer.