summaryrefslogtreecommitdiff
path: root/src/blitter
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/blitter
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/blitter')
-rw-r--r--src/blitter/32bpp_anim.cpp1
-rw-r--r--src/blitter/32bpp_anim.hpp1
-rw-r--r--src/blitter/32bpp_base.cpp1
-rw-r--r--src/blitter/32bpp_base.hpp1
-rw-r--r--src/blitter/32bpp_optimized.cpp1
-rw-r--r--src/blitter/32bpp_simple.cpp1
-rw-r--r--src/blitter/base.hpp1
7 files changed, 1 insertions, 6 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp
index 3390838e0..a119eac47 100644
--- a/src/blitter/32bpp_anim.cpp
+++ b/src/blitter/32bpp_anim.cpp
@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../core/math_func.hpp"
-#include "../gfx_func.h"
#include "../video/video_driver.hpp"
#include "32bpp_anim.hpp"
diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp
index 9063bf14c..51ad48ab4 100644
--- a/src/blitter/32bpp_anim.hpp
+++ b/src/blitter/32bpp_anim.hpp
@@ -13,7 +13,6 @@
#define BLITTER_32BPP_ANIM_HPP
#include "32bpp_optimized.hpp"
-#include "factory.hpp"
class Blitter_32bppAnim : public Blitter_32bppOptimized {
private:
diff --git a/src/blitter/32bpp_base.cpp b/src/blitter/32bpp_base.cpp
index 427a534c0..a7d7e34a2 100644
--- a/src/blitter/32bpp_base.cpp
+++ b/src/blitter/32bpp_base.cpp
@@ -10,7 +10,6 @@
/** @file 32bpp_base.cpp Implementation of base for 32 bpp blitters. */
#include "../stdafx.h"
-#include "../gfx_func.h"
#include "32bpp_base.hpp"
void *Blitter_32bppBase::MoveTo(const void *video, int x, int y)
diff --git a/src/blitter/32bpp_base.hpp b/src/blitter/32bpp_base.hpp
index a69315abd..5967de578 100644
--- a/src/blitter/32bpp_base.hpp
+++ b/src/blitter/32bpp_base.hpp
@@ -14,6 +14,7 @@
#include "base.hpp"
#include "../core/bitmath_func.hpp"
+#include "../gfx_func.h"
class Blitter_32bppBase : public Blitter {
public:
diff --git a/src/blitter/32bpp_optimized.cpp b/src/blitter/32bpp_optimized.cpp
index bfc8bd422..492e4b66f 100644
--- a/src/blitter/32bpp_optimized.cpp
+++ b/src/blitter/32bpp_optimized.cpp
@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../zoom_func.h"
-#include "../gfx_func.h"
#include "../core/math_func.hpp"
#include "32bpp_optimized.hpp"
diff --git a/src/blitter/32bpp_simple.cpp b/src/blitter/32bpp_simple.cpp
index 03393cfbf..d75f0a0d4 100644
--- a/src/blitter/32bpp_simple.cpp
+++ b/src/blitter/32bpp_simple.cpp
@@ -10,7 +10,6 @@
/** @file 32bpp_simple.cpp Implementation of the simple 32 bpp blitter. */
#include "../stdafx.h"
-#include "../gfx_func.h"
#include "../zoom_func.h"
#include "32bpp_simple.hpp"
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp
index 278f3b7c8..c8973c542 100644
--- a/src/blitter/base.hpp
+++ b/src/blitter/base.hpp
@@ -14,7 +14,6 @@
#include "../spritecache.h"
#include "../spriteloader/spriteloader.hpp"
-#include "../zoom_type.h"
enum BlitterMode {
BM_NORMAL,