equal
deleted
inserted
replaced
71 void LocalCFG(const QString & teamname); |
71 void LocalCFG(const QString & teamname); |
72 void LocalCFG(quint8 num); |
72 void LocalCFG(quint8 num); |
73 |
73 |
74 private: |
74 private: |
75 enum GameType { |
75 enum GameType { |
76 gtLocal = 1, |
76 gtLocal = 1, |
77 gtDemo = 2, |
77 gtQLocal = 2, |
78 gtNet = 3 |
78 gtDemo = 3, |
|
79 gtNet = 4 |
79 }; |
80 }; |
80 QTcpServer * IPCServer; |
81 QTcpServer * IPCServer; |
81 QTcpSocket * IPCSocket; |
82 QTcpSocket * IPCSocket; |
82 char msgbuf[MAXMSGCHARS]; |
83 char msgbuf[MAXMSGCHARS]; |
83 QByteArray readbuffer; |
84 QByteArray readbuffer; |
91 GameCFGWidget * gamecfg; |
92 GameCFGWidget * gamecfg; |
92 GameType gameType; |
93 GameType gameType; |
93 |
94 |
94 void Start(); |
95 void Start(); |
95 void SendConfig(); |
96 void SendConfig(); |
|
97 void SendQuickConfig(); |
96 void SendTeamConfig(int index); |
98 void SendTeamConfig(int index); |
97 void ParseMessage(const QByteArray & msg); |
99 void ParseMessage(const QByteArray & msg); |
98 void SendIPC(const char * msg, quint8 len); |
100 void SendIPC(const char * msg, quint8 len); |
99 void SendIPC(const QByteArray & buf); |
101 void SendIPC(const QByteArray & buf); |
100 void SendIPC(const QString & buf); |
102 void SendIPC(const QString & buf); |