ai.h
changeset 1494 31436e59176a
parent 1047 df93a1386892
child 1977 37bbebf94434
equal deleted inserted replaced
1493:414b3608df4d 1494:31436e59176a
    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