equal
deleted
inserted
replaced
181 void DrawTrainDepotSprite(int x, int y, int image, RailType railtype); |
181 void DrawTrainDepotSprite(int x, int y, int image, RailType railtype); |
182 void DrawDefaultWaypointSprite(int x, int y, RailType railtype); |
182 void DrawDefaultWaypointSprite(int x, int y, RailType railtype); |
183 void *EnsureNoTrainOnTrackProc(Vehicle *v, void *data); |
183 void *EnsureNoTrainOnTrackProc(Vehicle *v, void *data); |
184 int TicksToLeaveDepot(const Vehicle *v); |
184 int TicksToLeaveDepot(const Vehicle *v); |
185 |
185 |
|
186 |
|
187 /** |
|
188 * Test if a rail type has catenary |
|
189 * @param rt Rail type to test |
|
190 */ |
|
191 static inline bool HasCatenary(RailType rt) |
|
192 { |
|
193 return rt == RAILTYPE_ELECTRIC; |
|
194 } |
|
195 |
|
196 |
186 /** |
197 /** |
187 * Draws overhead wires and pylons for electric railways. |
198 * Draws overhead wires and pylons for electric railways. |
188 * @param ti The TileInfo struct of the tile being drawn |
199 * @param ti The TileInfo struct of the tile being drawn |
189 * @see DrawCatenaryRailway |
200 * @see DrawCatenaryRailway |
190 */ |
201 */ |