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