diff options
Diffstat (limited to 'npf.h')
-rw-r--r-- | npf.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -8,7 +8,6 @@ #include "station.h" #include "vehicle.h" #include "tile.h" -#include "variables.h" //mowing grass enum { @@ -19,6 +18,12 @@ enum { NPF_HASH_HALFMASK = (1 << NPF_HASH_HALFBITS) - 1 }; +/* For new pathfinding. Define here so it is globally available without having + * to include npf.h */ +enum { + NPF_TILE_LENGTH = 100 +}; + enum { /** This penalty is the equivalent of "inifite", which means that paths that * get this penalty will be chosen, but only if there is no other route |