Skip to content

Commit

Permalink
rgl: Update header includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 21, 2015
1 parent 9c0fb6d commit e4e7c13
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
20 changes: 17 additions & 3 deletions src/Layers/xrRenderPC_GL/rgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@
#include "glUIShader.h"
#include "glRenderDeviceRender.h"

CRender RImplementation;
CRender RImplementation;

extern ENGINE_API BOOL r2_sun_static;
extern ENGINE_API BOOL r2_advanced_pp; // advanced post process and effects
//////////////////////////////////////////////////////////////////////////
class CGlow : public IRender_Glow
{
public:
bool bActive;
public:
CGlow() : bActive(false) { }
virtual void set_active(bool b) { bActive = b; }
virtual bool get_active() { return bActive; }
virtual void set_position(const Fvector& P) { }
virtual void set_direction(const Fvector& D) { }
virtual void set_radius(float R) { }
virtual void set_texture(LPCSTR name) { }
virtual void set_color(const Fcolor& C) { }
virtual void set_color(float r, float g, float b) { }
};

float r_dtex_range = 50.f;
//////////////////////////////////////////////////////////////////////////
Expand Down
28 changes: 13 additions & 15 deletions src/Layers/xrRenderPC_GL/rgl.h
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
#pragma once

#include "../xrRender/r__dsgraph_structure.h"
#include "../xrRender/r__occlusion.h"
#include "Layers/xrRender/D3DXRenderBase.h"
#include "Layers/xrRender/r__occlusion.h"

#include "../xrRender/PSLibrary.h"
#include "Layers/xrRender/PSLibrary.h"

#include "r2_types.h"
#include "gl_rendertarget.h"
#include "glRenderDeviceRender.h"

#include "../xrRender/hom.h"
#include "../xrRender/detailmanager.h"
#include "../xrRender/modelpool.h"
#include "../xrRender/wallmarksengine.h"
#include "Layers/xrRender/hom.h"
#include "Layers/xrRender/detailmanager.h"
#include "Layers/xrRender/modelpool.h"
#include "Layers/xrRender/wallmarksengine.h"

#include "smap_allocator.h"
#include "../xrRender/light_db.h"
#include "../xrRender/light_render_direct.h"
#include "../xrRender/LightTrack.h"
#include "Layers/xrRender/light_db.h"
#include "Layers/xrRender/light_render_direct.h"
#include "Layers/xrRender/LightTrack.h"

#include "../xrRender/SkeletonCustom.h"
#include "../../xrEngine/irenderable.h"
#include "../../xrEngine/fmesh.h"
#include "xrEngine/IRenderable.h"
#include "xrCore/FMesh.hpp"

#define HW RImplementation
class dxRender_Visual;

class CGlow : public IRender_Glow
{
Expand Down

0 comments on commit e4e7c13

Please sign in to comment.