New game scheme option to turn off land objects
authornemo
Sat, 03 Apr 2010 13:55:39 +0000
changeset 3287 4f7b57ed18b6
parent 3286 42bb751cb0ed
child 3288 6956070e9aea
New game scheme option to turn off land objects
QTfrontend/ammoSchemeModel.cpp
QTfrontend/gamecfgwidget.cpp
QTfrontend/hedgewars.qrc
QTfrontend/pages.cpp
QTfrontend/pages.h
QTfrontend/res/btnDisableLandObjects.png
hedgewars/uConsts.pas
hedgewars/uLand.pas
share/hedgewars/Data/Locale/hedgewars_bg.ts
share/hedgewars/Data/Locale/hedgewars_cs.ts
share/hedgewars/Data/Locale/hedgewars_de.ts
share/hedgewars/Data/Locale/hedgewars_en.ts
share/hedgewars/Data/Locale/hedgewars_es.ts
share/hedgewars/Data/Locale/hedgewars_fi.ts
share/hedgewars/Data/Locale/hedgewars_fr.ts
share/hedgewars/Data/Locale/hedgewars_it.ts
share/hedgewars/Data/Locale/hedgewars_ja.ts
share/hedgewars/Data/Locale/hedgewars_pl.ts
share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
share/hedgewars/Data/Locale/hedgewars_ru.ts
share/hedgewars/Data/Locale/hedgewars_sk.ts
share/hedgewars/Data/Locale/hedgewars_sv.ts
share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
share/hedgewars/Data/Locale/hedgewars_uk.ts
share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
--- a/QTfrontend/ammoSchemeModel.cpp	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/ammoSchemeModel.cpp	Sat Apr 03 13:55:39 2010 +0000
@@ -40,15 +40,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(false)         // shared ammo    15
         << QVariant(false)         //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(45)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(5)             // case prob      21
-        << QVariant(3)             //  mines time    22
-        << QVariant(4)             //  landadds      23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(2)             // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(45)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(5)             // case prob      22
+        << QVariant(3)             //  mines time    23
+        << QVariant(4)             //  landadds      24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(2)             // explosives     26
         ;
 
 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
@@ -85,15 +86,16 @@
         << "placehog"         // 14
         << "sharedammo"       // 15
         << "disablegirders"   // 16
-        << "damagefactor"     // 17
-        << "turntime"         // 18
-        << "health"           // 19
-        << "suddendeath"      // 20
-        << "caseprobability"  // 21
-        << "minestime"        // 22
-        << "landadds"         // 23
-        << "minedudpct"       // 24
-        << "explosives"       // 25
+        << "disablelandobjects" // 17
+        << "damagefactor"     // 18
+        << "turntime"         // 19
+        << "health"           // 20
+        << "suddendeath"      // 21
+        << "caseprobability"  // 22
+        << "minestime"        // 23
+        << "landadds"         // 24
+        << "minedudpct"       // 25
+        << "explosives"       // 26
         ;
 
     QList<QVariant> proMode;
@@ -115,15 +117,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(false)         //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(15)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(0)             // case prob      21
-        << QVariant(3)             //  mines time    22
-        << QVariant(4)             //  landadds      23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(2)             // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(15)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(0)             // case prob      22
+        << QVariant(3)             //  mines time    23
+        << QVariant(4)             //  landadds      24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(2)             // explosives     26
         ;
 
     QList<QVariant> shoppa;
@@ -145,15 +148,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(30)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(50)            // sudden death   20
-        << QVariant(1)             // case prob      21
-        << QVariant(3)             //  mines time    22
-        << QVariant(4)             //  landadds      23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(0)             // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(30)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(50)            // sudden death   21
+        << QVariant(1)             // case prob      22
+        << QVariant(3)             //  mines time    23
+        << QVariant(4)             //  landadds      24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(0)             // explosives     26
         ;
 
     QList<QVariant> basketball;
@@ -175,15 +179,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(30)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(0)             // case prob      21
-        << QVariant(3)             //  mines time    22
-        << QVariant(4)             //  landadds      23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(0)             // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(30)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(0)             // case prob      22
+        << QVariant(3)             //  mines time    23
+        << QVariant(4)             //  landadds      24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(0)             // explosives     26
         ;
 
     QList<QVariant> minefield;
