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
commit22f82bba2efce41532c5a48f21c5105b3ae08627 (patch)
treebb59b1598275025366c00c2b46d20b8afe78426f
parent8d0e07378ac045b392d1c18bf0ad324e8ebe63a1 (diff)
downloadopenttd-22f82bba2efce41532c5a48f21c5105b3ae08627.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;