roadveh_cmd.c
changeset 1998 23c42534e2a9
parent 1986 fcc849a38ae6
child 2006 9d5d7fd428c2
--- a/roadveh_cmd.c	Fri Jul 01 06:25:35 2005 +0000
+++ b/roadveh_cmd.c	Fri Jul 01 14:05:44 2005 +0000
@@ -9,7 +9,6 @@
 #include "command.h"
 #include "station.h"
 #include "news.h"
-#include "gfx.h"
 #include "pathfind.h"
 #include "npf.h"
 #include "player.h"
@@ -91,20 +90,6 @@
 	DrawSprite((6 + _roadveh_images[spritenum]) | image_ormod, x, y);
 }
 
-void DrawRoadVehEngineInfo(int engine, int x, int y, int maxw)
-{
-	const RoadVehicleInfo *rvi = RoadVehInfo(engine);
-
-	SetDParam(0, ((_price.roadveh_base >> 3) * rvi->base_cost) >> 5);
-	SetDParam(1, rvi->max_speed * 10 >> 5);
-	SetDParam(2, rvi->running_cost * _price.roadveh_running >> 8);
-
-	SetDParam(4, rvi->capacity);
-	SetDParam(3, _cargoc.names_long_p[rvi->cargo_type]);
-
-	DrawStringMultiCenter(x, y, STR_902A_COST_SPEED_RUNNING_COST, maxw);
-}
-
 int32 EstimateRoadVehCost(EngineID engine_type)
 {
 	return ((_price.roadveh_base >> 3) * RoadVehInfo(engine_type)->base_cost) >> 5;