OpenTTD Source
20241108-master-g80f628063a
|
Cached often queried values common to all vehicles. More...
#include <vehicle_base.h>
Public Member Functions | |
auto | operator<=> (const VehicleCache &) const =default |
Data Fields | |
uint16_t | cached_max_speed |
Maximum speed of the consist (minimum of the max speed of all vehicles in the consist). | |
uint16_t | cached_cargo_age_period |
Number of ticks before carried cargo is aged. | |
uint8_t | cached_vis_effect |
Visual effect to show (see VisualEffect) | |
Cached often queried values common to all vehicles.
Definition at line 125 of file vehicle_base.h.