@@ -205,15 +210,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
-        << QVariant(150)           // damage modfier 17
-        << QVariant(30)            // turn time      18
-        << QVariant(50)            // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(0)             // case prob      21
-        << QVariant(0)             //  mines time    22
-        << QVariant(80)            //  landadds      23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(0)             // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(150)           // damage modfier 18
+        << QVariant(30)            // turn time      19
+        << QVariant(50)            // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(0)             // case prob      22
+        << QVariant(0)             //  mines time    23
+        << QVariant(80)            //  landadds      24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(0)             // explosives     26
         ;
 
     QList<QVariant> barrelmayhem;
@@ -235,15 +241,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(false)         //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(30)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(0)             // case prob      21
-        << QVariant(0)             // mines time     22
-        << QVariant(0)             // landadds       23
-        << QVariant(0)             // mine dud pct   24
-        << QVariant(80)            // explosives     25
+        << QVariant(false)         // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(30)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(0)             // case prob      22
+        << QVariant(0)             // mines time     23
+        << QVariant(0)             // landadds       24
+        << QVariant(0)             // mine dud pct   25
+        << QVariant(80)            // explosives     26
         ;
 
     QList<QVariant> tunnelhogs;
@@ -265,15 +272,16 @@
         << QVariant(false)         // place hog      14
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
-        << QVariant(100)           // damage modfier 17
-        << QVariant(30)            // turn time      18
-        << QVariant(100)           // init health    19
-        << QVariant(15)            // sudden death   20
-        << QVariant(5)             // case prob      21
-        << QVariant(3)             // mines time     22
-        << QVariant(10)            // landadds       23
-        << QVariant(10)            // mine dud pct   24
-        << QVariant(10)            // explosives     25
+        << QVariant(true)          // disable land objects 17
+        << QVariant(100)           // damage modfier 18
+        << QVariant(30)            // turn time      19
+        << QVariant(100)           // init health    20
+        << QVariant(15)            // sudden death   21
+        << QVariant(5)             // case prob      22
+        << QVariant(3)             // mines time     23
+        << QVariant(10)            // landadds       24
+        << QVariant(10)            // mine dud pct   25
+        << QVariant(10)            // explosives     26
         ;
 
     schemes.append(defaultScheme);
--- a/QTfrontend/gamecfgwidget.cpp	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Sat Apr 03 13:55:39 2010 +0000
@@ -132,6 +132,8 @@
         result |= 0x10000;
     if (schemeData(16).toBool())
         result |= 0x20000;
+    if (schemeData(17).toBool())
+        result |= 0x80000;
 
     return result;
 }
@@ -146,14 +148,14 @@
     QStringList sl;
     sl.append("eseed " + pMapContainer->getCurrentSeed());
     sl.append(QString("e$gmflags %1").arg(getGameFlags()));
-    sl.append(QString("e$damagepct %1").arg(schemeData(17).toInt()));
-    sl.append(QString("e$turntime %1").arg(schemeData(18).toInt() * 1000));
-    sl.append(QString("e$minestime %1").arg(schemeData(22).toInt() * 1000));
-    sl.append(QString("e$landadds %1").arg(schemeData(23).toInt()));
-    sl.append(QString("e$sd_turns %1").arg(schemeData(20).toInt()));
-    sl.append(QString("e$casefreq %1").arg(schemeData(21).toInt()));
-    sl.append(QString("e$minedudpct %1").arg(schemeData(24).toInt()));
-    sl.append(QString("e$explosives %1").arg(schemeData(25).toInt()));
+    sl.append(QString("e$damagepct %1").arg(schemeData(18).toInt()));
+    sl.append(QString("e$turntime %1").arg(schemeData(19).toInt() * 1000));
+    sl.append(QString("e$minestime %1").arg(schemeData(23).toInt() * 1000));
+    sl.append(QString("e$landadds %1").arg(schemeData(24).toInt()));
+    sl.append(QString("e$sd_turns %1").arg(schemeData(21).toInt()));
+    sl.append(QString("e$casefreq %1").arg(schemeData(22).toInt()));
+    sl.append(QString("e$minedudpct %1").arg(schemeData(25).toInt()));
+    sl.append(QString("e$explosives %1").arg(schemeData(26).toInt()));
     sl.append(QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()));
     sl.append(QString("e$mapgen %1").arg(pMapContainer->get_mapgen()));
     sl.append(QString("e$maze_size %1").arg(pMapContainer->get_maze_size()));
