equal
deleted
inserted
replaced
12 #include "date_type.h" |
12 #include "date_type.h" |
13 #include "sound_type.h" |
13 #include "sound_type.h" |
14 #include "player_type.h" |
14 #include "player_type.h" |
15 #include "strings_type.h" |
15 #include "strings_type.h" |
16 |
16 |
17 #include <vector> |
|
18 |
|
19 typedef uint16 EngineID; |
17 typedef uint16 EngineID; |
20 typedef uint16 EngineRenewID; |
18 typedef uint16 EngineRenewID; |
21 typedef std::vector<EngineID> EngineList; ///< engine list type |
|
22 |
19 |
23 struct Engine; |
20 struct Engine; |
24 |
21 |
25 enum RailVehicleTypes { |
22 enum RailVehicleTypes { |
26 RAILVEH_SINGLEHEAD, ///< indicates a "standalone" locomotive |
23 RAILVEH_SINGLEHEAD, ///< indicates a "standalone" locomotive |
121 */ |
118 */ |
122 struct EngineInfo { |
119 struct EngineInfo { |
123 Date base_intro; |
120 Date base_intro; |
124 Year lifelength; |
121 Year lifelength; |
125 Year base_life; |
122 Year base_life; |
126 byte unk2; ///< flag for carriage(bit 7) and decay speed(bits0..6) |
123 byte decay_speed; |
127 byte load_amount; |
124 byte load_amount; |
128 byte climates; |
125 byte climates; |
129 uint32 refit_mask; |
126 uint32 refit_mask; |
130 byte refit_cost; |
127 byte refit_cost; |
131 byte misc_flags; |
128 byte misc_flags; |