equal
deleted
inserted
replaced
214 } |
214 } |
215 |
215 |
216 |
216 |
217 void HWNewNet::ConfigAsked() |
217 void HWNewNet::ConfigAsked() |
218 { |
218 { |
219 QString _msg=QString("CONFIGANSWER")+delimeter; |
219 onSeedChanged(m_pGameCFGWidget->getCurrentSeed()); |
220 _msg+=m_pGameCFGWidget->getCurrentSeed()+delimeter; |
220 onMapChanged(m_pGameCFGWidget->getCurrentMap()); |
221 _msg+=m_pGameCFGWidget->getCurrentMap()+delimeter; |
221 onThemeChanged(m_pGameCFGWidget->getCurrentTheme()); |
222 _msg+=m_pGameCFGWidget->getCurrentTheme()+delimeter; |
222 onInitHealthChanged(m_pGameCFGWidget->getInitHealth()); |
223 _msg+=QString("%1").arg(m_pGameCFGWidget->getInitHealth())+delimeter; |
223 onTurnTimeChanged(m_pGameCFGWidget->getTurnTime()); |
224 _msg+=QString("%1").arg(m_pGameCFGWidget->getTurnTime()); |
|
225 RawSendNet(_msg); |
|
226 } |
224 } |
227 |
225 |
228 void HWNewNet::RunGame() |
226 void HWNewNet::RunGame() |
229 { |
227 { |
230 HWGame * game = new HWGame(config, 0); |
228 HWGame * game = new HWGame(config, 0); |