diff options
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index a1ff402da..b4ae0be97 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -323,6 +323,12 @@ public: VehicleShip ship; } u; + /* cached oftenly queried NewGRF values */ + uint8 cache_valid; ///< Whether the caches are valid + uint32 cached_var40; ///< Cache for NewGRF var 40 + uint32 cached_var41; ///< Cache for NewGRF var 41 + uint32 cached_var42; ///< Cache for NewGRF var 42 + uint32 cached_var43; ///< Cache for NewGRF var 43 /** * Allocates a lot of vehicles. |