QTfrontend/game.cpp
changeset 214 3cd2b0f4531e
parent 213 c5480c5b11ff
child 228 7298aaee99b4
equal deleted inserted replaced
213:c5480c5b11ff 214:3cd2b0f4531e
    60 	for (int i = 0; i < TeamCount; i++)
    60 	for (int i = 0; i < TeamCount; i++)
    61 	{
    61 	{
    62 		SendIPC("eaddteam");
    62 		SendIPC("eaddteam");
    63 		LocalCFG(teams[i]);
    63 		LocalCFG(teams[i]);
    64 		QColor clr=m_teamsParams[teams[i]].teamColor;
    64 		QColor clr=m_teamsParams[teams[i]].teamColor;
    65 		SendIPC(QString("ecolor %1").arg(clr.rgb()).toAscii());//&0xFFFFFF
    65 		SendIPC(QString("ecolor %1").arg(clr.rgb()&0xFFFFFF).toAscii());
    66 		for (int t = 0; t < m_teamsParams[teams[i]].numHedgehogs; t++)
    66 		for (int t = 0; t < m_teamsParams[teams[i]].numHedgehogs; t++)
    67 			SendIPC(QString("eadd hh%1 0").arg(t).toAscii());
    67 			SendIPC(QString("eadd hh%1 0").arg(t).toAscii());
    68 	}
    68 	}
    69 }
    69 }
    70 
    70