summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-09 09:57:48 +0000
committerrubidium <rubidium@openttd.org>2008-01-09 09:57:48 +0000
commit285a4a106f9b679cf3751532fd8346c9262a4209 (patch)
treeb946eff1c2e3f2adb7b5978dd292871e408fb28b /src
parent64d691bacc11cfca3b5c948dffb4eeb29aa8746e (diff)
downloadopenttd-285a4a106f9b679cf3751532fd8346c9262a4209.tar.xz
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
Diffstat (limited to 'src')
-rw-r--r--src/console_cmds.cpp2
-rw-r--r--src/dummy_land.cpp2
-rw-r--r--src/engine.cpp2
-rw-r--r--src/genworld.cpp3
-rw-r--r--src/industry_cmd.cpp2
-rw-r--r--src/landscape.cpp2
-rw-r--r--src/newgrf_house.cpp2
-rw-r--r--src/newgrf_industrytiles.cpp2
-rw-r--r--src/screenshot.cpp3
-rw-r--r--src/signs.cpp2
-rw-r--r--src/station.cpp1
-rw-r--r--src/station_cmd.cpp2
-rw-r--r--src/texteff.cpp3
-rw-r--r--src/tree_cmd.cpp2
-rw-r--r--src/viewport_func.h1
-rw-r--r--src/viewport_type.h1
-rw-r--r--src/waypoint.cpp2
17 files changed, 19 insertions, 15 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index f92024a5d..b47a6d521 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -23,7 +23,7 @@
#include "genworld.h"
#include "network/network.h"
#include "strings_func.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "window_func.h"
#include "functions.h"
#include "map_func.h"
diff --git a/src/dummy_land.cpp b/src/dummy_land.cpp
index fe605b90c..1d4491f16 100644
--- a/src/dummy_land.cpp
+++ b/src/dummy_land.cpp
@@ -8,7 +8,7 @@
#include "tile_cmd.h"
#include "command_func.h"
#include "table/sprites.h"
-#include "viewport.h"
+#include "viewport_func.h"
static void DrawTile_Dummy(TileInfo *ti)
{
diff --git a/src/engine.cpp b/src/engine.cpp
index 102b64316..e034994ce 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -19,7 +19,7 @@
#include "group.h"
#include "misc/autoptr.hpp"
#include "strings_func.h"
-#include "viewport.h"
+#include "gfx_func.h"
#include "functions.h"
#include "window_func.h"
#include "date_func.h"
diff --git a/src/genworld.cpp b/src/genworld.cpp
index 67aec8187..15c3f961b 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -17,7 +17,8 @@
#include "debug.h"
#include "settings_func.h"
#include "heightmap.h"
-#include "viewport.h"
+#include "viewport_func.h"
+#include "gfx_func.h"
#include "map_func.h"
#include "date_func.h"
#include "core/random_func.hpp"
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index e52e41d66..7f4fd40b9 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -11,7 +11,7 @@
#include "table/sprites.h"
#include "train.h"
#include "landscape.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "command_func.h"
#include "industry.h"
#include "town.h"
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 2f38a6e0a..8c1a83711 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -9,7 +9,7 @@
#include "spritecache.h"
#include "table/sprites.h"
#include <stdarg.h>
-#include "viewport.h"
+#include "viewport_func.h"
#include "command_func.h"
#include "landscape.h"
#include "variables.h"
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 917e85178..d54ed925f 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -6,7 +6,7 @@
#include "openttd.h"
#include "variables.h"
#include "debug.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "landscape.h"
#include "town.h"
#include "town_map.h"
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index 9ebae2fcf..a26d7167f 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -6,7 +6,7 @@
#include "openttd.h"
#include "variables.h"
#include "debug.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "landscape.h"
#include "newgrf.h"
#include "industry.h"
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 2ee41caab..c20512d6c 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -5,7 +5,8 @@
#include "debug.h"
#include "table/strings.h"
#include "fileio.h"
-#include "viewport.h"
+#include "viewport_func.h"
+#include "gfx_func.h"
#include "player.h"
#include "screenshot.h"
#include "variables.h"
diff --git a/src/signs.cpp b/src/signs.cpp
index 0e7d200dc..7ae5d631f 100644
--- a/src/signs.cpp
+++ b/src/signs.cpp
@@ -13,7 +13,7 @@
#include "variables.h"
#include "misc/autoptr.hpp"
#include "strings_func.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "zoom_func.h"
#include "functions.h"
#include "window_func.h"
diff --git a/src/station.cpp b/src/station.cpp
index af16d6960..2a04a88c6 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -10,7 +10,6 @@
#include "table/sprites.h"
#include "table/strings.h"
#include "station.h"
-#include "viewport.h"
#include "town.h"
#include "news.h"
#include "saveload.h"
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 72ca2ce60..254b1f431 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -14,7 +14,7 @@
#include "table/sprites.h"
#include "table/strings.h"
#include "station.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "command_func.h"
#include "town.h"
#include "news.h"
diff --git a/src/texteff.cpp b/src/texteff.cpp
index 9aeefdace..67c8949a7 100644
--- a/src/texteff.cpp
+++ b/src/texteff.cpp
@@ -6,7 +6,7 @@
#include "openttd.h"
#include "tile_cmd.h"
#include "landscape.h"
-#include "viewport.h"
+#include "gfx_func.h"
#include "saveload.h"
#include "console.h"
#include "variables.h"
@@ -20,6 +20,7 @@
#include "core/alloc_func.hpp"
#include "date_func.h"
#include "functions.h"
+#include "viewport_func.h"
enum {
MAX_TEXTMESSAGE_LENGTH = 200,
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp
index 5d00f96fc..f1d0b58aa 100644
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -12,7 +12,7 @@
#include "tile_cmd.h"
#include "landscape.h"
#include "tree_map.h"
-#include "viewport.h"
+#include "viewport_func.h"
#include "command_func.h"
#include "economy_func.h"
#include "town.h"
diff --git a/src/viewport_func.h b/src/viewport_func.h
index 9a8d69125..dbdd69327 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -5,6 +5,7 @@
#ifndef VIEWPORT_FUNC_H
#define VIEWPORT_FUNC_H
+#include "gfx_type.h"
#include "viewport_type.h"
#include "vehicle_type.h"
diff --git a/src/viewport_type.h b/src/viewport_type.h
index 4d9f7c75a..55504ebb6 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -5,6 +5,7 @@
#ifndef VIEWPORT_TYPE_H
#define VIEWPORT_TYPE_H
+#include "core/geometry_type.hpp"
#include "zoom_type.h"
#include "window_type.h"
#include "tile_type.h"
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 2aaecd7c6..72e43631c 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -21,7 +21,7 @@
#include "newgrf.h"
#include "misc/autoptr.hpp"
#include "strings_func.h"
-#include "viewport.h"
+#include "gfx_func.h"
#include "functions.h"
#include "window_func.h"
#include "economy_func.h"