314 bcfg << QString("e$casefreq %1").arg(schemeData(30).toInt()).toUtf8(); |
314 bcfg << QString("e$casefreq %1").arg(schemeData(30).toInt()).toUtf8(); |
315 bcfg << QString("e$minestime %1").arg(schemeData(31).toInt() * 1000).toUtf8(); |
315 bcfg << QString("e$minestime %1").arg(schemeData(31).toInt() * 1000).toUtf8(); |
316 bcfg << QString("e$minesnum %1").arg(schemeData(32).toInt()).toUtf8(); |
316 bcfg << QString("e$minesnum %1").arg(schemeData(32).toInt()).toUtf8(); |
317 bcfg << QString("e$minedudpct %1").arg(schemeData(33).toInt()).toUtf8(); |
317 bcfg << QString("e$minedudpct %1").arg(schemeData(33).toInt()).toUtf8(); |
318 bcfg << QString("e$explosives %1").arg(schemeData(34).toInt()).toUtf8(); |
318 bcfg << QString("e$explosives %1").arg(schemeData(34).toInt()).toUtf8(); |
319 bcfg << QString("e$healthprob %1").arg(schemeData(35).toInt()).toUtf8(); |
319 bcfg << QString("e$airmines %1").arg(schemeData(35).toInt()).toUtf8(); |
320 bcfg << QString("e$hcaseamount %1").arg(schemeData(36).toInt()).toUtf8(); |
320 bcfg << QString("e$healthprob %1").arg(schemeData(36).toInt()).toUtf8(); |
321 bcfg << QString("e$waterrise %1").arg(schemeData(37).toInt()).toUtf8(); |
321 bcfg << QString("e$hcaseamount %1").arg(schemeData(37).toInt()).toUtf8(); |
322 bcfg << QString("e$healthdec %1").arg(schemeData(38).toInt()).toUtf8(); |
322 bcfg << QString("e$waterrise %1").arg(schemeData(38).toInt()).toUtf8(); |
323 bcfg << QString("e$ropepct %1").arg(schemeData(39).toInt()).toUtf8(); |
323 bcfg << QString("e$healthdec %1").arg(schemeData(39).toInt()).toUtf8(); |
324 bcfg << QString("e$getawaytime %1").arg(schemeData(40).toInt()).toUtf8(); |
324 bcfg << QString("e$ropepct %1").arg(schemeData(40).toInt()).toUtf8(); |
325 bcfg << QString("e$worldedge %1").arg(schemeData(41).toInt()).toUtf8(); |
325 bcfg << QString("e$getawaytime %1").arg(schemeData(41).toInt()).toUtf8(); |
|
326 bcfg << QString("e$worldedge %1").arg(schemeData(42).toInt()).toUtf8(); |
326 bcfg << QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()).toUtf8(); |
327 bcfg << QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()).toUtf8(); |
327 bcfg << QString("e$feature_size %1").arg(pMapContainer->getFeatureSize()).toUtf8(); |
328 bcfg << QString("e$feature_size %1").arg(pMapContainer->getFeatureSize()).toUtf8(); |
328 bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8(); |
329 bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8(); |
329 if(!schemeData(42).isNull()) |
330 if(!schemeData(43).isNull()) |
330 bcfg << QString("e$scriptparam %1").arg(schemeData(42).toString()).toUtf8(); |
331 bcfg << QString("e$scriptparam %1").arg(schemeData(43).toString()).toUtf8(); |
331 |
332 |
332 |
333 |
333 switch (mapgen) |
334 switch (mapgen) |
334 { |
335 { |
335 case MAPGEN_MAZE: |
336 case MAPGEN_MAZE: |