QTfrontend/game.cpp
changeset 2443 fececcbc2189
parent 2428 6800f8aa0184
child 2468 0b62498c201a
equal deleted inserted replaced
2442:228757f6c54d 2443:fececcbc2189
   281 	arguments << QString::number(resolution.height());
   281 	arguments << QString::number(resolution.height());
   282 	arguments << QString::number(config->bitDepth()); // bpp
   282 	arguments << QString::number(config->bitDepth()); // bpp
   283 	arguments << QString("%1").arg(ipc_port);
   283 	arguments << QString("%1").arg(ipc_port);
   284 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   284 	arguments << (config->vid_Fullscreen() ? "1" : "0");
   285 	arguments << (config->isSoundEnabled() ? "1" : "0");
   285 	arguments << (config->isSoundEnabled() ? "1" : "0");
       
   286 #ifdef _WIN32
   286 	arguments << (config->isSoundHardware() ? "1" : "0");
   287 	arguments << (config->isSoundHardware() ? "1" : "0");
       
   288 #else
       
   289 	arguments << "0";
       
   290 #endif
   287 	arguments << tr("en.txt");
   291 	arguments << tr("en.txt");
   288 	arguments << QString::number(config->volume()); // sound volume
   292 	arguments << QString::number(config->volume()); // sound volume
   289 	arguments << QString::number(config->timerInterval());
   293 	arguments << QString::number(config->timerInterval());
   290 	arguments << datadir->absolutePath();
   294 	arguments << datadir->absolutePath();
   291 	arguments << (config->isShowFPSEnabled() ? "1" : "0");
   295 	arguments << (config->isShowFPSEnabled() ? "1" : "0");