- Timestamp:
- Nov 2, 2009, 6:06:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/orxonox/gamestates/GSDedicatedClient.h
r5929 r6016 34 34 #include "core/GameState.h" 35 35 #include "network/NetworkPrereqs.h" 36 #include <queue>37 #include <cstring>38 #include <boost/thread/thread.hpp>39 #include <boost/thread/mutex.hpp>40 #include <boost/thread/recursive_mutex.hpp>41 42 struct termios;43 36 44 37 namespace orxonox … … 56 49 57 50 private: 58 void inputThread();59 void printLine();60 void processQueue();61 void setTerminalMode();62 static void resetTerminalMode();63 64 void insertCharacter( unsigned int position, char c );65 void deleteCharacter( unsigned int position );66 67 51 Client* client_; 68 69 boost::thread *inputThread_;70 boost::recursive_mutex inputLineMutex_;71 boost::recursive_mutex inputQueueMutex_;72 bool closeThread_;73 bool cleanLine_;74 unsigned char* commandLine_;75 unsigned int inputIterator_;76 std::queue<std::string> commandQueue_;77 static termios* originalTerminalSettings_;78 79 unsigned int cursorX_;80 unsigned int cursorY_;81 52 }; 82 53 }
Note: See TracChangeset
for help on using the changeset viewer.