summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index bf2629765..f733297eb 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -182,7 +182,14 @@ public:
} orders;
byte vehicle_flags; ///< Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
- uint16 load_unload_time_rem;
+
+ /**
+ * Multi purpose variable used as counter for:
+ * - loading/unloading: ticks to wait before starting next cycle.
+ * - aircraft: ticks between each turn to prevent > 45 degree turns.
+ * - trains: ticks waiting in front of a signal, ticks being stuck or a counter for forced proceeding through signals.
+ */
+ uint16 time_counter;
GroupID group_id; ///< Index of group Pool array