(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
-Fix: fixed some compiler-warnings
This commit is contained in:
		
							
								
								
									
										2
									
								
								player.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								player.h
									
									
									
									
									
								
							@@ -112,7 +112,7 @@ typedef struct PlayerAiNew {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	byte action;
 | 
						byte action;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	uint last_id; // here is stored the last id of the searched city/industry
 | 
						int last_id; // here is stored the last id of the searched city/industry
 | 
				
			||||||
	uint last_vehiclecheck_date; // Used in CheckVehicle
 | 
						uint last_vehiclecheck_date; // Used in CheckVehicle
 | 
				
			||||||
	Ai_SpecialVehicle special_vehicles[AI_MAX_SPECIAL_VEHICLES]; // Some vehicles have some special flags
 | 
						Ai_SpecialVehicle special_vehicles[AI_MAX_SPECIAL_VEHICLES]; // Some vehicles have some special flags
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								signs.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								signs.c
									
									
									
									
									
								
							@@ -19,7 +19,7 @@ static void UpdateSignVirtCoords(SignStruct *ss)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Update all coordinates of a sign
 | 
					 * Update the coordinates of all signs
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
void UpdateAllSignVirtCoords()
 | 
					void UpdateAllSignVirtCoords()
 | 
				
			||||||
@@ -65,7 +65,7 @@ static SignStruct *AllocateSign()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Place a sign at the giving x/y
 | 
					 * Place a sign at the given x/y
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @param p1 not used
 | 
					 * @param p1 not used
 | 
				
			||||||
 * @param p2 not used
 | 
					 * @param p2 not used
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,7 @@ FileList files_dos = {
 | 
				
			|||||||
		{ "TRG1.GRF", {0x93,0x11,0x67,0x62,0x80,0xe5,0xb1,0x40,0x77,0xa8,0xee,0x41,0xc1,0xb4,0x21,0x92} },
 | 
							{ "TRG1.GRF", {0x93,0x11,0x67,0x62,0x80,0xe5,0xb1,0x40,0x77,0xa8,0xee,0x41,0xc1,0xb4,0x21,0x92} },
 | 
				
			||||||
		{ "TRGI.GRF", {0xda,0x6a,0x6c,0x9d,0xcc,0x45,0x1e,0xec,0x88,0xd7,0x92,0x11,0x43,0x7b,0x76,0xa8} },
 | 
							{ "TRGI.GRF", {0xda,0x6a,0x6c,0x9d,0xcc,0x45,0x1e,0xec,0x88,0xd7,0x92,0x11,0x43,0x7b,0x76,0xa8} },
 | 
				
			||||||
		{ "signalsw.grf", {0x76,0x1b,0x42,0x25,0x44,0x0d,0x21,0xc7,0xe0,0xb4,0x25,0xd8,0x2f,0xc8,0x52,0x38} }, //0x1320 - 0x1405 inclusive
 | 
							{ "signalsw.grf", {0x76,0x1b,0x42,0x25,0x44,0x0d,0x21,0xc7,0xe0,0xb4,0x25,0xd8,0x2f,0xc8,0x52,0x38} }, //0x1320 - 0x1405 inclusive
 | 
				
			||||||
		{ NULL }
 | 
							{ NULL, {} }
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{	{ "TRGC.GRF", {0xed,0x44,0x66,0x37,0xe0,0x34,0x10,0x4c,0x55,0x59,0xb3,0x2c,0x18,0xaf,0xe7,0x8d} },
 | 
						{	{ "TRGC.GRF", {0xed,0x44,0x66,0x37,0xe0,0x34,0x10,0x4c,0x55,0x59,0xb3,0x2c,0x18,0xaf,0xe7,0x8d} },
 | 
				
			||||||
		{ "TRGH.GRF", {0xee,0x66,0x16,0xfb,0x0e,0x6e,0xf6,0xb2,0x48,0x92,0xc5,0x8c,0x93,0xd8,0x6f,0xc9} },
 | 
							{ "TRGH.GRF", {0xee,0x66,0x16,0xfb,0x0e,0x6e,0xf6,0xb2,0x48,0x92,0xc5,0x8c,0x93,0xd8,0x6f,0xc9} },
 | 
				
			||||||
@@ -39,7 +39,7 @@ FileList files_win = {
 | 
				
			|||||||
		{ "TRG1R.GRF", {0xb0,0x4c,0xe5,0x93,0xd8,0xc5,0x01,0x6e,0x07,0x47,0x3a,0x74,0x3d,0x7d,0x33,0x58} },
 | 
							{ "TRG1R.GRF", {0xb0,0x4c,0xe5,0x93,0xd8,0xc5,0x01,0x6e,0x07,0x47,0x3a,0x74,0x3d,0x7d,0x33,0x58} },
 | 
				
			||||||
		{ "TRGIR.GRF", {0x0c,0x24,0x84,0xff,0x6b,0xe4,0x9f,0xc6,0x3a,0x83,0xbe,0x6a,0xb5,0xc3,0x8f,0x32} },
 | 
							{ "TRGIR.GRF", {0x0c,0x24,0x84,0xff,0x6b,0xe4,0x9f,0xc6,0x3a,0x83,0xbe,0x6a,0xb5,0xc3,0x8f,0x32} },
 | 
				
			||||||
		{ "signalsw.grf", {0x76,0x1b,0x42,0x25,0x44,0x0d,0x21,0xc7,0xe0,0xb4,0x25,0xd8,0x2f,0xc8,0x52,0x38} }, //0x1320 - 0x1405 inclusive
 | 
							{ "signalsw.grf", {0x76,0x1b,0x42,0x25,0x44,0x0d,0x21,0xc7,0xe0,0xb4,0x25,0xd8,0x2f,0xc8,0x52,0x38} }, //0x1320 - 0x1405 inclusive
 | 
				
			||||||
		{ NULL }
 | 
							{ NULL, {} }
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{	{ "TRGCR.GRF", {0x36,0x68,0xf4,0x10,0xc7,0x61,0xa0,0x50,0xb5,0xe7,0x09,0x5a,0x2b,0x14,0x87,0x9b} },
 | 
						{	{ "TRGCR.GRF", {0x36,0x68,0xf4,0x10,0xc7,0x61,0xa0,0x50,0xb5,0xe7,0x09,0x5a,0x2b,0x14,0x87,0x9b} },
 | 
				
			||||||
		{ "TRGHR.GRF", {0x06,0xbf,0x2b,0x7a,0x31,0x76,0x6f,0x04,0x8b,0xaa,0xc2,0xeb,0xe4,0x34,0x57,0xb1} },
 | 
							{ "TRGHR.GRF", {0x06,0xbf,0x2b,0x7a,0x31,0x76,0x6f,0x04,0x8b,0xaa,0xc2,0xeb,0xe4,0x34,0x57,0xb1} },
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								ttd.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ttd.c
									
									
									
									
									
								
							@@ -657,7 +657,7 @@ int ttd_main(int argc, char* argv[])
 | 
				
			|||||||
	if (sounddriver[0]) ttd_strlcpy(_ini_sounddriver, sounddriver, sizeof(_ini_sounddriver));
 | 
						if (sounddriver[0]) ttd_strlcpy(_ini_sounddriver, sounddriver, sizeof(_ini_sounddriver));
 | 
				
			||||||
	if (videodriver[0]) ttd_strlcpy(_ini_videodriver, videodriver, sizeof(_ini_videodriver));
 | 
						if (videodriver[0]) ttd_strlcpy(_ini_videodriver, videodriver, sizeof(_ini_videodriver));
 | 
				
			||||||
	if (resolution[0]) { _cur_resolution[0] = resolution[0]; _cur_resolution[1] = resolution[1]; }
 | 
						if (resolution[0]) { _cur_resolution[0] = resolution[0]; _cur_resolution[1] = resolution[1]; }
 | 
				
			||||||
	if (startdate != -1) _patches.starting_date = startdate;
 | 
						if (startdate != (uint)-1) _patches.starting_date = startdate;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (_dedicated_forks && !_dedicated_enabled)
 | 
						if (_dedicated_forks && !_dedicated_enabled)
 | 
				
			||||||
		_dedicated_forks = false;
 | 
							_dedicated_forks = false;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user