Skip to content

Commit

Permalink
Remove duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 30, 2014
1 parent 52462dc commit 72423af
Show file tree
Hide file tree
Showing 59 changed files with 40 additions and 5,300 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/DetailManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#pragma hdrstop

#include "DetailManager.h"
#include "cl_intersect.h"
#include "xrCDB/Intersect.hpp"

#ifdef _EDITOR
# include "ESceneClassList.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/DetailManager_Decompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#pragma hdrstop

#include "DetailManager.h"
#include "cl_intersect.h"
#include "xrCDB/Intersect.hpp"

#ifdef _EDITOR
# include "scene.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/FSkinned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ void CSkeletonX_ext::_Load_hw (Fvisual& V, void * _verts_)
//-----------------------------------------------------------------------------------------------------
// Wallmarks
//-----------------------------------------------------------------------------------------------------
#include "cl_intersect.h"
#include "xrCDB/Intersect.hpp"

#ifdef DEBUG

Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/SkeletonCustom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ void CKinematics::EnumBoneVertices (SEnumVerticesCallback &C, u16 bone_id)
for ( u32 i=0; i<children.size(); i++ )
LL_GetChild( i )->EnumBoneVertices( C, bone_id );
}
#include "cl_intersect.h"
#include "xrCDB/Intersect.hpp"

DEFINE_VECTOR(Fobb,OBBVec,OBBVecIt);

Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/SkeletonX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void get_pos_bones(const vertBoned4W &vert, Fvector& p, CKinematics* Parent )
//-----------------------------------------------------------------------------------------------------
// Wallmarks
//-----------------------------------------------------------------------------------------------------
#include "cl_intersect.h"
#include "xrCDB/Intersect.hpp"
BOOL CSkeletonX::_PickBoneSoft1W (IKinematics::pick_result &r, float dist, const Fvector& S, const Fvector& D, u16* indices, CBoneData::FacesVec& faces)
{
return pick_bone<vertBoned1W>( Vertices1W, Parent, r, dist, S, D, indices, faces);
Expand Down
Loading

0 comments on commit 72423af

Please sign in to comment.