equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #ifndef ENGINE_H |
3 #ifndef ENGINE_H |
4 #define ENGINE_H |
4 #define ENGINE_H |
5 |
5 |
6 /** @file engine.h |
6 /** @file engine.h */ |
7 */ |
|
8 |
7 |
9 #include "pool.h" |
8 #include "pool.h" |
10 |
9 |
11 typedef struct RailVehicleInfo { |
10 typedef struct RailVehicleInfo { |
12 byte image_index; |
11 byte image_index; |
69 byte capacity; |
68 byte capacity; |
70 CargoID cargo_type; |
69 CargoID cargo_type; |
71 } RoadVehicleInfo; |
70 } RoadVehicleInfo; |
72 |
71 |
73 /** Information about a vehicle |
72 /** Information about a vehicle |
74 * @see table/engines.h |
73 * @see table/engines.h |
75 */ |
74 */ |
76 typedef struct EngineInfo { |
75 typedef struct EngineInfo { |
77 Date base_intro; |
76 Date base_intro; |
78 byte unk2; ///< Carriages have the highest bit set in this one |
77 byte unk2; ///< Carriages have the highest bit set in this one |
79 Year lifelength; |
78 Year lifelength; |
80 Year base_life; |
79 Year base_life; |