summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-07 15:41:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-07 15:41:00 +0300
commitf69f346518f473f4f8fb13966e5831d105d1239c (patch)
tree4c5f44aaedbeb07af2197720c43ed86d68d0605d /src/render
parent0ea2569615fb54cfd3d0606fb9cb86aee9efea4c (diff)
downloadmv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.gz
mv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.bz2
mv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.xz
mv-f69f346518f473f4f8fb13966e5831d105d1239c.zip
Move image class into image directory.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mobileopengl2graphics.cpp3
-rw-r--r--src/render/mobileopenglgraphics.cpp3
-rw-r--r--src/render/modernopenglgraphics.cpp3
-rw-r--r--src/render/normalopenglgraphics.cpp3
-rw-r--r--src/render/nullopenglgraphics.cpp3
-rw-r--r--src/render/safeopenglgraphics.cpp3
-rw-r--r--src/render/sdl2graphics.cpp3
-rw-r--r--src/render/sdl2softwaregraphics.cpp3
-rw-r--r--src/render/sdlgraphics.cpp3
-rw-r--r--src/render/surfacegraphics.cpp4
10 files changed, 20 insertions, 11 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp
index 5feaa0d2e..017d02e58 100644
--- a/src/render/mobileopengl2graphics.cpp
+++ b/src/render/mobileopengl2graphics.cpp
@@ -37,10 +37,11 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/delete2.h"
#include "utils/sdlcheckutils.h"
#include "utils/sdlhelper.h"
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index c8d4a93d4..dac566822 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -33,10 +33,11 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/sdlcheckutils.h"
#include "debug.h"
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index afebaf1c5..6eb98601a 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -37,10 +37,11 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/delete2.h"
#include "utils/sdlcheckutils.h"
#include "utils/sdlhelper.h"
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 751877bfe..22aef9cda 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -30,10 +30,11 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/sdlcheckutils.h"
#include "debug.h"
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index d4e878479..6d4795e94 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -32,10 +32,11 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
+#include "resources/image/image.h"
+
#include "debug.h"
GLuint NullOpenGLGraphics::mTextureBinded = 0;
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index 48fe5e2d2..079ea9d31 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -25,10 +25,11 @@
#include "render/opengl/mgl.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
#include "resources/safeopenglimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/sdlcheckutils.h"
#include "debug.h"
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index babeeb6fd..f00846563 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -75,11 +75,12 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagehelper.h"
#include "resources/imagerect.h"
#include "resources/sdl2imagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/sdlcheckutils.h"
#include "utils/sdlpixel.h"
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 125ba8847..130d34b12 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -32,11 +32,12 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagehelper.h"
#include "resources/imagerect.h"
#include "resources/sdl2softwareimagehelper.h"
+#include "resources/image/image.h"
+
#include "utils/sdlcheckutils.h"
#include "utils/sdlpixel.h"
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index 40978f2d6..b8c770bf4 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -34,9 +34,10 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "debug.h"
#ifndef SDL_BYTEORDER
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp
index e6fc33298..f499e2c14 100644
--- a/src/render/surfacegraphics.cpp
+++ b/src/render/surfacegraphics.cpp
@@ -22,12 +22,12 @@
#include "render/surfacegraphics.h"
-#include "resources/image.h"
-
#ifndef USE_SDL2
#include "resources/surfaceimagehelper.h"
#endif // USE_SDL2
+#include "resources/image/image.h"
+
#include "debug.h"
SurfaceGraphics::SurfaceGraphics() :