(svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42.

This commit is contained in:
peter1138
2006-05-17 08:20:36 +00:00
parent fc3d714621
commit 7fb02749ac
4 changed files with 9 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ typedef struct RailVehicleInfo {
// kind of visual effect to generate for a vehicle (default, steam, diesel, electric).
// Same goes for the callback result, which atm is only used to check if a wagon is powered.
byte shorten_factor; // length on main map for this type is 8 - shorten_factor
byte user_def_data; ///! Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles
} RailVehicleInfo;
typedef struct ShipVehicleInfo {