summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-15 16:41:15 +0000
committerrubidium <rubidium@openttd.org>2010-01-15 16:41:15 +0000
commit82fc28f77f4ba1d613c1930781f77b45e4af5121 (patch)
treeb543a897f7be0f9b23b210bbf8c4fcb246e8f7fc /src/video
parentf380a7239d3f40c08408e435d28db11f96a2ea4d (diff)
downloadopenttd-82fc28f77f4ba1d613c1930781f77b45e4af5121.tar.xz
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
Diffstat (limited to 'src/video')
-rw-r--r--src/video/allegro_v.cpp3
-rw-r--r--src/video/dedicated_v.cpp2
-rw-r--r--src/video/sdl_v.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp
index dac11071e..9d9ef1f57 100644
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -18,16 +18,13 @@
#include "../stdafx.h"
#include "../openttd.h"
-#include "../debug.h"
#include "../gfx_func.h"
#include "../variables.h"
#include "../rev.h"
#include "../blitter/factory.hpp"
#include "../network/network.h"
-#include "../core/math_func.hpp"
#include "../core/random_func.hpp"
#include "../functions.h"
-#include "../texteff.hpp"
#include "allegro_v.h"
#include <allegro.h>
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index d7dcc36af..69de090ab 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -13,8 +13,8 @@
#ifdef ENABLE_NETWORK
-#include "../openttd.h"
#include "../gfx_func.h"
+#include "../network/network.h"
#include "../network/network_internal.h"
#include "../console_func.h"
#include "../variables.h"
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index 61f37a622..399b5df12 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -22,6 +22,7 @@
#include "../functions.h"
#include "../thread/thread.h"
#include "../genworld.h"
+#include "../core/random_func.hpp"
#include "sdl_v.h"
#include <SDL.h>