equal
deleted
inserted
replaced
38 #include <QTcpSocket> |
38 #include <QTcpSocket> |
39 #include <QRegExp> |
39 #include <QRegExp> |
40 #include <QStringList> |
40 #include <QStringList> |
41 #include <QTimer> |
41 #include <QTimer> |
42 #include "team.h" |
42 #include "team.h" |
43 #include "rndstr.h" |
|
44 |
43 |
45 #define MAGIC_CHAR "\x2f" |
44 #define MAGIC_CHAR "\x2f" |
46 |
45 |
47 struct netTeam |
46 struct netTeam |
48 { |
47 { |
100 QString seed; |
99 QString seed; |
101 bool isOp; |
100 bool isOp; |
102 quint32 opCount; |
101 quint32 opCount; |
103 netTeam teams[5]; |
102 netTeam teams[5]; |
104 quint8 teamsCount; |
103 quint8 teamsCount; |
105 RNDStr seedgen; |
|
106 int playerscnt; |
104 int playerscnt; |
107 int configasks; |
105 int configasks; |
108 QByteArray NetBuffer; |
106 QByteArray NetBuffer; |
109 QTimer * TimerFlusher; |
107 QTimer * TimerFlusher; |
110 GameUIConfig * config; |
108 GameUIConfig * config; |