src/engine.h
changeset 5763 a6029daa547f
parent 5668 36b39f4a9032
child 5770 2ddb043a2c61
equal deleted inserted replaced
5762:f7f13553f881 5763:a6029daa547f
    11 
    11 
    12 typedef struct RailVehicleInfo {
    12 typedef struct RailVehicleInfo {
    13 	byte image_index;
    13 	byte image_index;
    14 	byte flags; /* 1=multihead engine, 2=wagon */
    14 	byte flags; /* 1=multihead engine, 2=wagon */
    15 	byte base_cost;
    15 	byte base_cost;
       
    16 	byte railtype;
    16 	uint16 max_speed;
    17 	uint16 max_speed;
    17 	uint16 power;
    18 	uint16 power;
    18 	uint16 weight;
    19 	uint16 weight;
    19 	byte running_cost_base;
    20 	byte running_cost_base;
    20 	byte running_cost_class;
    21 	byte running_cost_class;
    79 	Date base_intro;
    80 	Date base_intro;
    80 	byte unk2;              ///< Carriages have the highest bit set in this one
    81 	byte unk2;              ///< Carriages have the highest bit set in this one
    81 	Year lifelength;
    82 	Year lifelength;
    82 	Year base_life;
    83 	Year base_life;
    83 	byte load_amount;
    84 	byte load_amount;
    84 	byte railtype:4;
    85 	byte climates;
    85 	byte climates:4;
       
    86 	uint32 refit_mask;
    86 	uint32 refit_mask;
    87 	byte refit_cost;
    87 	byte refit_cost;
    88 	byte misc_flags;
    88 	byte misc_flags;
    89 	byte callbackmask;
    89 	byte callbackmask;
    90 } EngineInfo;
    90 } EngineInfo;