equal
deleted
inserted
replaced
3 |
3 |
4 #include "ttd.h" |
4 #include "ttd.h" |
5 #include "aystar.h" |
5 #include "aystar.h" |
6 #include "vehicle.h" |
6 #include "vehicle.h" |
7 |
7 |
8 //#define NPF_DEBUG |
|
9 //#define NPF_MARKROUTE //Mark the routes considered by the pathfinder by |
|
10 //mowing grass |
8 //mowing grass |
11 enum { |
9 enum { |
12 NPF_HASH_BITS = 12, /* The size of the hash used in pathfinding. Just changing this value should be sufficient to change the hash size. Should be an even value. */ |
10 NPF_HASH_BITS = 12, /* The size of the hash used in pathfinding. Just changing this value should be sufficient to change the hash size. Should be an even value. */ |
13 /* Do no change below values */ |
11 /* Do no change below values */ |
14 NPF_HASH_SIZE = 1 << NPF_HASH_BITS, |
12 NPF_HASH_SIZE = 1 << NPF_HASH_BITS, |