EngineInfo Struct Reference

Information about a vehicle. More...

#include <engine_type.h>

Data Fields

Date base_intro
 Basic date of engine introduction (without random parts).
Year lifelength
 Lifetime of a single vehicle.
Year base_life
 Basic duration of engine availability (without random parts). 0xFF means infinite life.
byte decay_speed
byte load_amount
byte climates
 Climates supported by the engine.
CargoID cargo_type
uint32 refit_mask
byte refit_cost
byte misc_flags
 Miscellaneous flags.
byte callback_mask
 Bitmask of vehicle callbacks that have to be called.
int8 retire_early
 Number of years early to retire vehicle.
StringID string_id
 Default name of engine.

Detailed Description

Information about a vehicle.

See also:
table/engines.h

Definition at line 121 of file engine_type.h.


Field Documentation


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

Generated on Sun Jun 5 04:20:56 2011 for OpenTTD by  doxygen 1.6.1