diff options
author | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
commit | f35ed4bbc2b05f1b83476b60948d64375f77f1b4 (patch) | |
tree | 1a1c59c13ddb1d152052f3a3a0bcffe4fb531173 /src/pathfind.h | |
parent | a332d10fd938f345fff18e5f4a662a58f692f734 (diff) | |
download | openttd-f35ed4bbc2b05f1b83476b60948d64375f77f1b4.tar.xz |
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Diffstat (limited to 'src/pathfind.h')
-rw-r--r-- | src/pathfind.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pathfind.h b/src/pathfind.h index 432d7ea88..6c0dccad1 100644 --- a/src/pathfind.h +++ b/src/pathfind.h @@ -4,6 +4,7 @@ #define PATHFIND_H #include "direction.h" +#include "openttd.h" enum { STR_FACTOR = 2, @@ -14,7 +15,7 @@ enum { //supported on all archs) typedef struct TrackPathFinder TrackPathFinder; -typedef bool TPFEnumProc(TileIndex tile, void *data, int track, uint length, byte *state); +typedef bool TPFEnumProc(TileIndex tile, void *data, Trackdir trackdir, uint length, byte *state); typedef void TPFAfterProc(TrackPathFinder *tpf); typedef bool NTPEnumProc(TileIndex tile, void *data, int track, uint length); @@ -51,9 +52,9 @@ struct TrackPathFinder { RememberData rd; - int the_dir; + TrackdirByte the_dir; - byte tracktype; + TransportTypeByte tracktype; byte var2; bool disable_tile_hash; bool hasbit_13; |