equal
deleted
inserted
replaced
25 byte pow_wag_weight; |
25 byte pow_wag_weight; |
26 byte visual_effect; // NOTE: this is not 100% implemented yet, at the moment it is only used as a 'fallback' value |
26 byte visual_effect; // NOTE: this is not 100% implemented yet, at the moment it is only used as a 'fallback' value |
27 // for when the 'powered wagon' callback fails. But it should really also determine what |
27 // for when the 'powered wagon' callback fails. But it should really also determine what |
28 // kind of visual effect to generate for a vehicle (default, steam, diesel, electric). |
28 // kind of visual effect to generate for a vehicle (default, steam, diesel, electric). |
29 // Same goes for the callback result, which atm is only used to check if a wagon is powered. |
29 // Same goes for the callback result, which atm is only used to check if a wagon is powered. |
30 byte shorten_factor; // length on main map for this type is 8 - shorten_factor |
30 byte shorten_factor; // length on main map for this type is 8 - shorten_factor |
31 byte user_def_data; ///! Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles |
31 byte user_def_data; ///! Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles |
32 } RailVehicleInfo; |
32 } RailVehicleInfo; |
33 |
33 |
34 typedef struct ShipVehicleInfo { |
34 typedef struct ShipVehicleInfo { |
35 byte image_index; |
35 byte image_index; |
97 byte flags; |
97 byte flags; |
98 byte preview_player; |
98 byte preview_player; |
99 byte preview_wait; |
99 byte preview_wait; |
100 byte railtype; |
100 byte railtype; |
101 byte player_avail; |
101 byte player_avail; |
102 byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h |
102 byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h |
103 } Engine; |
103 } Engine; |
104 |
104 |
105 /** |
105 /** |
106 * EngineInfo.misc_flags is a bitmask, with the following values |
106 * EngineInfo.misc_flags is a bitmask, with the following values |
107 */ |
107 */ |