summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-18 05:16:13 +0000
committercelestar <celestar@openttd.org>2006-04-18 05:16:13 +0000
commit65f759cbacd7aa0c0564529ecccdd70355dfb65d (patch)
treebb59b1598275025366c00c2b46d20b8afe78426f
parent49160bde238c479ca99065a43237b8819b1c5c26 (diff)
downloadopenttd-65f759cbacd7aa0c0564529ecccdd70355dfb65d.tar.xz
(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files
-rw-r--r--ai/trolly/trolly.c1
-rw-r--r--newgrf.c1
-rw-r--r--settings_gui.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ai/trolly/trolly.c b/ai/trolly/trolly.c
index 8c466c218..29ae7b9f2 100644
--- a/ai/trolly/trolly.c
+++ b/ai/trolly/trolly.c
@@ -34,6 +34,7 @@
#include "../../engine.h"
#include "../../gui.h"
#include "../../depot.h"
+#include "../../vehicle.h"
#include "../ai.h"
// This function is called after StartUp. It is the init of an AI
diff --git a/newgrf.c b/newgrf.c
index 63aecab5d..dda73ad8d 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -19,6 +19,7 @@
#include "bridge.h"
#include "economy.h"
#include "newgrf_engine.h"
+#include "vehicle.h"
/* TTDPatch extended GRF format codec
* (c) Petr Baudis 2004 (GPL'd)
diff --git a/settings_gui.c b/settings_gui.c
index 9c00b70e8..a91d07652 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -19,6 +19,7 @@
#include "town.h"
#include "variables.h"
#include "settings.h"
+#include "vehicle.h"
static uint32 _difficulty_click_a;
static uint32 _difficulty_click_b;