Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Prep for 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Pearson committed Mar 8, 2018
1 parent 2fd6930 commit b016661
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
Git LFS file not shown
2 changes: 1 addition & 1 deletion ParkourGame/ParkourGame.uproject
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"FileVersion": 3,
"EngineAssociation": "4.18",
"EngineAssociation": "{1EB35545-43B9-8FA4-BECF-1FA82A93E018}",
"Category": "",
"Description": "",
"Modules": [
Expand Down
2 changes: 1 addition & 1 deletion ParkourGame/Source/ParkourGame/ParkourGame.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public ParkourGame(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "PhysX", "APEX", "PhysXCookingLib", "RuntimePhysXCooking", "PhysXCooking"});
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "PhysX", "APEX"});
PrivateDependencyModuleNames.AddRange(new string[] { "HTTP", "LowEntryJson" });
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ AParkourGameGameMode::AParkourGameGameMode()
FString AParkourGameGameMode::InitNewPlayer(APlayerController* NewPlayerController, const FUniqueNetIdRepl& UniqueId, const FString& Options, const FString& Portal /*= TEXT("")*/)
{
FString msg = Super::InitNewPlayer(NewPlayerController, UniqueId, Options, Portal);

UE_LOG(LogTemp, Warning, TEXT("OPTIONS: %s"), *Options);
return msg;
}

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "Runtime/Engine/Private/PhysicsEngine/PhysXSupport.h"

#pragma region STD PHYSX CODE
#if WITH_EDITOR

namespace ECollisionQuery
{
Expand Down Expand Up @@ -211,6 +212,8 @@ PxQueryHitType::Enum FPxQueryFilterCallbackSweep::postFilter(const PxFilterData&
}
}

#endif

struct FScopedMultiSceneReadLock
{
FScopedMultiSceneReadLock()
Expand Down Expand Up @@ -252,7 +255,7 @@ struct FScopedMultiSceneReadLock
PxScene* SceneLocks[PST_MAX];
};

PxQueryFlags StaticDynamicQueryFlags(const FCollisionQueryParams& Params)
PxQueryFlags pk_StaticDynamicQueryFlags(const FCollisionQueryParams& Params)
{
switch (Params.MobilityType)
{
Expand Down Expand Up @@ -335,7 +338,7 @@ PxVec3 GeomReverseSweep_PhysX(const UWorld* World, const PxGeometry& PGeom, cons
{
// Create filter data used to filter collisions
PxFilterData PFilter = CreateQueryFilterData(TraceChannel, Params.bTraceComplex, ResponseParams.CollisionResponse, Params, ObjectParams, true);
PxQueryFilterData PQueryFilterData(PFilter, StaticDynamicQueryFlags(Params) | PxQueryFlag::ePREFILTER | PxQueryFlag::ePOSTFILTER | PxQueryFlag::eNO_BLOCK);
PxQueryFilterData PQueryFilterData(PFilter, pk_StaticDynamicQueryFlags(Params) | PxQueryFlag::ePREFILTER | PxQueryFlag::ePOSTFILTER | PxQueryFlag::eNO_BLOCK);
PxHitFlags POutputFlags = PxHitFlag::ePOSITION | PxHitFlag::eNORMAL | PxHitFlag::eDISTANCE | PxHitFlag::eFACE_INDEX | PxHitFlag::eMESH_MULTIPLE | PxHitFlag::eMESH_BOTH_SIDES;
FPxQueryFilterCallbackSweep PQueryCallbackSweep(Params);

Expand Down Expand Up @@ -380,6 +383,7 @@ PxVec3 GeomReverseSweep_PhysX(const UWorld* World, const PxGeometry& PGeom, cons
#pragma endregion

#pragma region MORE STD PHYSX CODE
#if WITH_EDITOR

static const PxQuat CapsuleRotator(0.f, 0.707106781f, 0.f, 0.707106781f);

Expand Down Expand Up @@ -486,4 +490,5 @@ PxFilterData CreateQueryFilterData(const uint8 MyChannel, const bool bTraceCompl
}
}

#endif
#pragma endregion
4 changes: 2 additions & 2 deletions ParkourGame/Source/ParkourGame/Private/Utils/GameVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "GameVersion.generated.h"

#define GAME_VERSION_MAJOR 0
#define GAME_VERSION_MINOR 3
#define GAME_VERSION_PATCH 1
#define GAME_VERSION_MINOR 4
#define GAME_VERSION_PATCH 0

USTRUCT(BlueprintType)
struct FGameVersion
Expand Down

0 comments on commit b016661

Please sign in to comment.