aircraft_cmd.c
changeset 1998 849933cfa8de
parent 1980 9ea0c89fbb58
child 2049 ad0d49c916d4
--- a/aircraft_cmd.c	Fri Jul 01 06:25:35 2005 +0000
+++ b/aircraft_cmd.c	Fri Jul 01 14:05:44 2005 +0000
@@ -10,7 +10,6 @@
 #include "command.h"
 #include "station.h"
 #include "news.h"
-#include "gfx.h"
 #include "sound.h"
 #include "player.h"
 #include "airport.h"
@@ -118,18 +117,6 @@
 	}
 }
 
-void DrawAircraftEngineInfo(int engine, int x, int y, int maxw)
-{
-	const AircraftVehicleInfo *avi = AircraftVehInfo(engine);
-	SetDParam(0, ((_price.aircraft_base >> 3) * avi->base_cost) >> 5);
-	SetDParam(1, avi->max_speed << 3);
-	SetDParam(2, avi->passenger_capacity);
-	SetDParam(3, avi->mail_capacity);
-	SetDParam(4, avi->running_cost * _price.aircraft_running >> 8);
-
-	DrawStringMultiCenter(x, y, STR_A02E_COST_MAX_SPEED_CAPACITY, maxw);
-}
-
 /* Allocate many vehicles */
 static bool AllocateVehicles(Vehicle **vl, int num)
 {