equal
deleted
inserted
replaced
143 HWProto::addStringToBuffer(teamscfg, QString("etheme %1") |
143 HWProto::addStringToBuffer(teamscfg, QString("etheme %1") |
144 .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data(ThemeModel::ActualNameRole).toString() : "steel")); |
144 .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data(ThemeModel::ActualNameRole).toString() : "steel")); |
145 HWProto::addStringToBuffer(teamscfg, "eseed " + QUuid::createUuid().toString()); |
145 HWProto::addStringToBuffer(teamscfg, "eseed " + QUuid::createUuid().toString()); |
146 |
146 |
147 HWProto::addStringToBuffer(teamscfg, "e$template_filter 2"); |
147 HWProto::addStringToBuffer(teamscfg, "e$template_filter 2"); |
|
148 HWProto::addStringToBuffer(teamscfg, "e$feature_size "+QString::number(rand()%18+4)); |
148 |
149 |
149 HWTeam team1; |
150 HWTeam team1; |
150 team1.setDifficulty(0); |
151 team1.setDifficulty(0); |
151 team1.setColor(0); |
152 team1.setColor(0); |
152 team1.setNumHedgehogs(4); |
153 team1.setNumHedgehogs(4); |