Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2009, 9:17:40 PM (15 years ago)
Author:
scheusso
Message:

more advanced input for the dedicated server console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/orxonox/gamestates/GSDedicated.h

    r3119 r3121  
    3939#include <boost/thread/recursive_mutex.hpp>
    4040
     41struct termios;
     42
    4143namespace orxonox
    4244{
     45   
    4346    class _OrxonoxExport GSDedicated : public GameState
    4447    {
     
    5558        void printLine();
    5659        void processQueue();
     60        void setTerminalMode();
     61        static void resetTerminalMode();
    5762       
    5863        Server*                 server_;
     
    6065       
    6166        boost::thread           *inputThread_;
    62 //         boost::recursive_mutex  inputLineMutex_;
     67        boost::recursive_mutex  inputLineMutex_;
    6368        boost::recursive_mutex  inputQueueMutex_;
    6469        bool                    closeThread_;
     
    6772        unsigned int            inputIterator_;
    6873        std::queue<std::string> commandQueue_;
    69        
     74        static termios*         originalTerminalSettings_;
    7075    };
    7176}
Note: See TracChangeset for help on using the changeset viewer.