equal
deleted
inserted
replaced
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 RailTypeByte railtype; |
17 uint16 max_speed; |
17 uint16 max_speed; |
18 uint16 power; |
18 uint16 power; |
19 uint16 weight; |
19 uint16 weight; |
20 byte running_cost_base; |
20 byte running_cost_base; |
21 byte running_cost_class; |
21 byte running_cost_class; |
98 uint16 duration_phase_1, duration_phase_2, duration_phase_3; |
98 uint16 duration_phase_1, duration_phase_2, duration_phase_3; |
99 byte lifelength; |
99 byte lifelength; |
100 byte flags; |
100 byte flags; |
101 PlayerByte preview_player; |
101 PlayerByte preview_player; |
102 byte preview_wait; |
102 byte preview_wait; |
103 RailTypeByte railtype; |
|
104 byte player_avail; |
103 byte player_avail; |
105 byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h |
104 byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h |
106 } Engine; |
105 } Engine; |
107 |
106 |
108 /** |
107 /** |