Skip to content

Commit

Permalink
xrRenderPC_R1: fix case-sensitive includes
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Aug 27, 2018
1 parent ad96be5 commit 6f16313
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/Light_DB.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "light.h"
#include "light_package.h"
#include "Light_Package.h"

class CLight_DB
{
Expand Down
10 changes: 5 additions & 5 deletions src/Layers/xrRender/R_Backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#define PGO(a)
#endif

#include "r_DStreams.h"
#include "R_DStreams.h"
#include "r_constants_cache.h"
#include "r_backend_xform.h"
#include "r_backend_hemi.h"
#include "r_backend_tree.h"
#include "R_Backend_xform.h"
#include "R_Backend_hemi.h"
#include "R_Backend_tree.h"

#ifdef USE_DX11
#include "Layers/xrRenderPC_R4/r_backend_lod.h"
Expand Down Expand Up @@ -601,7 +601,7 @@ class ECORE_API CBackend
void dbg_DrawEllipse(Fmatrix& T, u32 C);
#endif

CBackend() { Invalidate(); };
CBackend() { Invalidate(); }

#if defined(USE_DX10) || defined(USE_DX11)
private:
Expand Down
8 changes: 4 additions & 4 deletions src/Layers/xrRender/R_Backend_Runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#define R_BACKEND_RUNTIMEH
#pragma once

#include "sh_texture.h"
#include "sh_matrix.h"
#include "sh_constant.h"
#include "sh_rt.h"
#include "SH_Texture.h"
#include "SH_Matrix.h"
#include "SH_Constant.h"
#include "SH_RT.h"

#if defined(USE_OGL)
#include "Layers/xrRenderGL/glR_Backend_Runtime.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/ResourceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define ResourceManagerH
#pragma once

#include "shader.h"
#include "Shader.h"
#include "tss_def.h"
#include "TextureDescrManager.h"
#include "xrScriptEngine/script_engine.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/blenders/Blender.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define AFX_BLENDER_H__A023332E_C09B_4D93_AA53_57C052CCC075__INCLUDED_
#pragma once

#include "xrEngine/properties.h"
#include "xrEngine/Properties.h"
#include "Blender_Recorder.h"

#pragma pack(push, 4)
Expand Down
24 changes: 24 additions & 0 deletions src/Layers/xrRenderPC_R1/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
project(xrRenderPC_R1)

list(APPEND DIRS
"."
)


add_dir("${DIRS}")

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_SOURCE_DIR}/../../../Externals/luabind
${CMAKE_CURRENT_SOURCE_DIR}/../../../sdk/include
${SDL_INCLUDE_DIRS}
)

#list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./LevelCompilerLoggerWindow.cpp")
#list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./LevelCompilerLoggerWindow.hpp")

add_definitions(-DXRRENDER_R1_EXPORTS)
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})

set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
target_link_libraries(${PROJECT_NAME} xrCore luabind LuaJIT xrCDB xrEngine xrParticles xrScriptEngine xrAPI xrMiscMath ${SDL_LIBRARIES})
4 changes: 2 additions & 2 deletions src/Layers/xrRenderPC_R1/FStaticRender.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#include "GlowManager.h"
#include "Layers/xrRender/WallmarksEngine.h"
#include "FStaticRender_RenderTarget.h"
#include "Layers/xrRender/modelpool.h"
#include "Layers/xrRender/ModelPool.h"
#include "LightShadows.h"
#include "LightProjector.h"
#include "LightPPA.h"
#include "Layers/xrRender/light_DB.h"
#include "Layers/xrRender/Light_DB.h"
#include "xrCore/FMesh.hpp"

class dxRender_Visual;
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_R1/LightPPA.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define AFX_LIGHTPPA_H__E5B97AC9_84A6_4773_9FEF_3BC5D1CEF8B6__INCLUDED_
#pragma once

#include "Layers/xrRender/Light.h"
#include "Layers/xrRender/light.h"

struct CLightR_Vertex
{
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_R1/LightShadows.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define AFX_LIGHTSHADOWS_H__CFA216D9_CACB_4515_9FBE_7C531649168F__INCLUDED_
#pragma once

#include "Layers/xrRender/Light.h"
#include "Layers/xrRender/light.h"
#include "Layers/xrRender/r__dsgraph_types.h"

class CLightShadows
Expand Down
2 changes: 2 additions & 0 deletions src/Layers/xrRenderPC_R1/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
#endif

#include "xrEngine/stdafx.h"
#if defined(WINDOWS)
#include <d3d9.h>
#include <d3dx9.h>

#include "Layers/xrRender/xrD3DDefs.h"
#endif
#include "Layers/xrRender/Debug/dxPixEventWrapper.h"
#include "Layers/xrRender/HW.h"
#include "Layers/xrRender/Shader.h"
Expand Down

0 comments on commit 6f16313

Please sign in to comment.