Skip to content

Commit

Permalink
src/xrPhysics - the case of letters in include strings has been changed
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Jun 30, 2018
1 parent 65b7a4d commit 259e035
Show file tree
Hide file tree
Showing 58 changed files with 119 additions and 120 deletions.
2 changes: 1 addition & 1 deletion src/xrPhysics/ElevatorState.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef ELEVATOR_STAETE
#define ELEVATOR_STAETE

#include "ielevatorstate.h"
#include "IElevatorState.h"
class CPHCharacter;
struct dContact;
struct SGameMtl;
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/ExtendedGeom.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"
#include "extendedgeom.h"
#include "dcylinder/dcylinder.h"
#include "ExtendedGeom.h"
#include "dcylinder/dCylinder.h"
bool IsCyliderContact(const dContact& c)
{
int geomClass = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/ExtendedGeom.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <ode/common.h>
#include <ode/collision.h>
#include "physicscommon.h"
#include "PhysicsCommon.h"
#include "MathUtils.h"
#ifdef DEBUG
#include "debug_output.h"
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/Geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#define GEOMETRY_H
#include "PhysicsCommon.h"
#include "ExtendedGeom.h"
#include "mathutilsode.h"
#include "xrEngine/iphysicsgeometry.h"
#include "MathUtilsOde.h"
#include "xrEngine/IPhysicsGeometry.h"
#include "xrCore/_cylinder.h"

// this is equivalent dMULTIPLYOP0_333 whith consequent transposion of A
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/GeometryBits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include "GeometryBits.h"

#include "phworld.h"
#include "geometry.h"
#include "PHWorld.h"
#include "Geometry.h"

enum geom_category { gct_static = 1 << 0, gct_dynamic = 1 << 1 };

Expand Down
10 changes: 5 additions & 5 deletions src/xrPhysics/IActivationShape.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "stdafx.h"
#include "iactivationshape.h"
#include "phactivationshape.h"
#include "physics.h"
#include "iphysicsshellholder.h"
#include "phcollidevalidator.h"
#include "IActivationShape.h"
#include "PHActivationShape.h"
#include "Physics.h"
#include "IPhysicsShellHolder.h"
#include "PHCollideValidator.h"
void ActivateShapeExplosive(IPhysicsShellHolder* self_obj, const Fvector& size, Fvector& out_size, Fvector& in_out_pos)
{
//////////////
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/IPHStaticGeomShell.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "physicsexternalcommon.h"
#include "PhysicsExternalCommon.h"
class IPHStaticGeomShell
{
protected:
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/IPHWorld.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "physicsexternalcommon.h"
#include "PhysicsExternalCommon.h"
#include "iphysics_scripted.h"
#include "xrCore/FTimer.h"
#include "xrCDB/xrCDB.h" // build_callback
Expand Down
6 changes: 3 additions & 3 deletions src/xrPhysics/MovementBoxDynamicActivate.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include "stdafx.h"

#include "movementboxdynamicactivate.h"
#include "MovementBoxDynamicActivate.h"

#include "ExtendedGeom.h"
#include "MathUtils.h"
#include "Physics.h"
#include "ph_valid_ode.h"
#include "MathUtilsOde.h"
#include "iphysicsshellholder.h"
#include "phcharacter.h"
#include "IPhysicsShellHolder.h"
#include "PHCharacter.h"
#include "xrEngine/GameMtlLib.h"

ObjectContactCallbackFun* saved_callback = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/PHAICharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include "Physics.h"
#include "ExtendedGeom.h"
#include "xrCDB/Intersect.hpp"
#include "tri-colliderKNoOPC\__aabb_tri.h"
#include "tri-colliderknoopc/__aabb_tri.h"

#include "phaicharacter.h"
#include "PHAICharacter.h"
#include "xrEngine/device.h"

#ifdef DEBUG
Expand Down
6 changes: 3 additions & 3 deletions src/xrPhysics/PHActivationShape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#include "Physics.h"
#include "MathUtils.h"
#include "phvalidevalues.h"
#include "PHValideValues.h"

#include "Extendedgeom.h"
#include "ExtendedGeom.h"
#include "SpaceUtils.h"
#include "MathUtils.h"
#include "xrEngine/GameMtlLib.h"
Expand All @@ -19,7 +19,7 @@

#include "PHDynamicData.h"
#include "xrServerEntities/PHSynchronize.h"
#include "xrServerEntities/phnetstate.h"
#include "xrServerEntities/PHNetState.h"
static float max_depth = 0.f;
static float friction_factor = 0.f;
static const float cfm = 1.e-10f;
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHActivationShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PH_ACTIVATION_SHAPE
#endif

#include "phvalidevalues.h"
#include "PHValideValues.h"
#include "PHObject.h"
class IPhysicsShellHolder;
class CPHActivationShape : public CPHObject
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/PHActorCharacter.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"
#include "phactorcharacter.h"
#include "Extendedgeom.h"
#include "PHActorCharacter.h"
#include "ExtendedGeom.h"
#include "PhysicsCommon.h"

#include "IPhysicsShellHolder.h"
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHActorCharacter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "phsimplecharacter.h"
#include "PHSimpleCharacter.h"
#include "PHActorCharacterInline.h"

class CPhysicShellHolder;
Expand Down
10 changes: 5 additions & 5 deletions src/xrPhysics/PHCapture.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/////////////////////////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "stdafx.h"

#include "PHCapture.h"
#include "phcharacter.h"
#include "PHCharacter.h"
#include "Physics.h"
#include "ExtendedGeom.h"

#include "Include/xrRender/Kinematics.h"
#include "iphysicsshellholder.h"
#include "IPhysicsShellHolder.h"
#include "xrCore/Animation/Bone.hpp"
#include "xrEngine/device.h"
#include "mathutilsode.h"
#include "phelement.h"
#include "MathUtilsOde.h"
#include "PHElement.h"

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
Expand Down
8 changes: 4 additions & 4 deletions src/xrPhysics/PHCaptureInit.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/////////////////////////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "phcharacter.h"
#include "stdafx.h"
#include "PHCharacter.h"
#include "Physics.h"
#include "ExtendedGeom.h"
#include "PHCapture.h"

#include "Include/xrRender/Kinematics.h"

#include "iphysicsshellholder.h"
#include "IPhysicsShellHolder.h"
#include "xrCore/Animation/Bone.hpp"
#include "xrEngine/device.h"
extern class CPHWorld* ph_world;
Expand Down Expand Up @@ -248,7 +248,7 @@ void CPHCapture::Release()

e_state = cstReleased;
}
#include "phelement.h"
#include "PHElement.h"
void CPHCapture::Deactivate()
{
Release();
Expand Down
10 changes: 5 additions & 5 deletions src/xrPhysics/PHCharacter.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#include "stdafx.h"

#include "phcharacter.h"
#include "PHCharacter.h"
#include "PHDynamicData.h"
#include "Physics.h"
#include "ExtendedGeom.h"
#include "iphysicsshellholder.h"
#include "IPhysicsShellHolder.h"

#include "xrCDB/Intersect.hpp"
#include "xrEngine/GameMtlLib.h"

#include "tri-colliderKNoOPC\__aabb_tri.h"
#include "tri-colliderknoopc/__aabb_tri.h"
#include "ode/ode/src/util.h"
#include "ph_valid_ode.h"
#include "Phaicharacter.h"
#include "phactorcharacter.h"
#include "PHAICharacter.h"
#include "PHActorCharacter.h"

CPHCharacter::CPHCharacter(void) : CPHDisablingTranslational()
{
Expand Down
7 changes: 3 additions & 4 deletions src/xrPhysics/PHCollideValidator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"
#include "PHObject.h"
#include "phcollidevalidator.h"
#include "PHCollideValidator.h"

CGID CPHCollideValidator::freeGroupID = 0;
_flags<CLClassBits> CPHCollideValidator::ClassFlags = {CLClassBits(0)};
Expand Down Expand Up @@ -61,10 +61,9 @@ void CPHCollideValidator::SetRagDollClassNotCollide(CPHObject& obj)
obj.collide_class_bits().set(cbNCClassRagDoll, TRUE);
}

//Относит физический объект к классу анимированных объектов
//Relates a physical object to the class of animated objects
void CPHCollideValidator::SetAnimatedClass(CPHObject& obj) { obj.collide_class_bits().set(cbClassAnimated, TRUE); }
//Задаёт игнорирование коллизий данного физического
//объекта с анимированными телами
//Sets ignoring collision of the physical object with animated objects (bodies)
void CPHCollideValidator::SetAnimatedClassNotCollide(CPHObject& obj)
{
obj.collide_class_bits().set(cbNCClassAnimated, TRUE);
Expand Down
6 changes: 3 additions & 3 deletions src/xrPhysics/PHCollideValidator.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef PH_COLLIDE_VALIDATOR
#define PH_COLLIDE_VALIDATOR

#include "icollidevalidator.h"
#include "ICollideValidator.h"
typedef u32 CLClassBits;
typedef u32 CLBits;
class CPHObject;
Expand All @@ -19,8 +19,8 @@ class CPHCollideValidator
cbNCClassSmall = 1 << 7,
cbClassRagDoll = 1 << 8,
cbNCClassRagDoll = 1 << 9,
cbClassAnimated = 1 << 10, //класс анимированного физического объекта
cbNCClassAnimated = 1 << 11, //свойство игнорирования класса анимированного физического объекта
cbClassAnimated = 1 << 10, //animated physical object class
cbNCClassAnimated = 1 << 11, //ignore property of animated physical object class
cbNone = 1 << 12

};
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHContactBodyEffector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "tri-colliderknoopc/dTriList.h"
#include "PhysicsCommon.h"
#include "xrEngine/GameMtlLib.h"
#include "mathutilsode.h"
#include "MathUtilsOde.h"
void CPHContactBodyEffector::Init(dBodyID body, const dContact& contact, SGameMtl* material)
{
CPHBaseBodyEffector::Init(body);
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHDisabling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "PHDisabling.h"
#include "PhysicsCommon.h"
#include "Physics.h"
#include "mathutilsode.h"
#include "MathUtilsOde.h"
#ifdef DEBUG
#include "debug_output.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHElement.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "StdAfx.h"
#include "stdafx.h"
#include "PHDynamicData.h"
#include "Physics.h"
#include "tri-colliderknoopc/dTriList.h"
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
///////////////////////////Implemetation//for//CPhysicsElement//////////////////
////////////////////////////////////////////////////////////////////////////////
#include "Geometry.h"
#include "phdefs.h"
#include "PHDefs.h"
#include "PhysicsCommon.h"
#include "xrServerEntities/PHSynchronize.h"
#include "PHDisabling.h"
Expand Down
14 changes: 7 additions & 7 deletions src/xrPhysics/PHElementNetState.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "StdAfx.h"
#include "physicsshell.h"
#include "phinterpolation.h"
#include "phelement.h"
#include "phobject.h"
#include "phworld.h"
#include "phshell.h"
#include "stdafx.h"
#include "PhysicsShell.h"
#include "PHInterpolation.h"
#include "PHElement.h"
#include "PHObject.h"
#include "PHWorld.h"
#include "PHShell.h"

void CPHElement::get_State(SPHNetState& state)
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHGeometryOwner.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"
#include "PHGeometryOwner.h"
#include "phworld.h"
#include "PHWorld.h"

#include "Include/xrRender/Kinematics.h"
#include "xrCore/Animation/Bone.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHIsland.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"
#include "PHIsland.h"
#include "physics.h"
#include "Physics.h"
#include "ph_valid_ode.h"
void CPHIsland::Step(dReal step)
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHJoint.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "StdAfx.h"
#include "stdafx.h"
#include "PHDynamicData.h"
#include "Physics.h"
#include "tri-colliderknoopc/dTriList.h"
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHJointDestroyInfo.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "PHJointDestroyInfo.h"
#include "PhysicsCommon.h"
#include "mathutilsode.h"
#include "MathUtilsOde.h"
#include "console_vars.h"
CPHJointDestroyInfo::CPHJointDestroyInfo(float break_force, float break_torque)
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHMoveStorage.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "stdafx.h"
#include "phmovestorage.h"
#include "PHMoveStorage.h"
#pragma warning(push)
#pragma warning(disable : 4995)
#pragma warning(disable : 4267)
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHMoveStorage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef PHMOVESTORAGE_H
#define PHMOVESTORAGE_H
#include "phgeometryowner.h"
#include "PHGeometryOwner.h"
// DEFINE_VECTOR(dReal *&,POSITIONS_STORAGE,POSITIONS_I);

class CPHPositionsPairs
Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHObject.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
#ifndef CPHOBJECT
#define CPHOBJECT
#include "xrCDB/ispatial.h"
#include "xrCDB/ISpatial.h"
#include "PHItemList.h"
#include "PHIsland.h"
typedef u32 CLClassBits;
Expand Down
Loading

0 comments on commit 259e035

Please sign in to comment.