(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files
authorcelestar
Tue, 18 Apr 2006 05:16:13 +0000
changeset 3577 c6532e0bee4c
parent 3576 18fb92480771
child 3578 c354a34a7c0a
(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files
ai/trolly/trolly.c
newgrf.c
settings_gui.c
--- a/ai/trolly/trolly.c	Mon Apr 17 19:26:18 2006 +0000
+++ b/ai/trolly/trolly.c	Tue Apr 18 05:16:13 2006 +0000
@@ -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
--- a/newgrf.c	Mon Apr 17 19:26:18 2006 +0000
+++ b/newgrf.c	Tue Apr 18 05:16:13 2006 +0000
@@ -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)
--- a/settings_gui.c	Mon Apr 17 19:26:18 2006 +0000
+++ b/settings_gui.c	Tue Apr 18 05:16:13 2006 +0000
@@ -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;