src/ship.h
changeset 6562 077afce9a4ee
parent 6558 c88e142f896e
child 6563 fed2a162046b
--- a/src/ship.h	Tue May 01 18:17:52 2007 +0000
+++ b/src/ship.h	Wed May 02 09:29:41 2007 +0000
@@ -42,6 +42,8 @@
 	const char *GetTypeString() { return "ship"; }
 	void MarkDirty();
 	void UpdateDeltaXY(Direction direction);
+	ExpensesType GetExpenseType(bool income) { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; }
+	WindowClass GetVehicleListWindowClass() { return WC_SHIPS_LIST; }
 };
 
 #endif /* SHIP_H */