summaryrefslogtreecommitdiff
path: root/src/ai/trolly
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
committerrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
commit722613f7f3d833e28193f4c628161a372aa346b5 (patch)
tree7262db82a9e80413b5783b88be96602fdd29a485 /src/ai/trolly
parentae3206cd97f78a4657f6a33603125bf98811b726 (diff)
downloadopenttd-722613f7f3d833e28193f4c628161a372aa346b5.tar.xz
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
Diffstat (limited to 'src/ai/trolly')
-rw-r--r--src/ai/trolly/build.cpp3
-rw-r--r--src/ai/trolly/shared.cpp2
-rw-r--r--src/ai/trolly/trolly.cpp3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/ai/trolly/build.cpp b/src/ai/trolly/build.cpp
index 3b6b044ec..d54575666 100644
--- a/src/ai/trolly/build.cpp
+++ b/src/ai/trolly/build.cpp
@@ -4,13 +4,14 @@
#include "../../openttd.h"
#include "../../debug.h"
#include "../../road_map.h"
-#include "../../vehicle.h"
#include "../../command_func.h"
#include "trolly.h"
#include "../../engine.h"
#include "../../station.h"
#include "../../variables.h"
#include "../../bridge.h"
+#include "../../vehicle_func.h"
+#include "../../vehicle_base.h"
#include "../ai.h"
// Build HQ
diff --git a/src/ai/trolly/shared.cpp b/src/ai/trolly/shared.cpp
index 6af9c199d..2b80021fa 100644
--- a/src/ai/trolly/shared.cpp
+++ b/src/ai/trolly/shared.cpp
@@ -4,8 +4,8 @@
#include "../../openttd.h"
#include "../../debug.h"
#include "../../map_func.h"
+#include "../../vehicle_base.h"
#include "trolly.h"
-#include "../../vehicle.h"
int AiNew_GetRailDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c)
{
diff --git a/src/ai/trolly/trolly.cpp b/src/ai/trolly/trolly.cpp
index fe0f91395..9ca8988b6 100644
--- a/src/ai/trolly/trolly.cpp
+++ b/src/ai/trolly/trolly.cpp
@@ -31,7 +31,8 @@
#include "../../engine.h"
#include "../../gui.h"
#include "../../depot.h"
-#include "../../vehicle.h"
+#include "../../vehicle_base.h"
+#include "../../vehicle_func.h"
#include "../../date_func.h"
#include "../ai.h"
#include "../../order.h"