--- a/QTfrontend/hedgewars.qrc	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/hedgewars.qrc	Sat Apr 03 13:55:39 2010 +0000
@@ -65,6 +65,7 @@
     <file>res/btnPlaceHog.png</file>
     <file>res/btnSharedAmmo.png</file>
     <file>res/btnDisableGirders.png</file>
+    <file>res/btnDisableLandObjects.png</file>
     <file>res/iconBox.png</file>
     <file>res/iconHealth.png</file>
     <file>res/iconSuddenDeath.png</file>
--- a/QTfrontend/pages.cpp	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/pages.cpp	Sat Apr 03 13:55:39 2010 +0000
@@ -1236,7 +1236,11 @@
     TBW_disablegirders = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableGirders.png");
     TBW_disablegirders->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Girders") + "</b>:<br />" + tr("Disable girders when generating random maps."));
     glGMLayout->addWidget(TBW_disablegirders,3,3,1,1);
-    
+
+    TBW_disablelandobjects = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableLandObjects.png");
+    TBW_disablelandobjects->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Land Objects") + "</b>:<br />" + tr("Disable land objects when generating random maps."));
+    glGMLayout->addWidget(TBW_disablelandobjects,4,0,1,1);
+
     // Right
     QLabel * l;
 
@@ -1419,15 +1423,16 @@
     mapper->addMapping(TBW_placehog, 14);
     mapper->addMapping(TBW_sharedammo, 15);
     mapper->addMapping(TBW_disablegirders, 16);
-    mapper->addMapping(SB_DamageModifier, 17);
-    mapper->addMapping(SB_TurnTime, 18);
-    mapper->addMapping(SB_InitHealth, 19);
-    mapper->addMapping(SB_SuddenDeath, 20);
-    mapper->addMapping(SB_CaseProb, 21);
-    mapper->addMapping(SB_MinesTime, 22);
-    mapper->addMapping(SB_Mines, 23);
-    mapper->addMapping(SB_MineDuds, 24);
-    mapper->addMapping(SB_Explosives, 25);
+    mapper->addMapping(TBW_disablelandobjects, 17);
+    mapper->addMapping(SB_DamageModifier, 18);
+    mapper->addMapping(SB_TurnTime, 19);
+    mapper->addMapping(SB_InitHealth, 20);
+    mapper->addMapping(SB_SuddenDeath, 21);
+    mapper->addMapping(SB_CaseProb, 22);
+    mapper->addMapping(SB_MinesTime, 23);
+    mapper->addMapping(SB_Mines, 24);
+    mapper->addMapping(SB_MineDuds, 25);
+    mapper->addMapping(SB_Explosives, 26);
 
     mapper->toFirst();
 }
--- a/QTfrontend/pages.h	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/pages.h	Sat Apr 03 13:55:39 2010 +0000
@@ -446,6 +446,7 @@
     ToggleButtonWidget * TBW_placehog;
     ToggleButtonWidget * TBW_sharedammo;
     ToggleButtonWidget * TBW_disablegirders;
+    ToggleButtonWidget * TBW_disablelandobjects;
 
     QSpinBox * SB_DamageModifier;
     QSpinBox * SB_TurnTime;
Binary file QTfrontend/res/btnDisableLandObjects.png has changed
--- a/hedgewars/uConsts.pas	Sat Apr 03 13:51:12 2010 +0000
+++ b/hedgewars/uConsts.pas	Sat Apr 03 13:55:39 2010 +0000
@@ -322,6 +322,7 @@
     gfSharedAmmo     = $00010000;
     gfDisableGirders = $00020000;
     gfExplosives     = $00040000;
