src/vehicle.h
changeset 7058 b541279ca705
parent 7054 edbb4d7765f2
child 7059 3d5c57a7e729
--- a/src/vehicle.h	Tue May 01 18:17:52 2007 +0000
+++ b/src/vehicle.h	Wed May 02 09:29:41 2007 +0000
@@ -365,6 +365,17 @@
 	 * @param direction the direction the vehicle is facing
 	 */
 	virtual void UpdateDeltaXY(Direction direction) {}
+
+	/**
+	 * Sets the expense type associated to this vehicle type
+	 * @param income whether this is income or (running) expenses of the vehicle
+	 */
+	virtual ExpensesType GetExpenseType(bool income) { return EXPENSES_OTHER; }
+
+	/**
+	 * Invalidates the vehicle list window of this type of vehicle
+	 */
+	virtual WindowClass GetVehicleListWindowClass() { return WC_NONE; }
 };
 
 /**