summaryrefslogtreecommitdiff
path: root/src/vehicle_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r--src/vehicle_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h
index 475c8a313..efc07ed07 100644
--- a/src/vehicle_func.h
+++ b/src/vehicle_func.h
@@ -26,6 +26,9 @@
#define IS_CUSTOM_FIRSTHEAD_SPRITE(x) (x == 0xFD)
#define IS_CUSTOM_SECONDHEAD_SPRITE(x) (x == 0xFE)
+static const int VEHICLE_PROFIT_MIN_AGE = DAYS_IN_YEAR * 2; ///< Only vehicles older than this have a meaningful profit.
+static const Money VEHICLE_PROFIT_THRESHOLD = 10000; ///< Threshold for a vehicle to be considered making good profit.
+
typedef Vehicle *VehicleFromPosProc(Vehicle *v, void *data);
void VehicleServiceInDepot(Vehicle *v);