src/engine.h
changeset 6014 f3f333d167c4
parent 5919 2b58160d667d
child 6021 2193f56f4122
equal deleted inserted replaced
6013:6858efdd45dd 6014:f3f333d167c4
    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;