summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-16 23:58:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-17 14:02:30 +0300
commit3f7f55d24f8adbfaa6e534734e955fb3c37792ff (patch)
tree30c90bdab5d99a6e0e75dc5ee593f641bd1ad88f /src/render
parentdeec925bcd6ef5ea611082263dc0a7e4904345d2 (diff)
downloadmanaverse-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.gz
manaverse-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.bz2
manaverse-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.xz
manaverse-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.zip
Remove useless includes from .h files.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.h1
-rw-r--r--src/render/mgl.h1
-rw-r--r--src/render/mgltypes.h1
-rw-r--r--src/render/mglx.h1
-rw-r--r--src/render/mglxtypes.h1
-rw-r--r--src/render/mobileopenglgraphics.h3
-rw-r--r--src/render/modernopenglgraphics.h3
-rw-r--r--src/render/normalopenglgraphics.h3
-rw-r--r--src/render/nullopenglgraphics.h3
-rw-r--r--src/render/rendererslistsdl2.h6
-rw-r--r--src/render/safeopenglgraphics.h1
11 files changed, 7 insertions, 17 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 33ab2954e..c803b7746 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -67,6 +67,7 @@
#define RENDER_GRAPHICS_H
#include "sdlshared.h"
+#include "main.h"
#include "enums/render/rendertype.h"
diff --git a/src/render/mgl.h b/src/render/mgl.h
index 8ae0d9f67..d8de629a5 100644
--- a/src/render/mgl.h
+++ b/src/render/mgl.h
@@ -22,6 +22,7 @@
#define RENDER_MGL_H
#include "main.h"
+
#ifdef USE_OPENGL
#include "render/mgldefines.h"
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 510e77354..330524232 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -22,6 +22,7 @@
#define RENDER_MGLTYPES_H
#include "main.h"
+
#ifdef USE_OPENGL
#include "render/mgldefines.h"
diff --git a/src/render/mglx.h b/src/render/mglx.h
index 094520e76..575041a94 100644
--- a/src/render/mglx.h
+++ b/src/render/mglx.h
@@ -22,6 +22,7 @@
#define RENDER_MGLX_H
#include "main.h"
+
#if defined(USE_OPENGL) && defined(USE_X11)
#include "render/mglxtypes.h"
diff --git a/src/render/mglxtypes.h b/src/render/mglxtypes.h
index 427c0f202..c639a7d80 100644
--- a/src/render/mglxtypes.h
+++ b/src/render/mglxtypes.h
@@ -22,6 +22,7 @@
#define RENDER_MGLXTYPES_H
#include "main.h"
+
#if defined(USE_OPENGL) && defined(USE_X11)
#include <X11/Xlib.h>
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h
index 304481a39..16442bbc3 100644
--- a/src/render/mobileopenglgraphics.h
+++ b/src/render/mobileopenglgraphics.h
@@ -23,7 +23,6 @@
#ifndef RENDER_MOBILEOPENGLGRAPHICS_H
#define RENDER_MOBILEOPENGLGRAPHICS_H
-#include "main.h"
#ifdef USE_OPENGL
#include "localconsts.h"
@@ -43,8 +42,6 @@
#include <GL/glext.h>
#endif
-#include <set>
-
class OpenGLGraphicsVertexes;
class MobileOpenGLGraphics final : public Graphics
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index e395afb9c..db20aa2fb 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -23,7 +23,6 @@
#ifndef RENDER_MODERNOPENGLGRAPHICS_H
#define RENDER_MODERNOPENGLGRAPHICS_H
-#include "main.h"
#if defined USE_OPENGL && !defined ANDROID
#include "localconsts.h"
@@ -43,8 +42,6 @@
#include <GL/glext.h>
#endif
-#include <set>
-
class OpenGLGraphicsVertexes;
class ShaderProgram;
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h
index 29145115d..a3fbdc1fb 100644
--- a/src/render/normalopenglgraphics.h
+++ b/src/render/normalopenglgraphics.h
@@ -23,7 +23,6 @@
#ifndef RENDER_NORMALOPENGLGRAPHICS_H
#define RENDER_NORMALOPENGLGRAPHICS_H
-#include "main.h"
#if defined USE_OPENGL && !defined ANDROID
#include "localconsts.h"
@@ -43,8 +42,6 @@
#include <GL/glext.h>
#endif
-#include <set>
-
class OpenGLGraphicsVertexes;
class NormalOpenGLGraphics final : public Graphics
diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h
index 5a5137f3d..f159fc7de 100644
--- a/src/render/nullopenglgraphics.h
+++ b/src/render/nullopenglgraphics.h
@@ -23,7 +23,6 @@
#ifndef RENDER_NULLOPENGLGRAPHICS_H
#define RENDER_NULLOPENGLGRAPHICS_H
-#include "main.h"
#if defined USE_OPENGL
#include "localconsts.h"
@@ -43,8 +42,6 @@
#include <GL/glext.h>
#endif
-#include <set>
-
class OpenGLGraphicsVertexes;
class NullOpenGLGraphics final : public Graphics
diff --git a/src/render/rendererslistsdl2.h b/src/render/rendererslistsdl2.h
index 15e307dba..f97228856 100644
--- a/src/render/rendererslistsdl2.h
+++ b/src/render/rendererslistsdl2.h
@@ -21,12 +21,10 @@
#ifndef RENDER_RENDERERSLISTSDL2_H
#define RENDER_RENDERERSLISTSDL2_H
-#include "utils/gettext.h"
-
-#include "render/renderers.h"
-
#ifdef USE_SDL2
+#include "utils/gettext.h"
+
#ifdef USE_OPENGL
#ifdef ANDROID
// defined OPENGL ANDROID
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index 04bf478a3..440ba7a39 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -23,7 +23,6 @@
#ifndef RENDER_SAFEOPENGLGRAPHICS_H
#define RENDER_SAFEOPENGLGRAPHICS_H
-#include "main.h"
#if defined USE_OPENGL && !defined ANDROID
#include "render/graphics.h"