summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-16 18:46:54 +0000
committerdarkvater <darkvater@openttd.org>2004-08-16 18:46:54 +0000
commit255a1ad941f4f852b65257cf179294ee4f5acdd4 (patch)
tree78b7848d85aeb8e0b2fcfea40a576585f834d11f
parent4587ede35d8ada9f15c1a8ba5e2362cc870c0073 (diff)
downloadopenttd-255a1ad941f4f852b65257cf179294ee4f5acdd4.tar.xz
(svn r68) -Fix: [1009621] build in pause is now a cheat instead of a patch (truesatan)
-Fix: Placing/editing signs signs is possible in paused mode
-rw-r--r--lang/american.txt3
-rw-r--r--lang/czech.txt3
-rw-r--r--lang/danish.txt4
-rw-r--r--lang/dutch.txt4
-rw-r--r--lang/english.txt5
-rw-r--r--lang/french.txt5
-rw-r--r--lang/galician.txt5
-rw-r--r--lang/german.txt4
-rw-r--r--lang/hungarian.txt4
-rw-r--r--lang/italian.txt4
-rw-r--r--lang/norwegian.txt4
-rw-r--r--lang/polish.txt4
-rw-r--r--lang/slovak.txt6
-rw-r--r--lang/swedish.txt4
-rw-r--r--misc_gui.c4
-rw-r--r--settings.c2
-rw-r--r--settings_gui.c2
-rw-r--r--ttd.c2
-rw-r--r--variables.h3
-rw-r--r--window.c6
20 files changed, 43 insertions, 35 deletions
diff --git a/lang/american.txt b/lang/american.txt
index a0173ae91..61bf4488f 100644
--- a/lang/american.txt
+++ b/lang/american.txt
@@ -950,7 +950,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Allow bribing the local authority: {ORANGE}
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}New depot finding: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Nonuniform stations: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}New algorithm for train pathfinding: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Build while in pause mode: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Always allow small airports: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}A train is lost if no progress is made for: {ORANGE}{STRING} days
@@ -1009,6 +1009,7 @@ STR_CHEAT_MONEY :{LTBLUE}Increase money by {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Playing as player: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magic bulldozer (remove industries, unmovables): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnels may cross each other: {ORANGE}{STRING}
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Build while in pause mode: {ORANGE}{STRING}
STR_SORT_BY_POPULATION :{BLACK}Population
diff --git a/lang/czech.txt b/lang/czech.txt
index 6a9dc43fd..15b76da1b 100644
--- a/lang/czech.txt
+++ b/lang/czech.txt
@@ -950,7 +950,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Povolit úplatek místní sprave: {ORANGE}{STRI
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Nové vyhledávání dep: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Nejednolité stanice: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Nový algoritmus pro hledání cesty vlaku: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Povolit stavbu pri pauze: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Malá letiste se budou moci stále stavet: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Vlak je povazovan za ztracený, pokud nedojede do: {ORANGE}{STRING} dní
@@ -1009,6 +1009,7 @@ STR_CHEAT_MONEY :{LTBLUE}Navysit peníze o {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Hrajes jako hrac: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magický buldozer (odstraní prumysl a neodstranitelné predmety): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunely se mohou krizit: {ORANGE}{STRING}
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Povolit stavbu pri pauze: {ORANGE}{STRING}
STR_SORT_BY_POPULATION :{BLACK}Populace
diff --git a/lang/danish.txt b/lang/danish.txt
index 1eba2ea25..8b1192869 100644
--- a/lang/danish.txt
+++ b/lang/danish.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Tillad bestikkelse af de lokale myndigheder
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Find nyt depot: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Ikke uniforme stationer: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Ny stifindingsalgoritme til tog: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Tillad at bygge mens pause er aktiveret: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Tillad altid smĺ lufthavne: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Et tog er vćk hvis der ikke forekommer fremskridt inden for: {ORANGE}{STRING} dage
@@ -977,7 +977,7 @@ STR_CHEAT_MONEY :{LTBLUE}Forřg kassebeholdning med {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Spil som spiller: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magisk bulldozer (nedriv ting, som normalt ikke kan fjernes): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunneler kan krydse hinanden: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Tillad at bygge mens pause er aktiveret: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Navn
STR_TOWNDIR_POPULATION :{BLACK}Indbyggertal
diff --git a/lang/dutch.txt b/lang/dutch.txt
index 1699dfbc3..381336f2b 100644
--- a/lang/dutch.txt
+++ b/lang/dutch.txt
@@ -930,7 +930,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Omkopen van de gemeente toestaan: {ORANGE}
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Nieuwe methode om het depot te vinden: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Vrij gevormde stations: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Nieuw algorithme voor routeplanning van treinen: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Bouwen in gepauzeerde toestand: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Altijd kleine vliegvelden toestaan: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Een trein is verdwaald als er geen voortgang is binnen: {ORANGE}{STRING} dagen
@@ -980,7 +980,7 @@ STR_CHEAT_MONEY :{LTBLUE}Verhoog geld met {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Spelend als speler: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magische bulldozer (industrieën en andere onverplaatsbare objecten verwijderen): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnels mogen elkaar kruisen: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Bouwen in gepauzeerde toestand: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Naam
STR_TOWNDIR_POPULATION :{BLACK}Bevolking
diff --git a/lang/english.txt b/lang/english.txt
index 83c9deb1b..25b8cf8e9 100644
--- a/lang/english.txt
+++ b/lang/english.txt
@@ -958,7 +958,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Allow bribing the local authority: {ORANGE}
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}New depot finding: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Nonuniform stations: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}New algorithm for train pathfinding: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Build while in pause mode: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Always allow small airports: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}A train is lost if no progress is made for: {ORANGE}{STRING} days
@@ -1022,6 +1022,7 @@ STR_CHEAT_MONEY :{LTBLUE}Increase money by {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Playing as player: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magic bulldozer (remove industries, unmovables): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnels may cross each other: {ORANGE}{STRING}
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Build while in pause mode: {ORANGE}{STRING}
STR_SORT_BY_POPULATION :{BLACK}Population
@@ -1719,7 +1720,7 @@ STR_6814_TRAIN_REVERSING :{LTBLUE}Train reversing: {ORANGE}{STRING}
STR_6815_DISASTERS :{LTBLUE}Disasters: {ORANGE}{STRING}
STR_16816_CITY_APPROVAL :{LTBLUE}City council's attitude towards area restructuring: {ORANGE}{STRING}
############ range for difficulty settings ends
-
+
STR_26816_NONE :None
STR_6816_LOW :Low
STR_6817_NORMAL :Normal
diff --git a/lang/french.txt b/lang/french.txt
index 2393f6bea..4509bafbb 100644
--- a/lang/french.txt
+++ b/lang/french.txt
@@ -957,7 +957,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Permettre la corruption de la municipalité:
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Nouvelle recherche de dépôt: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Gares non uniformes: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Nouvel algorithme de recherche de route: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Construire pendant le mode pause: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Toujours permettre les petits aéroports: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Un train est perdu si aucun progrčs n'est fait pendant: {ORANGE}{STRING} jours
@@ -1021,8 +1021,9 @@ STR_CHEAT_MONEY :{LTBLUE}Augmenter l'argent de {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Jouer en tant que joueur n°: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Bulldozer magique (enlčvement industries et objets fixes): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Les tunnels peuvent se croiser: {ORANGE}{STRING}
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Construire pendant le mode pause: {ORANGE}{STRING}
+
-STR_SORT_BY_POPULATION :{BLACK}Population
STR_HEADING_FOR_CHECKPOINT :{LTBLUE}En route pour {CHECKPOINT}
STR_HEADING_FOR_CHECKPOINT_VEL :{LTBLUE}En route pour {CHECKPOINT}, {VELOCITY}
diff --git a/lang/galician.txt b/lang/galician.txt
index 3924630ac..112742e01 100644
--- a/lang/galician.txt
+++ b/lang/galician.txt
@@ -950,7 +950,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Permiti-la chantaxe as autoridades locales:
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Novo sistema para atopar depósito: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Estacións non uniformes: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Novo algoritmo para atopa-las rutas para os trens: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Permiti-la construcción en modo pausa: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Permitir sempre aeroportos pequenos: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Un tren está perdido se non progresa durante: {ORANGE}{STRING} días
@@ -1009,6 +1009,7 @@ STR_CHEAT_MONEY :{LTBLUE}Incrementa-lo dińeiro en {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Xogar coma xogador: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Escavadora máxica(Elimina industrias, non eliminables): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Os tuneis poden cruzarse entre eles: {ORANGE}{STRING}
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Permiti-la construcción en modo pausa: {ORANGE}{STRING}
STR_SORT_BY_POPULATION :{BLACK}Poboación
@@ -2477,4 +2478,4 @@ STR_B004_UFO_LANDS_NEAR :{BLACK}{BIGFONT}ˇAterrizaxe dun 'OVNI cerca de {TOW
STR_B005_COAL_MINE_SUBSIDENCE_LEAVES :{BLACK}{BIGFONT}ˇAfundimento dunha Mina de Carbón deixa un rastro de destrucción cerca de {TOWN}!
STR_BRIBE_FAILED :{WHITE}O tento de suborno foi
-STR_BRIBE_FAILED_2 :{WHITE}descuberto por un investigador rexional. \ No newline at end of file
+STR_BRIBE_FAILED_2 :{WHITE}descuberto por un investigador rexional.
diff --git a/lang/german.txt b/lang/german.txt
index ec4749b19..e45abe5e8 100644
--- a/lang/german.txt
+++ b/lang/german.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Bestechen der Stadtverwaltung erlauben: {OR
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Neues Wegfinden für Depots: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Ungleichmäßige Bahnhöfe: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Neuen Algorithmus für die Züge zur Wegfindung benutzen: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Im pausiertem Spiel bauen: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Kleine Flughäfen immer erlauben: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Ein Zug ist verloren, wenn kein Fortschritt seit: {ORANGE}{STRING} Tagen
@@ -978,7 +978,7 @@ STR_CHEAT_MONEY :{LTBLUE}Kontostand um {CURRENCY64} erhöhen
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Folgenden Spieler steuern: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Mächtigeres Abrisswerkzeug: {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnel dürfen sich kreuzen {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Im pausiertem Spiel bauen: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Name
STR_TOWNDIR_POPULATION :{BLACK}Einwohner
diff --git a/lang/hungarian.txt b/lang/hungarian.txt
index 50e5328ce..d7bdb35df 100644
--- a/lang/hungarian.txt
+++ b/lang/hungarian.txt
@@ -920,7 +920,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Önkormányzatok lefizethetősége: {ORANGE}{S
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Új garázskeresés: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Különböző vágánytípusok engedélyezése egy állomáson: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Új algoritmus a vonatok útkeresésére: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Építés szünet módban: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Mindig engedélyezze a kis repülőtereket: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}A vonat eltévedt, ha az úton töltött napok száma legalább : {ORANGE}{STRING} nap
@@ -961,6 +961,8 @@ STR_CONFIG_PATCHES_INT32 :{INT32}
STR_CONFIG_PATCHES_QUERY_CAPT :{WHITE}Válassz beállítási értéket
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Építés szünet módban: {ORANGE}{STRING}
+
STR_TOWNDIR_NAME :{BLACK}Név
STR_TOWNDIR_POPULATION :{BLACK}Lakosság
STR_TOWNDIR_SORT_TIP :{BLACK}Válassz rendezési sorrendet
diff --git a/lang/italian.txt b/lang/italian.txt
index 5b539cff8..7a504c452 100644
--- a/lang/italian.txt
+++ b/lang/italian.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Consenti corruzione autoritŕ locale: {ORANG
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Nuovo sistema individuazione deposito: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Stazioni non uniformi: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Nuovo algoritmo pathfinding dei treni: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Consenti costruzione quando in pausa: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Consenti sempre costruzione piccoli aeroporti: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Un treno č ritenuto perso se non si ottengono progressi dopo: {ORANGE}{STRING} giorni
@@ -978,7 +978,7 @@ STR_CHEAT_MONEY :{LTBLUE}Aumenta soldi di {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Gioca come giocatore: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Bulldozer magico (rimuove industrie e altri): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}I tunnel possono incrociarsi tra loro: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Consenti costruzione quando in pausa: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Nome
STR_TOWNDIR_POPULATION :{BLACK}Popolazione
diff --git a/lang/norwegian.txt b/lang/norwegian.txt
index d1c62d31a..a98229b4e 100644
--- a/lang/norwegian.txt
+++ b/lang/norwegian.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Tillate bestikkelser av kommunestyret: {ORA
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Ny togstall lokalisering: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Ikke ensartet stasjoner: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Ny algoritme for togs kjřrerute: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Tillate bygging i pause modus: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Alltid tillate bygging av smĺ flyplasser: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Et tog har kjřrt seg vil vist de ikke har kommet lengre pĺ ordrelisten etter:{ORANGE}{STRING} dager
@@ -978,7 +978,7 @@ STR_CHEAT_MONEY :{LTBLUE}Řk pengebeholdningen med {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Spiller som spiller: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magisk bulldoser (fjern industrier, ufjernbare ting): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tuneller kan krysse hverandre: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Tillate bygging i pause modus: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Navn
STR_TOWNDIR_POPULATION :{BLACK}Innbyggere
diff --git a/lang/polish.txt b/lang/polish.txt
index 7a30e88d1..dfa071f63 100644
--- a/lang/polish.txt
+++ b/lang/polish.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Pozwol dawac lapowki lok. wladz
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Szukanie nowych zajezdni: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Niejednolite stacje: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Nowy algorytm szukania drogi dla pociagow: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Budowanie w czasie pauzy: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Zawsze zezwalaj budowac male lotniska: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Pociag zagubil sie jesli nie porusza sie przez: {ORANGE}{STRING} dni
@@ -979,7 +979,7 @@ STR_CHEAT_MONEY :{LTBLUE}Zwieksz ilosc pieniedzy o {CURR
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Gra jako gracz: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magiczny buldozer (usuwanie przedsiebiorstw etc.): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunele moga sie krzyzowac: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Budowanie w czasie pauzy: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Nazwa
STR_TOWNDIR_POPULATION :{BLACK}Populacja
diff --git a/lang/slovak.txt b/lang/slovak.txt
index e640e940b..42e48faf0 100644
--- a/lang/slovak.txt
+++ b/lang/slovak.txt
@@ -930,7 +930,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Umoznit podplacanie miestnej spravy: {ORANGE
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Nove vyhladavanie depa: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Roznorode stanice: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Novy algoritmus pre hladanie smeru: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Umoznit vystavbu v pauze: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Vzdy povolit male letiska: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Vlak sa strati pokial nic nedosiahne za: {ORANGE}{STRING} dni
@@ -979,7 +979,7 @@ STR_CHEAT_MONEY :{LTBLUE}Zvysit hotovost o {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Hrat ako hrac: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}Magicky buldozer (odstrani priemysel, budovy): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunely sa mozu navzajom krizit: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Umoznit vystavbu v pauze: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Meno
STR_TOWNDIR_POPULATION :{BLACK}Populacia
@@ -2353,4 +2353,4 @@ STR_B004_UFO_LANDS_NEAR :{BLACK}{BIGFONT}'UFO' pristalo nedaleko {TOWN}!
STR_B005_COAL_MINE_SUBSIDENCE_LEAVES :{BLACK}{BIGFONT}Zaval v uholnej bani nedaleko {TOWN}!
STR_BRIBE_FAILED :{WHITE}Vas pokus o uplatok bol odhaleny
-STR_BRIBE_FAILED_2 :{WHITE}miestnym vysetrovatelom. \ No newline at end of file
+STR_BRIBE_FAILED_2 :{WHITE}miestnym vysetrovatelom.
diff --git a/lang/swedish.txt b/lang/swedish.txt
index fb1673d36..9806b854d 100644
--- a/lang/swedish.txt
+++ b/lang/swedish.txt
@@ -929,7 +929,7 @@ STR_CONFIG_PATCHES_BRIBE :{LTBLUE}Tillĺt mutning av den lokala kommunen: {ORA
STR_CONFIG_PATCHES_NEW_DEPOT_FINDING :{LTBLUE}Ny algoritm för att hitta depĺ: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NONUNIFORM_STATIONS :{LTBLUE}Icke-rektangulära stationer: {ORANGE}{STRING}
STR_CONFIG_PATCHES_NEW_TRAIN_PATHFIND :{LTBLUE}Ny algoritm för att hitta rutt: {ORANGE}{STRING}
-STR_CONFIG_PATCHES_BUILD_IN_PAUSE :{LTBLUE}Byggnation i pause-läge: {ORANGE}{STRING}
+
STR_CONFIG_PATCHES_SMALL_AIRPORTS :{LTBLUE}Tillĺt alltid smĺ flygplatser: {ORANGE}{STRING}
STR_CONFIG_PATCHES_LOST_TRAIN_DAYS :{LTBLUE}Ett tĺg är vilse om ingen vidare framgĺng är nĺdd under: {ORANGE}{STRING} dagar
@@ -978,7 +978,7 @@ STR_CHEAT_MONEY :{LTBLUE}Öka pengar genom att {CURRENCY64}
STR_CHEAT_CHANGE_PLAYER :{LTBLUE}Spelar som: {ORANGE}{COMMA16}
STR_CHEAT_EXTRA_DYNAMITE :{LTBLUE}trimmad bulldozer (ta bort industrier, fyrar etc.): {ORANGE}{STRING}
STR_CHEAT_CROSSINGTUNNELS :{LTBLUE}Tunnlar kan korsa varandra: {ORANGE}{STRING}
-
+STR_CHEAT_BUILD_IN_PAUSE :{LTBLUE}Byggnation i pause-läge: {ORANGE}{STRING}
STR_TOWNDIR_NAME :{BLACK}Namn
STR_TOWNDIR_POPULATION :{BLACK}Invĺnare
diff --git a/misc_gui.c b/misc_gui.c
index 2d54d1e99..db6e2dd4b 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -850,9 +850,6 @@ void ShowQueryString(StringID str, StringID caption, int maxlen, int maxwidth, b
#define _orig_edit_str_buf (_edit_str_buf+MAX_QUERYSTR_LEN)
- if (_pause != 0 && !_patches.build_in_pause)
- return;
-
DeleteWindowById(WC_QUERY_STRING, 0);
DeleteWindowById(WC_SAVELOAD, 0);
@@ -1405,6 +1402,7 @@ static const CheatEntry _cheats_ui[] = {
{CE_UINT8, 0, STR_CHEAT_CHANGE_PLAYER, &_local_player, &_cheats.switch_player.been_used, &ClickChangePlayerCheat, 0, 11, 1},
{CE_BOOL, 0, STR_CHEAT_EXTRA_DYNAMITE, &_cheats.magic_bulldozer.value, &_cheats.magic_bulldozer.been_used},
{CE_BOOL, 0, STR_CHEAT_CROSSINGTUNNELS, &_cheats.crossing_tunnels.value,&_cheats.crossing_tunnels.been_used},
+ {CE_BOOL, 0, STR_CHEAT_BUILD_IN_PAUSE, &_cheats.build_in_pause.value, &_cheats.build_in_pause.been_used},
};
diff --git a/settings.c b/settings.c
index 8000f6523..d58f07c78 100644
--- a/settings.c
+++ b/settings.c
@@ -845,7 +845,7 @@ static const SettingDesc patch_settings[] = {
{"pf_maxlength", SDT_UINT16, (void*)512, (void*)offsetof(Patches, pf_maxlength)},
{"pf_maxdepth", SDT_UINT8, (void*)16, (void*)offsetof(Patches, pf_maxdepth)},
- {"build_in_pause", SDT_BOOL, (void*)false, (void*)offsetof(Patches, build_in_pause)},
+
{"ai_disable_veh_train", SDT_BOOL, (void*)false, (void*)offsetof(Patches, ai_disable_veh_train)},
{"ai_disable_veh_roadveh", SDT_BOOL, (void*)false, (void*)offsetof(Patches, ai_disable_veh_roadveh)},
diff --git a/settings_gui.c b/settings_gui.c
index 4cc79655d..578fe264e 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -698,7 +698,7 @@ static const PatchEntry _patches_construction[] = {
{PE_BOOL, 0, STR_CONFIG_PATCHES_EXTRADYNAMITE, &_patches.extra_dynamite},
{PE_BOOL, 0, STR_CONFIG_PATCHES_LONGBRIDGES, &_patches.longbridges},
{PE_BOOL, 0, STR_CONFIG_PATCHES_SIGNALSIDE, &_patches.signal_side},
- {PE_BOOL, 0, STR_CONFIG_PATCHES_BUILD_IN_PAUSE, &_patches.build_in_pause},
+
{PE_BOOL, 0, STR_CONFIG_PATCHES_SMALL_AIRPORTS, &_patches.always_small_airport},
{PE_UINT8,0, STR_CONFIG_PATCHES_DRAG_SIGNALS_DENSITY, &_patches.drag_signals_density, 1, 20, 1},
diff --git a/ttd.c b/ttd.c
index eff9d9d29..6f5a1d22c 100644
--- a/ttd.c
+++ b/ttd.c
@@ -974,7 +974,7 @@ void GameLoop()
if (!_pause && _display_opt&DO_FULL_ANIMATION)
DoPaletteAnimations();
- if (!_pause || _patches.build_in_pause)
+ if (!_pause || _cheats.build_in_pause.value)
MoveAllTextEffects();
MouseLoop();
diff --git a/variables.h b/variables.h
index d7ee68713..9efd25bca 100644
--- a/variables.h
+++ b/variables.h
@@ -128,7 +128,7 @@ typedef struct Patches {
byte pf_maxdepth; // maximum recursion depth when searching for a train route for new pathfinder
uint16 pf_maxlength; // maximum length when searching for a train route for new pathfinder
- bool build_in_pause; // build while in pause mode
+
bool bridge_pillars; // show bridge pillars for high bridges
bool ai_disable_veh_train; // disable types for AI
@@ -173,6 +173,7 @@ typedef struct Cheats {
Cheat switch_player; // change to another player
Cheat money; // get rich
Cheat crossing_tunnels; // allow tunnels that cross each other
+ Cheat build_in_pause; // build while in pause mode
} Cheats;
VARDEF Cheats _cheats;
diff --git a/window.c b/window.c
index e01066bf4..0a8539603 100644
--- a/window.c
+++ b/window.c
@@ -1013,10 +1013,12 @@ void MouseLoop()
}
if (click == 1) {
+ DEBUG(misc, 1) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
if (_thd.place_mode != 0 &&
- _cursor.sprite != 0x2CF &&
+ // query button and place sign button work in pause mode
+ !(_cursor.sprite == 0x2CF || _cursor.sprite == 0x2D2) &&
_pause != 0 &&
- !_patches.build_in_pause)
+ !_cheats.build_in_pause.value)
return;
if (_thd.place_mode == 0) {