equal
deleted
inserted
replaced
19 #include "network/network.h" |
19 #include "network/network.h" |
20 #include "water_map.h" |
20 #include "water_map.h" |
21 #include "tunnelbridge_map.h" |
21 #include "tunnelbridge_map.h" |
22 #include "functions.h" |
22 #include "functions.h" |
23 #include "vehicle_base.h" |
23 #include "vehicle_base.h" |
|
24 #include "settings_type.h" |
24 |
25 |
25 static AyStar _npf_aystar; |
26 static AyStar _npf_aystar; |
26 |
27 |
27 /* The cost of each trackdir. A diagonal piece is the full NPF_TILE_LENGTH, |
28 /* The cost of each trackdir. A diagonal piece is the full NPF_TILE_LENGTH, |
28 * the shorter piece is sqrt(2)/2*NPF_TILE_LENGTH =~ 0.7071 |
29 * the shorter piece is sqrt(2)/2*NPF_TILE_LENGTH =~ 0.7071 |