Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2009, 6:06:25 PM (16 years ago)
Author:
rgrieder
Message:

Removed console from GSDedicated and GSDedicatedClient.

File:
1 edited

Legend:

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

    r5929 r6016  
    3232#include "OrxonoxPrereqs.h"
    3333
    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 
    4034#include "core/GameState.h"
    4135#include "network/NetworkPrereqs.h"
    4236
    43 struct termios;
    44 
    4537namespace orxonox
    4638{
    47 
    4839    class _OrxonoxExport GSDedicated : public GameState
    4940    {
     
    5748
    5849    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 
    6850        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_;
    8251    };
    8352}
Note: See TracChangeset for help on using the changeset viewer.