QTfrontend/game.cpp
changeset 297 279e10ec31b4
parent 296 607912ccc5af
child 306 7b61834edcf6
equal deleted inserted replaced
296:607912ccc5af 297:279e10ec31b4
   192 	arguments << QString("%1").arg(ipc_port);
   192 	arguments << QString("%1").arg(ipc_port);
   193 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   193 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   194 	arguments << (config->isSoundEnabled() ? "1" : "0");
   194 	arguments << (config->isSoundEnabled() ? "1" : "0");
   195 	arguments << tr("en.txt");
   195 	arguments << tr("en.txt");
   196 	arguments << "128"; // sound volume
   196 	arguments << "128"; // sound volume
   197 	arguments << "1024"; // max fps
   197 	arguments << QString::number(config->timerInterval());
   198 	arguments << datadir->absolutePath();
   198 	arguments << datadir->absolutePath();
   199 	arguments << "1"; // show fps
   199 	arguments << (config->isShowFPSEnabled() ? "1" : "0");
   200 	return arguments;
   200 	return arguments;
   201 }
   201 }
   202 
   202 
   203 void HWGame::AddTeam(const QString & teamname, HWTeamTempParams teamParams)
   203 void HWGame::AddTeam(const QString & teamname, HWTeamTempParams teamParams)
   204 {
   204 {