src/roadveh.h
branchNewGRF_ports
changeset 10724 68a692eacf22
parent 10200 aba3af04cdbd
--- a/src/roadveh.h	Fri Apr 25 02:15:34 2008 +0000
+++ b/src/roadveh.h	Mon May 26 20:45:25 2008 +0000
@@ -7,6 +7,7 @@
 
 #include "vehicle_base.h"
 #include "engine_func.h"
+#include "engine_base.h"
 #include "economy_func.h"
 
 enum RoadVehicleSubType {
@@ -71,9 +72,8 @@
 	void MarkDirty();
 	void UpdateDeltaXY(Direction direction);
 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_ROADVEH_INC : EXPENSES_ROADVEH_RUN; }
-	WindowClass GetVehicleListWindowClass() const { return WC_ROADVEH_LIST; }
 	bool IsPrimaryVehicle() const { return IsRoadVehFront(this); }
-	int GetImage(Direction direction) const;
+	SpriteID GetImage(Direction direction) const;
 	int GetDisplaySpeed() const { return this->cur_speed * 10 / 32; }
 	int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 32; }
 	Money GetRunningCost() const { return RoadVehInfo(this->engine_type)->running_cost * GetPriceByIndex(RoadVehInfo(this->engine_type)->running_cost_class); }