QTfrontend/game.cpp
changeset 602 f7628ebfccde
parent 601 78a68cc4d846
child 603 d7877468653b
equal deleted inserted replaced
601:78a68cc4d846 602:f7628ebfccde
   250 	QStringList arguments;
   250 	QStringList arguments;
   251 	QRect resolution = config->vid_Resolution();
   251 	QRect resolution = config->vid_Resolution();
   252 	arguments << cfgdir->absolutePath();
   252 	arguments << cfgdir->absolutePath();
   253 	arguments << QString::number(resolution.width());
   253 	arguments << QString::number(resolution.width());
   254 	arguments << QString::number(resolution.height());
   254 	arguments << QString::number(resolution.height());
   255 	arguments << "16"; // bpp
   255 	arguments << "32"; // bpp
   256 	arguments << QString("%1").arg(ipc_port);
   256 	arguments << QString("%1").arg(ipc_port);
   257 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   257 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   258 	arguments << (config->isSoundEnabled() ? "1" : "0");
   258 	arguments << (config->isSoundEnabled() ? "1" : "0");
   259 	arguments << tr("en.txt");
   259 	arguments << tr("en.txt");
   260 	arguments << "128"; // sound volume
   260 	arguments << "128"; // sound volume