summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-07 21:13:34 +0000
committerrubidium <rubidium@openttd.org>2010-12-07 21:13:34 +0000
commit00d3428edf44ed756c755fb5ce7a32903fdcaf7a (patch)
treef3d0c175f48ec462abbc1a27d0f6c0a982e0d4f1 /src
parent5dbd80ff3cfe9dc161a1d4e1c2cf940e67330a4d (diff)
downloadopenttd-00d3428edf44ed756c755fb5ce7a32903fdcaf7a.tar.xz
(svn r21431) -Cleanup: remove the build-while-paused cheat
Diffstat (limited to 'src')
-rw-r--r--src/cheat_gui.cpp2
-rw-r--r--src/cheat_type.h4
-rw-r--r--src/lang/english.txt1
3 files changed, 2 insertions, 5 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index 7c39175a7..bda776884 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -136,7 +136,6 @@ enum CheatNumbers {
CHT_CHANGE_COMPANY, ///< Switch company.
CHT_EXTRA_DYNAMITE, ///< Dynamite anything.
CHT_CROSSINGTUNNELS, ///< Allow tunnels to cross each other.
- CHT_BUILD_IN_PAUSE, ///< Allow building while paused.
CHT_NO_JETCRASH, ///< Disable jet-airplane crashes.
CHT_SETUP_PROD, ///< Allow manually editing of industry production.
CHT_SWITCH_CLIMATE, ///< Switch climate.
@@ -170,7 +169,6 @@ static const CheatEntry _cheats_ui[] = {
{SLE_UINT8, STR_CHEAT_CHANGE_COMPANY, &_local_company, &_cheats.switch_company.been_used, &ClickChangeCompanyCheat },
{SLE_BOOL, STR_CHEAT_EXTRA_DYNAMITE, &_cheats.magic_bulldozer.value, &_cheats.magic_bulldozer.been_used, NULL },
{SLE_BOOL, STR_CHEAT_CROSSINGTUNNELS, &_cheats.crossing_tunnels.value, &_cheats.crossing_tunnels.been_used, NULL },
- {SLE_BOOL, STR_CHEAT_BUILD_IN_PAUSE, &_cheats.build_in_pause.value, &_cheats.build_in_pause.been_used, NULL },
{SLE_BOOL, STR_CHEAT_NO_JETCRASH, &_cheats.no_jetcrash.value, &_cheats.no_jetcrash.been_used, NULL },
{SLE_BOOL, STR_CHEAT_SETUP_PROD, &_cheats.setup_prod.value, &_cheats.setup_prod.been_used, &ClickSetProdCheat },
{SLE_UINT8, STR_CHEAT_SWITCH_CLIMATE, &_settings_game.game_creation.landscape, &_cheats.switch_climate.been_used, &ClickChangeClimateCheat },
diff --git a/src/cheat_type.h b/src/cheat_type.h
index 411634585..8cb438fed 100644
--- a/src/cheat_type.h
+++ b/src/cheat_type.h
@@ -30,12 +30,12 @@ struct Cheats {
Cheat switch_company; ///< change to another company
Cheat money; ///< get rich or poor
Cheat crossing_tunnels; ///< allow tunnels that cross each other
- Cheat build_in_pause; ///< build while in pause mode
+ Cheat dummy1; ///< empty cheat (build while in pause mode)
Cheat no_jetcrash; ///< no jet will crash on small airports anymore
Cheat switch_climate; ///< change the climate of the map
Cheat change_date; ///< changes date ingame
Cheat setup_prod; ///< setup raw-material production in game
- Cheat dummy; ///< empty cheat (enable running el-engines on normal rail)
+ Cheat dummy2; ///< empty cheat (enable running el-engines on normal rail)
};
extern Cheats _cheats;
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 010f50efe..d3e5ad604 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1427,7 +1427,6 @@ STR_CHEAT_MONEY :{LTBLUE}Increas
STR_CHEAT_CHANGE_COMPANY :{LTBLUE}Playing as company: {ORANGE}{COMMA}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magic bulldozer (remove industries, unmovable objects): {ORANGE}{STRING1}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnels may cross each other: {ORANGE}{STRING1}
-STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Build while in pause mode: {ORANGE}{STRING1}
STR_CHEAT_NO_JETCRASH :{LTBLUE}Jetplanes will not crash (frequently) on small airports: {ORANGE}{STRING}
STR_CHEAT_SWITCH_CLIMATE :{LTBLUE}Switch climate: {ORANGE}{STRING}
STR_CHEAT_SWITCH_CLIMATE_TEMPERATE_LANDSCAPE :Temperate landscape