QTfrontend/game.cpp
changeset 604 2f1165467a66
parent 603 d7877468653b
child 607 26a91a9f5514
equal deleted inserted replaced
603:d7877468653b 604:2f1165467a66
   126 	HWProto::addStringToBuffer(teamscfg, "etheme avematan");
   126 	HWProto::addStringToBuffer(teamscfg, "etheme avematan");
   127 
   127 
   128 	HWTeam team1(0);
   128 	HWTeam team1(0);
   129 	team1.difficulty = 0;
   129 	team1.difficulty = 0;
   130 	team1.teamColor = QColor(65535);
   130 	team1.teamColor = QColor(65535);
   131 	team1.numHedgehogs = 4;
   131 	team1.numHedgehogs = 1;
   132 	HWProto::addStringListToBuffer(teamscfg,
   132 	HWProto::addStringListToBuffer(teamscfg,
   133 			team1.TeamGameConfig(100));
   133 			team1.TeamGameConfig(100));
   134 
   134 
   135 	QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt");
   135 	QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt");
   136 	if(!file.open(QFile::ReadOnly))
   136 	if(!file.open(QFile::ReadOnly))