(svn r9764) -Codechange: replace some lookup tables by functions.

This commit is contained in:
rubidium
2007-05-02 09:29:41 +00:00
parent dfe7c5cd66
commit 5e4c9ad875
7 changed files with 22 additions and 7 deletions

View File

@@ -365,6 +365,17 @@ struct Vehicle {
* @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; }
};
/**