From e55b52f356a457529696f990f2e9d8448ab9f0ac Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 24 Apr 2018 11:58:04 +0200 Subject: [PATCH] Moving the files to hwrenderer/ --- src/CMakeLists.txt | 2 +- src/gl/scene/gl_drawinfo.h | 2 +- src/{gl => hwrenderer}/scene/hw_drawinfo.h | 0 .../gl_renderhacks.cpp => hwrenderer/scene/hw_renderhacks.cpp} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{gl => hwrenderer}/scene/hw_drawinfo.h (100%) rename src/{gl/scene/gl_renderhacks.cpp => hwrenderer/scene/hw_renderhacks.cpp} (99%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 79c4856fa..07749530d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -822,7 +822,6 @@ set( FASTMATH_SOURCES gl/scene/gl_walls.cpp gl/scene/gl_sprite.cpp gl/scene/gl_skydome.cpp - gl/scene/gl_renderhacks.cpp gl/scene/gl_weapon.cpp gl/scene/gl_scene.cpp gl/scene/gl_swscene.cpp @@ -834,6 +833,7 @@ set( FASTMATH_SOURCES gl_load/gl_load.c gl/models/gl_models.cpp hwrenderer/dynlights/hw_dynlightdata.cpp + hwrenderer/scene/hw_renderhacks.cpp r_data/models/models.cpp r_data/matrix.cpp sound/adlmidi/adldata.cpp diff --git a/src/gl/scene/gl_drawinfo.h b/src/gl/scene/gl_drawinfo.h index 5643fc90c..61297124a 100644 --- a/src/gl/scene/gl_drawinfo.h +++ b/src/gl/scene/gl_drawinfo.h @@ -2,7 +2,7 @@ #define __GL_DRAWINFO_H #include "gl/scene/gl_wall.h" -#include "hw_drawinfo.h" +#include "hwrenderer/scene/hw_drawinfo.h" enum GLDrawItemType { diff --git a/src/gl/scene/hw_drawinfo.h b/src/hwrenderer/scene/hw_drawinfo.h similarity index 100% rename from src/gl/scene/hw_drawinfo.h rename to src/hwrenderer/scene/hw_drawinfo.h diff --git a/src/gl/scene/gl_renderhacks.cpp b/src/hwrenderer/scene/hw_renderhacks.cpp similarity index 99% rename from src/gl/scene/gl_renderhacks.cpp rename to src/hwrenderer/scene/hw_renderhacks.cpp index ad35195cd..2ae37e37b 100644 --- a/src/gl/scene/gl_renderhacks.cpp +++ b/src/hwrenderer/scene/hw_renderhacks.cpp @@ -31,7 +31,7 @@ #include "g_level.h" #include "g_levellocals.h" -#include "hw_drawinfo.h" +#include "hwrenderer/scene/hw_drawinfo.h" #include "gl/utility/gl_clock.h" sector_t * gl_FakeFlat(sector_t * sec, sector_t * dest, area_t in_area, bool back);