equal
deleted
inserted
replaced
35 |
35 |
36 // Standard penalty given to a tile |
36 // Standard penalty given to a tile |
37 #define AI_PATHFINDER_PENALTY 150 |
37 #define AI_PATHFINDER_PENALTY 150 |
38 // The penalty given to a tile that is going up |
38 // The penalty given to a tile that is going up |
39 #define AI_PATHFINDER_TILE_GOES_UP_PENALTY 450 |
39 #define AI_PATHFINDER_TILE_GOES_UP_PENALTY 450 |
|
40 // The penalty given to a tile which would have to use fundation |
|
41 #define AI_PATHFINDER_FOUNDATION_PENALTY 100 |
40 // Changing direction is a penalty, to prevent curved ways (with that: slow ways) |
42 // Changing direction is a penalty, to prevent curved ways (with that: slow ways) |
41 #define AI_PATHFINDER_DIRECTION_CHANGE_PENALTY 200 |
43 #define AI_PATHFINDER_DIRECTION_CHANGE_PENALTY 200 |
42 // Same penalty, only for when road already exists |
44 // Same penalty, only for when road already exists |
43 #define AI_PATHFINDER_DIRECTION_CHANGE_ON_EXISTING_ROAD_PENALTY 50 |
45 #define AI_PATHFINDER_DIRECTION_CHANGE_ON_EXISTING_ROAD_PENALTY 50 |
44 // A diagonal track cost the same as a straigh, but a diagonal is faster... so give |
46 // A diagonal track cost the same as a straigh, but a diagonal is faster... so give |