equal
deleted
inserted
replaced
108 arguments << "0"; // sound |
108 arguments << "0"; // sound |
109 arguments << "0"; // music |
109 arguments << "0"; // music |
110 arguments << "0"; // sound volume |
110 arguments << "0"; // sound volume |
111 arguments << QString::number(config->timerInterval()); |
111 arguments << QString::number(config->timerInterval()); |
112 arguments << datadir->absolutePath(); |
112 arguments << datadir->absolutePath(); |
113 arguments << (config->isShowFPSEnabled() ? "1" : "0"); |
113 arguments << "0"; // fps |
114 arguments << (config->isAltDamageEnabled() ? "1" : "0"); |
114 arguments << (config->isAltDamageEnabled() ? "1" : "0"); |
115 arguments << config->netNick().toUtf8().toBase64(); |
115 arguments << config->netNick().toUtf8().toBase64(); |
116 arguments << QString::number(config->translateQuality()); |
116 arguments << QString::number(config->translateQuality()); |
117 arguments << QString::number(config->stereoMode()); |
117 arguments << QString::number(config->stereoMode()); |
118 arguments << HWGame::tr("en.txt"); |
118 arguments << HWGame::tr("en.txt"); |
122 arguments << config->AVFormat(); |
122 arguments << config->AVFormat(); |
123 arguments << config->videoCodec(); |
123 arguments << config->videoCodec(); |
124 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. |
124 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. |
125 // The library does support using both at once after all. |
125 // The library does support using both at once after all. |
126 arguments << QString::number(config->rec_Bitrate()*1024); |
126 arguments << QString::number(config->rec_Bitrate()*1024); |
127 arguments << (config->recordAudio()? config->audioCodec() : "no"); |
127 arguments << (config->recordAudio() ? config->audioCodec() : "no"); |
128 |
128 |
129 return arguments; |
129 return arguments; |
130 } |
130 } |