VehicleCache Struct Reference

Cached often queried values common to all vehicles. More...

#include <vehicle_base.h>

Data Fields

uint32 cached_cargo_mask
 Mask of all cargoes carried by the consist.
uint16 cached_max_speed
 Maximum speed of the consist (minimum of the max speed of all vehicles in the consist).
byte cached_vis_effect
 Visual effect to show (see VisualEffect).

Detailed Description

Cached often queried values common to all vehicles.

Definition at line 102 of file vehicle_base.h.


The documentation for this struct was generated from the following file:

Generated on Fri Jun 3 05:20:42 2011 for OpenTTD by  doxygen 1.6.1