QTfrontend/game.cpp
changeset 7713 3833741d8752
parent 7665 e556b44f5bd8
child 7794 ab7b94c03bc9
equal deleted inserted replaced
7712:10e7eed3f180 7713:3833741d8752
   123 
   123 
   124     HWProto::addStringToBuffer(teamscfg, "TL");
   124     HWProto::addStringToBuffer(teamscfg, "TL");
   125     HWProto::addStringToBuffer(teamscfg, QString("etheme %1")
   125     HWProto::addStringToBuffer(teamscfg, QString("etheme %1")
   126                                .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data().toString() : "steel"));
   126                                .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data().toString() : "steel"));
   127     HWProto::addStringToBuffer(teamscfg, "eseed " + QUuid::createUuid().toString());
   127     HWProto::addStringToBuffer(teamscfg, "eseed " + QUuid::createUuid().toString());
       
   128 
       
   129     HWProto::addStringToBuffer(teamscfg, "e$template_filter 2");
   128 
   130 
   129     HWTeam team1;
   131     HWTeam team1;
   130     team1.setDifficulty(0);
   132     team1.setDifficulty(0);
   131     team1.setColor(0);
   133     team1.setColor(0);
   132     team1.setNumHedgehogs(4);
   134     team1.setNumHedgehogs(4);