Changeset - r69:b97772683a3d
[Not reviewed]
master
0 6 0
darkvater - 20 years ago 2004-08-16 22:15:44
darkvater@openttd.org
(svn r70) -Fix: typo in english.txt
-Add some debug messages for misc=1
6 files changed with 9 insertions and 8 deletions:
0 comments (0 inline, 0 general)
airport.c
Show inline comments
 
#include "stdafx.h"
 
#include "ttd.h"
 
#include "airport.h"
 

	
 
AirportFTAClass *CountryAirport;
 
@@ -92,8 +93,8 @@ static void AirportFTAClass_Constructor(
 

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

	
 

	
 
	{
industry_gui.c
Show inline comments
 
@@ -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...");
 
}
 

	
 

	
lang/english.txt
Show inline comments
 
@@ -1000,7 +1000,7 @@ STR_CONFIG_PATCHES_COLORED_NEWS_DATE	:{L
 
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
station_gui.c
Show inline comments
 
@@ -108,7 +108,7 @@ static void MakeSortedStationList(Window
 
	_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)
town_gui.c
Show inline comments
 
@@ -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...");
 
}
 

	
 

	
window.c
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)