diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-13 18:25:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-13 18:25:03 +0300 |
commit | e74f8dbf42c027cdd4c32cc66036e0f4758d28c3 (patch) | |
tree | 58f1c0800aeb2131022b40ab6e38302377f9e4e4 /src/render | |
parent | fb810c2d0a117dba032353b4e60391db2bff504c (diff) | |
download | mv-e74f8dbf42c027cdd4c32cc66036e0f4758d28c3.tar.gz mv-e74f8dbf42c027cdd4c32cc66036e0f4758d28c3.tar.bz2 mv-e74f8dbf42c027cdd4c32cc66036e0f4758d28c3.tar.xz mv-e74f8dbf42c027cdd4c32cc66036e0f4758d28c3.zip |
Move rendertype.h into enums directory.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphics.h | 4 | ||||
-rw-r--r-- | src/render/renderers.h | 2 | ||||
-rw-r--r-- | src/render/rendertype.h | 36 |
3 files changed, 3 insertions, 39 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index a0612cef9..33ab2954e 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -68,12 +68,12 @@ #include "sdlshared.h" +#include "enums/render/rendertype.h" + #include "gui/color.h" #include "gui/cliprect.h" -#include "render/rendertype.h" - #include <SDL_video.h> #ifdef USE_SDL2 diff --git a/src/render/renderers.h b/src/render/renderers.h index 36dec11de..63f93f786 100644 --- a/src/render/renderers.h +++ b/src/render/renderers.h @@ -21,7 +21,7 @@ #ifndef RENDER_RENDERERS_H #define RENDER_RENDERERS_H -#include "render/rendertype.h" +#include "enums/render/rendertype.h" RenderType intToRenderType(const int mode); diff --git a/src/render/rendertype.h b/src/render/rendertype.h deleted file mode 100644 index c20a1171c..000000000 --- a/src/render/rendertype.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-2015 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef RENDER_RENDERTYPE_H -#define RENDER_RENDERTYPE_H - -enum RenderType -{ - RENDER_SOFTWARE = 0, - RENDER_NORMAL_OPENGL = 1, - RENDER_SAFE_OPENGL = 2, - RENDER_GLES_OPENGL = 3, - RENDER_SDL2_DEFAULT = 4, - RENDER_MODERN_OPENGL = 5, - RENDER_NULL = 6, - RENDER_LAST -}; - -#endif // RENDER_RENDERTYPE_H |