+    gfDisableLandObjects = $00080000;
     // NOTE: When adding new game flags, ask yourself
     // if a "game start notice" would be useful. If so,
     // add one in uWorld.pas - look for "AddGoal".
--- a/hedgewars/uLand.pas	Sat Apr 03 13:51:12 2010 +0000
+++ b/hedgewars/uLand.pas	Sat Apr 03 13:55:39 2010 +0000
@@ -1270,7 +1270,10 @@
 
 if (GameFlags and gfDisableGirders) <> 0 then hasGirders:= false;
 
-if ((GameFlags and gfForts) = 0) and (Pathz[ptMapCurrent] = '') then AddObjects;
+if ((GameFlags and gfForts) = 0)
+    and ((GameFlags and gfDisableLandObjects) = 0)
+    and (Pathz[ptMapCurrent] = '')
+    then AddObjects;
 
 FreeLandObjects;
 
--- a/share/hedgewars/Data/Locale/hedgewars_bg.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_bg.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -581,6 +581,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1214,6 +1218,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_cs.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_cs.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -586,6 +586,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1219,6 +1223,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_de.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_de.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -599,6 +599,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Platziere keine Bauträger auf Zufallskarten.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1233,6 +1237,10 @@
         <source>Disable Girders</source>
         <translation>Keine Bauträger</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_en.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_en.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -594,6 +594,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Disable girders when generating random maps.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1227,6 +1231,10 @@
         <source>Disable Girders</source>
         <translation>Disable Girders</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_es.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_es.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -598,6 +598,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Deshabilita las vigas en los mapas generados aleatoriamente</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1233,6 +1237,10 @@
         <source>Disable Girders</source>
         <translation>Deshabilitar vigas</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_fi.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_fi.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -594,6 +594,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Kytke palkit pois päältä satunnaisissa kartoissa.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1227,6 +1231,10 @@
         <source>Disable Girders</source>
         <translation>Ei palkkeja</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_fr.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_fr.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -594,6 +594,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1227,6 +1231,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_it.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_it.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -598,6 +598,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Disabilita le travi nella generazione di mappe casuali.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1232,6 +1236,10 @@
         <source>Disable Girders</source>
         <translation>Disabilita Travi</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_ja.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_ja.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -576,6 +576,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1209,6 +1213,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pl.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_pl.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -603,6 +603,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Wyłącz mosty przy tworzeniu losowych map.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1237,6 +1241,10 @@
         <source>Disable Girders</source>
         <translation>Wyłącz mosty</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -581,6 +581,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1214,6 +1218,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pt_PT.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_pt_PT.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -594,6 +594,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Desactivar vigas em mapas gerados aleatoriamente.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1227,6 +1231,10 @@
         <source>Disable Girders</source>
         <translation>Desactivar Vigas</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_ru.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_ru.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -599,6 +599,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Убрать балки из генерируемых карт.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1233,6 +1237,10 @@
         <source>Disable Girders</source>
         <translation>Убрать балки</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_sk.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_sk.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -599,6 +599,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Zakázať trámy pri generovaní náhodných máp.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1233,6 +1237,10 @@
         <source>Disable Girders</source>
         <translation>Vypnúť trámy</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_sv.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_sv.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -594,6 +594,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation>Avaktivera balkar när slumpade kartor genereras.</translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1228,6 +1232,10 @@
         <source>Disable Girders</source>
         <translation>Avaktivera balkar</translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_tr_TR.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_tr_TR.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -584,6 +584,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1217,6 +1221,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_uk.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_uk.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -599,6 +599,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1232,6 +1236,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_zh_CN.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_zh_CN.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -589,6 +589,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1222,6 +1226,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>
--- a/share/hedgewars/Data/Locale/hedgewars_zh_TW.ts	Sat Apr 03 13:51:12 2010 +0000
+++ b/share/hedgewars/Data/Locale/hedgewars_zh_TW.ts	Sat Apr 03 13:55:39 2010 +0000
@@ -589,6 +589,10 @@
         <source>Disable girders when generating random maps.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable land objects when generating random maps.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>PageSelectWeapon</name>
@@ -1222,6 +1226,10 @@
         <source>Disable Girders</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Disable Land Objects</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>binds</name>