Skip to content

Commit

Permalink
Include Config.hpp in Common.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Dec 12, 2017
1 parent 0b7065b commit e6253a5
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 29 deletions.
1 change: 1 addition & 0 deletions src/Common/Common.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once

#include "Common/Config.hpp"
#include "Common/CommonImportExport.inl"
#include "Include/xrAPI/xrAPI.h"
1 change: 0 additions & 1 deletion src/Common/Platform.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "Common/Config.hpp"

#if defined(__linux__)
#define LINUX
Expand Down
1 change: 0 additions & 1 deletion src/Layers/xrRender/DetailManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "xrCore/xrPool.h"
#include "DetailFormat.h"
#include "DetailModel.h"
#include "Common/Config.hpp"

#ifdef _EDITOR
//. #include "ESceneClassList.h"
Expand Down
2 changes: 0 additions & 2 deletions src/Layers/xrRender/FTreeVisual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#include "xrCore/FMesh.hpp"
#include "FTreeVisual.h"

#include "Common/Config.hpp"

shared_str m_xform;
shared_str m_xform_v;
shared_str c_consts;
Expand Down
1 change: 0 additions & 1 deletion src/Layers/xrRender/xrRender_console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#pragma hdrstop

#include "xrRender_console.h"
#include "Common/Config.hpp"

u32 ps_Preset = 2;
xr_token qpreset_token[] = {{"Minimum", 0}, {"Low", 1}, {"Default", 2}, {"High", 3}, {"Extreme", 4}, {nullptr, 0}};
Expand Down
2 changes: 0 additions & 2 deletions src/Layers/xrRenderPC_R2/r2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "Layers/xrRender/dxWallMarkArray.h"
#include "Layers/xrRender/dxUIShader.h"

#include "Common/Config.hpp"

CRender RImplementation;

//////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 0 additions & 2 deletions src/Layers/xrRenderPC_R3/r3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include "Layers/xrRenderDX10/3DFluid/dx103DFluidManager.h"
#include "D3DX10Core.h"

#include "Common/Config.hpp"

CRender RImplementation;

//////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 0 additions & 2 deletions src/Layers/xrRenderPC_R4/r4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include "Layers/xrRender/ShaderResourceTraits.h"
#include "D3DX10Core.h"

#include "Common/Config.hpp"

CRender RImplementation;

//////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 0 additions & 2 deletions src/xrEngine/Environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include "Include/xrRender/RainRender.h"
#include "Include/xrRender/ThunderboltRender.h"

#include "Common/Config.hpp"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 0 additions & 2 deletions src/xrEngine/Environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include "xrCommon/xr_vector.h"
#include "xrCommon/xr_map.h"

#include "Common/Config.hpp"

// refs
class ENGINE_API IRender_Visual;
class ENGINE_API CInifile;
Expand Down
2 changes: 0 additions & 2 deletions src/xrEngine/Environment_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include "Common/object_broker.h"
#include "Common/LevelGameDef.h"

#include "Common/Config.hpp"

void CEnvModifier::load(IReader* fs, u32 version)
{
use_flags.one();
Expand Down
2 changes: 0 additions & 2 deletions src/xrEngine/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include "IGame_Persistent.h"
#include "xrScriptEngine/ScriptExporter.hpp"

#include "Common/Config.hpp"

ENGINE_API CRenderDevice Device;
ENGINE_API CLoadScreenRenderer load_screen_renderer;

Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
#include "ActorHelmet.h"
#include "UI/UIDragDropReferenceList.h"

#include "Common/Config.hpp"

const u32 patch_frames = 50;
const float respawn_delay = 1.f;
const float respawn_auto = 7.f;
Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/CharacterPhysicsSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
#include "activatingcharcollisiondelay.h"
#include "stalker_movement_manager_smart_cover.h"

#include "Common/Config.hpp"

// const float default_hinge_friction = 5.f;//gray_wolf comment
#ifdef DEBUG
#include "PHDebug.h"
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/HudItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "player_hud.h"
#include "xrCore/Animation/SkeletonMotions.hpp"

#include "Common/Config.hpp"
#include "ui_base.h"

CHudItem::CHudItem()
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/Level_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include "Include/xrRender/DebugRender.h"

#include "Common/Config.hpp"

#ifdef DEBUG
#include "ai/monsters/BaseMonster/base_monster.h"
Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/WeaponMagazined.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include "script_game_object.h"
#include "HudSound.h"

#include "Common/Config.hpp"

CUIXml* pWpnScopeXml = nullptr;

void createWpnScopeXML()
Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/WeaponMagazinedWGrenade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include "xrPhysics/MathUtils.h"
#include "player_hud.h"

#include "Common/Config.hpp"

#ifdef DEBUG
#include "PHDebug.h"
#endif
Expand Down

0 comments on commit e6253a5

Please sign in to comment.