equal
deleted
inserted
replaced
19 #include "newgrf_spritegroup.h" |
19 #include "newgrf_spritegroup.h" |
20 #include "newgrf_cargo.h" |
20 #include "newgrf_cargo.h" |
21 #include "date.h" |
21 #include "date.h" |
22 #include "helpers.hpp" |
22 #include "helpers.hpp" |
23 #include "cargotype.h" |
23 #include "cargotype.h" |
|
24 #include "airport_states.h" |
24 |
25 |
25 |
26 |
26 int _traininfo_vehicle_pitch = 0; |
27 int _traininfo_vehicle_pitch = 0; |
27 int _traininfo_vehicle_width = 29; |
28 int _traininfo_vehicle_width = 29; |
28 |
29 |
281 case TERM4: |
282 case TERM4: |
282 case TERM5: |
283 case TERM5: |
283 case TERM6: |
284 case TERM6: |
284 case TERM7: |
285 case TERM7: |
285 case TERM8: |
286 case TERM8: |
|
287 case TERM9: |
|
288 case TERM10: |
|
289 case TERM11: |
|
290 case TERM12: |
286 /* TTDPatch only has 3 terminals, so treat these states the same */ |
291 /* TTDPatch only has 3 terminals, so treat these states the same */ |
287 if (amdflag & AMED_EXACTPOS) return AMS_TTDP_TO_PAD3; |
292 if (amdflag & AMED_EXACTPOS) return AMS_TTDP_TO_PAD3; |
288 return AMS_TTDP_TO_ENTRY_2_AND_3_AND_H; |
293 return AMS_TTDP_TO_ENTRY_2_AND_3_AND_H; |
289 |
294 |
290 case HELIPAD1: |
295 case HELIPAD1: |
385 case TERM4: |
390 case TERM4: |
386 case TERM5: |
391 case TERM5: |
387 case TERM6: |
392 case TERM6: |
388 case TERM7: |
393 case TERM7: |
389 case TERM8: |
394 case TERM8: |
|
395 case TERM9: |
|
396 case TERM10: |
|
397 case TERM11: |
|
398 case TERM12: |
390 case HELIPAD3: |
399 case HELIPAD3: |
391 case HELIPAD4: |
400 case HELIPAD4: |
392 return (v->current_order.type == OT_LOADING) ? AMA_TTDP_ON_PAD3 : AMA_TTDP_LANDING_TO_PAD3; |
401 return (v->current_order.type == OT_LOADING) ? AMA_TTDP_ON_PAD3 : AMA_TTDP_LANDING_TO_PAD3; |
393 |
402 |
394 case TAKEOFF: // Moving to takeoff position |
403 case TAKEOFF: // Moving to takeoff position |