diff options
Diffstat (limited to 'src/pathfinder/opf')
-rw-r--r-- | src/pathfinder/opf/opf_ship.cpp | 2 | ||||
-rw-r--r-- | src/pathfinder/opf/opf_ship.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/pathfinder/opf/opf_ship.cpp b/src/pathfinder/opf/opf_ship.cpp index 0d967c67a..9fee6b270 100644 --- a/src/pathfinder/opf/opf_ship.cpp +++ b/src/pathfinder/opf/opf_ship.cpp @@ -10,12 +10,10 @@ /** @file pathfind.cpp Implementation of the oldest supported pathfinder. */ #include "../../stdafx.h" -#include "../../debug.h" #include "../../tunnelbridge_map.h" #include "../../tunnelbridge.h" #include "../../ship.h" #include "../../core/random_func.hpp" -#include "opf_ship.h" struct RememberData { uint16 cur_length; diff --git a/src/pathfinder/opf/opf_ship.h b/src/pathfinder/opf/opf_ship.h index 10055067b..b124ce34e 100644 --- a/src/pathfinder/opf/opf_ship.h +++ b/src/pathfinder/opf/opf_ship.h @@ -12,6 +12,11 @@ #ifndef OPF_SHIP_H #define OPF_SHIP_H +#include "../../direction_type.h" +#include "../../tile_type.h" +#include "../../track_type.h" +#include "../../vehicle_type.h" + /** * Finds the best path for given ship using OPF. * @param v the ship that needs to find a path |