equal
deleted
inserted
replaced
65 public slots: |
65 public slots: |
66 void FromNet(const QByteArray & msg); |
66 void FromNet(const QByteArray & msg); |
67 |
67 |
68 private: |
68 private: |
69 enum GameType { |
69 enum GameType { |
70 gtLocal = 1, |
70 gtLocal = 1, |
71 gtQLocal = 2, |
71 gtQLocal = 2, |
72 gtDemo = 3, |
72 gtDemo = 3, |
73 gtNet = 4 |
73 gtNet = 4, |
|
74 gtTraining = 5 |
74 }; |
75 }; |
75 char msgbuf[MAXMSGCHARS]; |
76 char msgbuf[MAXMSGCHARS]; |
76 QString teams[5]; |
77 QString teams[5]; |
77 QString seed; |
78 QString seed; |
78 int TeamCount; |
79 int TeamCount; |
84 |
85 |
85 void commonConfig(); |
86 void commonConfig(); |
86 void SendConfig(); |
87 void SendConfig(); |
87 void SendQuickConfig(); |
88 void SendQuickConfig(); |
88 void SendNetConfig(); |
89 void SendNetConfig(); |
|
90 void SendTrainingConfig(); |
89 void ParseMessage(const QByteArray & msg); |
91 void ParseMessage(const QByteArray & msg); |
90 void SetGameState(GameState state); |
92 void SetGameState(GameState state); |
91 }; |
93 }; |
92 |
94 |
93 #endif |
95 #endif |