QTfrontend/game.cpp
changeset 759 8da05b316d81
parent 753 40fc0deb388f
child 788 00720357601f
equal deleted inserted replaced
758:bebfae2063b3 759:8da05b316d81
   249 	QStringList arguments;
   249 	QStringList arguments;
   250 	QRect resolution = config->vid_Resolution();
   250 	QRect resolution = config->vid_Resolution();
   251 	arguments << cfgdir->absolutePath();
   251 	arguments << cfgdir->absolutePath();
   252 	arguments << QString::number(resolution.width());
   252 	arguments << QString::number(resolution.width());
   253 	arguments << QString::number(resolution.height());
   253 	arguments << QString::number(resolution.height());
   254 	arguments << "16";//QString::number(config->bitDepth()); // bpp
   254 	arguments << QString::number(config->bitDepth()); // bpp
   255 	arguments << QString("%1").arg(ipc_port);
   255 	arguments << QString("%1").arg(ipc_port);
   256 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   256 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   257 	arguments << (config->isSoundEnabled() ? "1" : "0");
   257 	arguments << (config->isSoundEnabled() ? "1" : "0");
   258 	arguments << tr("en.txt");
   258 	arguments << tr("en.txt");
   259 	arguments << "128"; // sound volume
   259 	arguments << "128"; // sound volume