QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 15644 3997d85b3d2e
parent 14836 b9437746bffb
equal deleted inserted replaced
15643:8138670eab08 15644:3997d85b3d2e
   344     bcfg << QString("e$minestime %1").arg(schemeData(31).toInt() * 1000).toUtf8();
   344     bcfg << QString("e$minestime %1").arg(schemeData(31).toInt() * 1000).toUtf8();
   345     bcfg << QString("e$minesnum %1").arg(schemeData(32).toInt()).toUtf8();
   345     bcfg << QString("e$minesnum %1").arg(schemeData(32).toInt()).toUtf8();
   346     bcfg << QString("e$minedudpct %1").arg(schemeData(33).toInt()).toUtf8();
   346     bcfg << QString("e$minedudpct %1").arg(schemeData(33).toInt()).toUtf8();
   347     bcfg << QString("e$explosives %1").arg(schemeData(34).toInt()).toUtf8();
   347     bcfg << QString("e$explosives %1").arg(schemeData(34).toInt()).toUtf8();
   348     bcfg << QString("e$airmines %1").arg(schemeData(35).toInt()).toUtf8();
   348     bcfg << QString("e$airmines %1").arg(schemeData(35).toInt()).toUtf8();
   349     bcfg << QString("e$healthprob %1").arg(schemeData(36).toInt()).toUtf8();
   349     bcfg << QString("e$sentries %1").arg(schemeData(36).toInt()).toUtf8();
   350     bcfg << QString("e$hcaseamount %1").arg(schemeData(37).toInt()).toUtf8();
   350     bcfg << QString("e$healthprob %1").arg(schemeData(37).toInt()).toUtf8();
   351     bcfg << QString("e$waterrise %1").arg(schemeData(38).toInt()).toUtf8();
   351     bcfg << QString("e$hcaseamount %1").arg(schemeData(38).toInt()).toUtf8();
   352     bcfg << QString("e$healthdec %1").arg(schemeData(39).toInt()).toUtf8();
   352     bcfg << QString("e$waterrise %1").arg(schemeData(39).toInt()).toUtf8();
   353     bcfg << QString("e$ropepct %1").arg(schemeData(40).toInt()).toUtf8();
   353     bcfg << QString("e$healthdec %1").arg(schemeData(40).toInt()).toUtf8();
   354     bcfg << QString("e$getawaytime %1").arg(schemeData(41).toInt()).toUtf8();
   354     bcfg << QString("e$ropepct %1").arg(schemeData(41).toInt()).toUtf8();
   355     bcfg << QString("e$worldedge %1").arg(schemeData(42).toInt()).toUtf8();
   355     bcfg << QString("e$getawaytime %1").arg(schemeData(42).toInt()).toUtf8();
       
   356     bcfg << QString("e$worldedge %1").arg(schemeData(43).toInt()).toUtf8();
   356     bcfg << QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()).toUtf8();
   357     bcfg << QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()).toUtf8();
   357     bcfg << QString("e$feature_size %1").arg(pMapContainer->getFeatureSize()).toUtf8();
   358     bcfg << QString("e$feature_size %1").arg(pMapContainer->getFeatureSize()).toUtf8();
   358     bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8();
   359     bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8();
   359     if(!schemeData(43).isNull())
   360     if(!schemeData(44).isNull())
   360         bcfg << QString("e$scriptparam %1").arg(schemeData(43).toString()).toUtf8();
   361         bcfg << QString("e$scriptparam %1").arg(schemeData(44).toString()).toUtf8();
   361     else
   362     else
   362         bcfg << QString("e$scriptparam ").toUtf8();
   363         bcfg << QString("e$scriptparam ").toUtf8();
   363 
   364 
   364 
   365 
   365     switch (mapgen)
   366     switch (mapgen)