equal
deleted
inserted
replaced
256 } |
256 } |
257 |
257 |
258 void HWForm::SimpleGame() |
258 void HWForm::SimpleGame() |
259 { |
259 { |
260 game = new HWGame(ui.CBResolution->currentIndex(), ui.CBFullscreen->isChecked()); |
260 game = new HWGame(ui.CBResolution->currentIndex(), ui.CBFullscreen->isChecked()); |
261 game->AddTeam("team"); |
261 game->AddTeam("DefaultTeam"); |
262 game->AddTeam("team"); |
262 game->AddTeam("DefaultTeam"); |
263 game->StartLocal(); |
263 game->StartLocal(); |
264 } |
264 } |
265 |
265 |
266 void HWForm::CBGrave_activated(const QString & gravename) |
266 void HWForm::CBGrave_activated(const QString & gravename) |
267 { |
267 { |
346 hwnet->JoinGame("#hw"); |
346 hwnet->JoinGame("#hw"); |
347 } |
347 } |
348 |
348 |
349 void HWForm::NetAddTeam() |
349 void HWForm::NetAddTeam() |
350 { |
350 { |
351 HWTeam team("team"); |
351 HWTeam team("DefaultTeam"); |
352 team.SetCfgDir(cfgdir.absolutePath()); |
352 team.SetCfgDir(cfgdir.absolutePath()); |
353 team.LoadFromFile(); |
353 team.LoadFromFile(); |
354 hwnet->AddTeam(team); |
354 hwnet->AddTeam(team); |
355 } |
355 } |
356 |
356 |