summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--airport.c5
-rw-r--r--industry_gui.c2
-rw-r--r--lang/english.txt2
-rw-r--r--station_gui.c2
-rw-r--r--town_gui.c2
-rw-r--r--window.c4
6 files changed, 9 insertions, 8 deletions
diff --git a/airport.c b/airport.c
index 270f26c14..307213c84 100644
--- a/airport.c
+++ b/airport.c
@@ -1,4 +1,5 @@
#include "stdafx.h"
+#include "ttd.h"
#include "airport.h"
AirportFTAClass *CountryAirport;
@@ -92,8 +93,8 @@ static void AirportFTAClass_Constructor(AirportFTAClass *Airport,
// build the state machine
AirportBuildAutomata(Airport, FA);
- // DEBUG(misc, 1) ("#Elements %2d; #Terminals %2d in %d group(s); #Helipads %2d in %d group(s)", Airport->nofelements,
- // Airport->nofterminals, Airport->nofterminalgroups, Airport->nofhelipads, Airport->nofhelipadgroups);
+ DEBUG(misc, 1) ("#Elements %2d; #Terminals %2d in %d group(s); #Helipads %2d in %d group(s)", Airport->nofelements,
+ Airport->nofterminals, Airport->nofterminalgroups, Airport->nofhelipads, Airport->nofhelipadgroups);
{
diff --git a/industry_gui.c b/industry_gui.c
index 09e3c97d2..de697f918 100644
--- a/industry_gui.c
+++ b/industry_gui.c
@@ -466,7 +466,7 @@ static void MakeSortedIndustryList()
qsort(_industry_sort, n, 1, IndustrySorter);
- //DEBUG(misc, 1) ("Resorting Industries list...");
+ DEBUG(misc, 1) ("Resorting Industries list...");
}
diff --git a/lang/english.txt b/lang/english.txt
index 3d525d678..95f3808cf 100644
--- a/lang/english.txt
+++ b/lang/english.txt
@@ -1000,7 +1000,7 @@ STR_CONFIG_PATCHES_COLORED_NEWS_DATE :{LTBLUE}Coloured news appears in: {ORANGE}
STR_CONFIG_PATCHES_STARTING_DATE :{LTBLUE}Starting date: {ORANGE}{STRING}
STR_CONFIG_PATCHES_SMOOTH_ECONOMY :{LTBLUE}Enable smooth economy (more, smaller changes)
STR_CONFIG_PATCHES_DRAG_SIGNALS_DENSITY :{LTBLUE}When dragging place signals every: {ORANGE}{STRING} tile(s)
-STR_CONFIG_PATCHES_TOOLBAR_POS :{LTBLUE}Position of maintoolbar: {ORANGE}{STRING}
+STR_CONFIG_PATCHES_TOOLBAR_POS :{LTBLUE}Position of main toolbar: {ORANGE}{STRING}
STR_CONFIG_PATCHES_TOOLBAR_POS_LEFT :Left
STR_CONFIG_PATCHES_TOOLBAR_POS_CENTER :Center
STR_CONFIG_PATCHES_TOOLBAR_POS_RIGHT :Right
diff --git a/station_gui.c b/station_gui.c
index a10ad0c47..17cb74240 100644
--- a/station_gui.c
+++ b/station_gui.c
@@ -108,7 +108,7 @@ static void MakeSortedStationList(Window *w)
_last_station_idx = 255; // used for "cache"
qsort(_station_sort, n, sizeof(_station_sort[0]), StationSorterByName);
- //DEBUG(misc, 1) ("Resorting Stations list...");
+ DEBUG(misc, 1) ("Resorting Stations list...");
}
static void PlayerStationsWndProc(Window *w, WindowEvent *e)
diff --git a/town_gui.c b/town_gui.c
index 5571bcfc9..2b867607b 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -393,7 +393,7 @@ static void MakeSortedTownList()
_last_town_idx = 255; // used for "cache"
qsort(_town_sort, n, 1, _town_sort_order & 2 ? TownSorterByPop : TownSorterByName);
- //DEBUG(misc, 1) ("Resorting Towns list...");
+ DEBUG(misc, 1) ("Resorting Towns list...");
}
diff --git a/window.c b/window.c
index 19115e0ee..bd68afe5f 100644
--- a/window.c
+++ b/window.c
@@ -1023,7 +1023,7 @@ void MouseLoop()
}
if (click == 1) {
- //DEBUG(misc, 1) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
+ DEBUG(misc, 1) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
if (_thd.place_mode != 0 &&
// query button and place sign button work in pause mode
!(_cursor.sprite == 0x2CF || _cursor.sprite == 0x2D2) &&
@@ -1176,7 +1176,7 @@ void DeleteNonVitalWindows()
int PositionMainToolbar(Window *w)
{
- //DEBUG(misc, 1) ("Repositioning Main Toolbar...");
+ DEBUG(misc, 1) ("Repositioning Main Toolbar...");
if (w == NULL || w->window_class != WC_MAIN_TOOLBAR)
w = FindWindowById(WC_MAIN_TOOLBAR, 0);