equal
deleted
inserted
replaced
248 QMessageBox::critical(0, tr("Error"), |
248 QMessageBox::critical(0, tr("Error"), |
249 tr("Unable to run engine: %1 (") |
249 tr("Unable to run engine: %1 (") |
250 .arg(error) + bindir->absolutePath() + "/hwengine)"); |
250 .arg(error) + bindir->absolutePath() + "/hwengine)"); |
251 } |
251 } |
252 |
252 |
253 void HWGame::AddTeam(const QString & teamname) |
253 void HWGame::AddTeam(const QString & teamname, unsigned char numHedgedogs) |
254 { |
254 { |
255 if (TeamCount == 5) return; |
255 if (TeamCount == 5) return; |
256 teams[TeamCount] = teamname; |
256 teams[TeamCount] = teamname; |
257 TeamCount++; |
257 TeamCount++; |
|
258 hdNum[teamname]=numHedgedogs; |
258 } |
259 } |
259 |
260 |
260 void HWGame::SaveDemo(const QString & filename) |
261 void HWGame::SaveDemo(const QString & filename) |
261 { |
262 { |
262 QFile demofile(filename); |
263 QFile demofile(filename); |