(svn r70) -Fix: typo in english.txt

-Add some debug messages for misc=1
pull/155/head
darkvater 20 years ago
parent 31911a9325
commit 345e2c38ad

@ -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);
{

@ -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...");
}

@ -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

@ -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)

@ -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...");
}

@ -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);

Loading…
Cancel
Save