summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 19:10:30 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 19:10:30 +0000
commit02cdf01507be4ca5d77915cd00298929ad2f7f30 (patch)
treeabfdacfc810cdcd10d4095670b1713ad27c912e4 /src/yapf
parent059e94e355c9172a42b70ff20b4b8a87dd4889ae (diff)
downloadopenttd-02cdf01507be4ca5d77915cd00298929ad2f7f30.tar.xz
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/follow_track.hpp2
-rw-r--r--src/yapf/yapf.hpp1
-rw-r--r--src/yapf/yapf_road.cpp1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/yapf/follow_track.hpp b/src/yapf/follow_track.hpp
index 0b5608fb4..e72d9deda 100644
--- a/src/yapf/follow_track.hpp
+++ b/src/yapf/follow_track.hpp
@@ -6,7 +6,7 @@
#define FOLLOW_TRACK_HPP
#include "yapf.hpp"
-
+#include "../depot_map.h"
/** Track follower helper template class (can serve pathfinders and vehicle
* controllers). See 6 different typedefs below for 3 different transport
diff --git a/src/yapf/yapf.hpp b/src/yapf/yapf.hpp
index 97f104e49..61e409bb3 100644
--- a/src/yapf/yapf.hpp
+++ b/src/yapf/yapf.hpp
@@ -8,7 +8,6 @@
#include "track_dir.hpp"
#include "../vehicle_base.h"
-#include "../depot.h"
#include "../road_map.h"
#include "../tunnel_map.h"
#include "../bridge_map.h"
diff --git a/src/yapf/yapf_road.cpp b/src/yapf/yapf_road.cpp
index 853b68e5b..ce032eacd 100644
--- a/src/yapf/yapf_road.cpp
+++ b/src/yapf/yapf_road.cpp
@@ -3,6 +3,7 @@
/** @file yapf_road.cpp */
#include "../stdafx.h"
+#include "../depot_base.h"
#include "yapf.hpp"
#include "yapf_node_road.hpp"