Changeset 1151
- Timestamp:
- Apr 24, 2008, 12:47:29 AM (17 years ago)
- Location:
- code/branches/console
- Files:
-
- 19 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/CMakeLists.txt
r1133 r1151 63 63 FIND_PACKAGE(ZLIB) 64 64 FIND_PACKAGE(Lua) 65 FIND_PACKAGE(TCL) 65 66 66 67 #Set the search paths for the linking … … 72 73 ${Boost_LIBRARY_DIRS} 73 74 ${Zlib_LIBRARY_DIR} 75 ${TCL_LIBRARY} 74 76 ) 75 77 … … 86 88 ${OGG_INCLUDE_DIR} 87 89 ${Lua_INCLUDE_DIR} 90 ${TCL_INCLUDE_PATH} 88 91 ) 89 92 -
code/branches/console/src/CMakeLists.txt
r1115 r1151 1 1 INCLUDE_DIRECTORIES(.) 2 2 INCLUDE_DIRECTORIES(orxonox) 3 INCLUDE_DIRECTORIES(tolua)4 3 5 4 ADD_SUBDIRECTORY(tolua) 5 ADD_SUBDIRECTORY(cpptcl) 6 6 ADD_SUBDIRECTORY(util) 7 7 ADD_SUBDIRECTORY(core) -
code/branches/console/src/core/CMakeLists.txt
r1133 r1151 26 26 Tickable.cc 27 27 Script.cc 28 TclBind.cc 28 29 ) 29 30 … … 33 34 util 34 35 tolualib 36 cpptcl 35 37 ${Lua_LIBRARIES} 36 38 ${OIS_LIBRARIES} -
code/branches/console/src/core/InputBuffer.cc
r1066 r1151 39 39 { 40 40 //this->bActivated_ = false; 41 this->allowedChars_ = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZäöüÄÖÜ0123456789 \\\"() .:,;_-+*/=!?<>[|]";41 this->allowedChars_ = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZäöüÄÖÜ0123456789 \\\"(){}[]<>.:,;_-+*/=!?|$&%^"; 42 42 this->keyboard_ = InputManager::getSingleton().getKeyboard(); 43 43 this->buffer_ = ""; 44 44 45 45 //this->keyboard_->setEventCallback(this); 46 } 47 48 InputBuffer::InputBuffer(const std::string allowedChars) 49 { 50 //this->bActivated_ = false; 51 this->allowedChars_ = allowedChars; 52 this->keyboard_ = InputManager::getSingleton().getKeyboard(); 53 this->buffer_ = ""; 46 54 } 47 55 /* -
code/branches/console/src/core/InputBuffer.h
r1142 r1151 59 59 public: 60 60 InputBuffer(); 61 InputBuffer(const std::string allowedChars); 61 62 62 63 template <class T> -
code/branches/console/src/orxonox/Orxonox.cc
r1145 r1151 423 423 ib->registerListener(console, &Testconsole::listen, true); 424 424 ib->registerListener(console, &Testconsole::execute, '\r', false); 425 ib->registerListener(console, &Testconsole::execute, '\n', false);426 425 ib->registerListener(console, &Testconsole::hintandcomplete, '\t', true); 427 426 ib->registerListener(console, &Testconsole::clear, '§', true); … … 433 432 ib->registerListener(orxonoxConsole_, &InGameConsole::listen, true); 434 433 ib->registerListener(orxonoxConsole_, &InGameConsole::execute, '\r', false); 435 ib->registerListener(orxonoxConsole_, &InGameConsole::execute, '\n', false);436 434 ib->registerListener(orxonoxConsole_, &InGameConsole::hintandcomplete, '\t', true); 437 435 ib->registerListener(orxonoxConsole_, &InGameConsole::clear, '§', true);
Note: See TracChangeset
for help on using the changeset viewer.