equal
deleted
inserted
replaced
209 } |
209 } |
210 |
210 |
211 QStringList HWGame::setArguments() |
211 QStringList HWGame::setArguments() |
212 { |
212 { |
213 QStringList arguments; |
213 QStringList arguments; |
|
214 QRect resolution = config->vid_Resolution(); |
214 arguments << cfgdir->absolutePath(); |
215 arguments << cfgdir->absolutePath(); |
215 arguments << resolutions[0][config->vid_Resolution()]; |
216 arguments << QString::number(resolution.width()); |
216 arguments << resolutions[1][config->vid_Resolution()]; |
217 arguments << QString::number(resolution.height()); |
217 arguments << "16"; // bpp |
218 arguments << "16"; // bpp |
218 arguments << QString("%1").arg(ipc_port); |
219 arguments << QString("%1").arg(ipc_port); |
219 arguments << (config->vid_Fullscreen() ? "1" : "0"); |
220 arguments << (config->vid_Fullscreen() ? "1" : "0"); |
220 arguments << (config->isSoundEnabled() ? "1" : "0"); |
221 arguments << (config->isSoundEnabled() ? "1" : "0"); |
221 arguments << tr("en.txt"); |
222 arguments << tr("en.txt"); |