1234 glGMLayout->addWidget(TBW_sharedammo,3,2,1,1); |
1234 glGMLayout->addWidget(TBW_sharedammo,3,2,1,1); |
1235 |
1235 |
1236 TBW_disablegirders = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableGirders.png"); |
1236 TBW_disablegirders = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableGirders.png"); |
1237 TBW_disablegirders->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Girders") + "</b>:<br />" + tr("Disable girders when generating random maps.")); |
1237 TBW_disablegirders->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Girders") + "</b>:<br />" + tr("Disable girders when generating random maps.")); |
1238 glGMLayout->addWidget(TBW_disablegirders,3,3,1,1); |
1238 glGMLayout->addWidget(TBW_disablegirders,3,3,1,1); |
1239 |
1239 |
|
1240 TBW_disablelandobjects = new ToggleButtonWidget(gbGameModes, ":/res/btnDisableLandObjects.png"); |
|
1241 TBW_disablelandobjects->setToolTip("<b>" + ToggleButtonWidget::tr("Disable Land Objects") + "</b>:<br />" + tr("Disable land objects when generating random maps.")); |
|
1242 glGMLayout->addWidget(TBW_disablelandobjects,4,0,1,1); |
|
1243 |
1240 // Right |
1244 // Right |
1241 QLabel * l; |
1245 QLabel * l; |
1242 |
1246 |
1243 l = new QLabel(gbBasicSettings); |
1247 l = new QLabel(gbBasicSettings); |
1244 l->setText(QLabel::tr("Damage Modifier")); |
1248 l->setText(QLabel::tr("Damage Modifier")); |
1417 mapper->addMapping(TBW_randomorder, 12); |
1421 mapper->addMapping(TBW_randomorder, 12); |
1418 mapper->addMapping(TBW_king, 13); |
1422 mapper->addMapping(TBW_king, 13); |
1419 mapper->addMapping(TBW_placehog, 14); |
1423 mapper->addMapping(TBW_placehog, 14); |
1420 mapper->addMapping(TBW_sharedammo, 15); |
1424 mapper->addMapping(TBW_sharedammo, 15); |
1421 mapper->addMapping(TBW_disablegirders, 16); |
1425 mapper->addMapping(TBW_disablegirders, 16); |
1422 mapper->addMapping(SB_DamageModifier, 17); |
1426 mapper->addMapping(TBW_disablelandobjects, 17); |
1423 mapper->addMapping(SB_TurnTime, 18); |
1427 mapper->addMapping(SB_DamageModifier, 18); |
1424 mapper->addMapping(SB_InitHealth, 19); |
1428 mapper->addMapping(SB_TurnTime, 19); |
1425 mapper->addMapping(SB_SuddenDeath, 20); |
1429 mapper->addMapping(SB_InitHealth, 20); |
1426 mapper->addMapping(SB_CaseProb, 21); |
1430 mapper->addMapping(SB_SuddenDeath, 21); |
1427 mapper->addMapping(SB_MinesTime, 22); |
1431 mapper->addMapping(SB_CaseProb, 22); |
1428 mapper->addMapping(SB_Mines, 23); |
1432 mapper->addMapping(SB_MinesTime, 23); |
1429 mapper->addMapping(SB_MineDuds, 24); |
1433 mapper->addMapping(SB_Mines, 24); |
1430 mapper->addMapping(SB_Explosives, 25); |
1434 mapper->addMapping(SB_MineDuds, 25); |
|
1435 mapper->addMapping(SB_Explosives, 26); |
1431 |
1436 |
1432 mapper->toFirst(); |
1437 mapper->toFirst(); |
1433 } |
1438 } |
1434 |
1439 |
1435 void PageScheme::newRow() |
1440 void PageScheme::newRow() |