--- a/airport.c Mon Aug 16 21:02:06 2004 +0000
+++ b/airport.c Mon Aug 16 22:15:44 2004 +0000
@@ -1,4 +1,5 @@
#include "stdafx.h"
+#include "ttd.h"
#include "airport.h"
AirportFTAClass *CountryAirport;
@@ -92,8 +93,8 @@
// 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);
{
--- a/industry_gui.c Mon Aug 16 21:02:06 2004 +0000
+++ b/industry_gui.c Mon Aug 16 22:15:44 2004 +0000
@@ -466,7 +466,7 @@
qsort(_industry_sort, n, 1, IndustrySorter);
- //DEBUG(misc, 1) ("Resorting Industries list...");
+ DEBUG(misc, 1) ("Resorting Industries list...");
}
--- a/lang/english.txt Mon Aug 16 21:02:06 2004 +0000
+++ b/lang/english.txt Mon Aug 16 22:15:44 2004 +0000
@@ -1000,7 +1000,7 @@
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
--- a/station_gui.c Mon Aug 16 21:02:06 2004 +0000
+++ b/station_gui.c Mon Aug 16 22:15:44 2004 +0000
@@ -108,7 +108,7 @@
_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)
--- a/town_gui.c Mon Aug 16 21:02:06 2004 +0000
+++ b/town_gui.c Mon Aug 16 22:15:44 2004 +0000
@@ -393,7 +393,7 @@
_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...");
}
--- a/window.c Mon Aug 16 21:02:06 2004 +0000
+++ b/window.c Mon Aug 16 22:15:44 2004 +0000
@@ -1023,7 +1023,7 @@
}
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 @@
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);