- moved hw_Sections to r_data, because this is an essential component of the dynamic light system now so it is needed for all renderers.

This commit is contained in:
Christoph Oelckers 2018-11-07 00:53:44 +01:00
parent bad2a7c49b
commit 9661c3b53c
4 changed files with 3 additions and 4 deletions

View File

@ -1050,7 +1050,6 @@ set (PCH_SOURCES
gl/textures/gl_hwtexture.cpp gl/textures/gl_hwtexture.cpp
gl/textures/gl_samplers.cpp gl/textures/gl_samplers.cpp
hwrenderer/data/hw_vertexbuilder.cpp hwrenderer/data/hw_vertexbuilder.cpp
hwrenderer/data/hw_sections.cpp
hwrenderer/data/flatvertices.cpp hwrenderer/data/flatvertices.cpp
hwrenderer/data/hw_viewpointbuffer.cpp hwrenderer/data/hw_viewpointbuffer.cpp
hwrenderer/dynlights/hw_aabbtree.cpp hwrenderer/dynlights/hw_aabbtree.cpp
@ -1143,6 +1142,7 @@ set (PCH_SOURCES
r_data/renderstyle.cpp r_data/renderstyle.cpp
r_data/r_interpolate.cpp r_data/r_interpolate.cpp
r_data/r_vanillatrans.cpp r_data/r_vanillatrans.cpp
r_data/r_sections.cpp
r_data/models/models_md3.cpp r_data/models/models_md3.cpp
r_data/models/models_md2.cpp r_data/models/models_md2.cpp
r_data/models/models_voxel.cpp r_data/models/models_voxel.cpp

View File

@ -42,7 +42,7 @@
#include "p_blockmap.h" #include "p_blockmap.h"
#include "p_local.h" #include "p_local.h"
#include "p_destructible.h" #include "p_destructible.h"
#include "hwrenderer/data/hw_sections.h" #include "r_data/r_sections.h"
struct FLevelLocals struct FLevelLocals
{ {

View File

@ -28,13 +28,12 @@
#include "c_dispatch.h" #include "c_dispatch.h"
#include "r_defs.h" #include "r_defs.h"
#include "g_levellocals.h" #include "g_levellocals.h"
#include "hw_sections.h" #include "r_sections.h"
#include "earcut.hpp" #include "earcut.hpp"
#include "stats.h" #include "stats.h"
#include "p_setup.h" #include "p_setup.h"
#include "c_dispatch.h" #include "c_dispatch.h"
#include "memarena.h" #include "memarena.h"
#include "flatvertices.h"
using DoublePoint = std::pair<DVector2, DVector2>; using DoublePoint = std::pair<DVector2, DVector2>;