diff options
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index dd9ca71ba..1b2be2eb1 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -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; } }; /** |