Changeset 6007 for code/branches/console/src/libraries/core
- Timestamp:
- Oct 30, 2009, 5:26:28 PM (15 years ago)
- Location:
- code/branches/console/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/libraries/core/IOConsole.cc
r6006 r6007 54 54 #ifdef ORXONOX_PLATFORM_UNIX 55 55 56 termios* IOConsole::originalTerminalSettings_;57 58 56 namespace EscapeMode 59 57 { … … 69 67 : shell_(new Shell("IOConsole", false)) 70 68 , buffer_(shell_->getInputBuffer()) 69 , originalTerminalSettings_(new termios()) 71 70 , bStatusPrinted_(false) 72 71 { 73 this->originalTerminalSettings_ = new termios();74 72 this->setTerminalMode(); 75 73 this->shell_->registerListener(this); -
code/branches/console/src/libraries/core/IOConsole.h
r6004 r6007 55 55 56 56 void setTerminalMode(); 57 staticvoid resetTerminalMode();57 void resetTerminalMode(); 58 58 int getTerminalSize(int* x, int* y); 59 59 … … 72 72 Shell* shell_; 73 73 InputBuffer* buffer_; 74 static termios*originalTerminalSettings_;74 termios* originalTerminalSettings_; 75 75 bool bPrintStatusLine_; 76 76 bool bStatusPrinted_; -
code/branches/console/src/libraries/core/PathConfig.cc
r5929 r6007 263 263 putenv(const_cast<char*>(("PATH=" + pathVariable + ";" + modulePath_.string()).c_str())); 264 264 265 // Make sure the path exists, otherwise don't load modules 266 if (!boost::filesystem::exists(modulePath_)) 267 return modulePaths; 268 265 269 boost::filesystem::directory_iterator file(modulePath_); 266 270 boost::filesystem::directory_iterator end;
Note: See TracChangeset
for help on using the changeset viewer.