-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from spatialos/0.10.0-rc
Release 0.10.0
- Loading branch information
Showing
170 changed files
with
1,038 additions
and
575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,9 @@ | |
**/Intermediate/ | ||
**/Saved/ | ||
|
||
# Built data for maps | ||
*_BuiltData.uasset | ||
|
||
# SpatialOS files | ||
logs | ||
build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.22 KB
Game/Content/Blueprints/MapBuilder/Data/E_TileCollectionEnum.uasset
Binary file not shown.
Binary file removed
BIN
-6.28 KB
Game/Content/Blueprints/MapBuilder/Data/F_TileCollectionStruct.uasset
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-3.63 KB
(99%)
Game/Content/Blueprints/MapBuilder/Tiles/Misc/BP_Tile_Structure_Courtyard_A.uasset
Binary file not shown.
Binary file modified
BIN
+905 Bytes
(100%)
Game/Content/Blueprints/MapBuilder/Tiles/Misc/BP_Tile_Structure_Tower_A.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+710 Bytes
(100%)
Game/Content/Characters/BP_SimulatedPlayerCharacter.uasset
Binary file not shown.
Binary file modified
BIN
+4.47 KB
(100%)
Game/Content/Characters/Components/BP_FloatingCombatText.uasset
Binary file not shown.
Binary file modified
BIN
+2.35 KB
(100%)
Game/Content/Characters/Player/Animations/AnimationBlueprints/CH_Robot_AnimBlueprint.uasset
Binary file not shown.
Binary file removed
BIN
-725 Bytes
Game/Content/Characters/Player/Materials/ColourSchemes/CH_MI_PlayerRobot_Main_Black.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-611 Bytes
(99%)
Game/Content/Controllers/BP_SimulatedPlayerAIController.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-156 KB
Game/Content/UI/Blueprints/Deployments/BP_GDKDeploymentWidget.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+52.1 KB
Game/Content/UI/Blueprints/Scores/BP_GDKTeamDeathmatchScoreboard.uasset
Binary file not shown.
Binary file modified
BIN
-6.05 KB
(95%)
Game/Content/UI/Blueprints/Scores/BP_ScoreTableWidget.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 0 additions & 128 deletions
128
Game/Source/GDKShooter/Private/Deployments/DeploymentsPlayerController.cpp
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
Game/Source/GDKShooter/Private/GDKShooterFunctionLibrary.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved | ||
|
||
#include "GDKShooterFunctionLibrary.h" | ||
#include "GameFramework/Pawn.h" | ||
#include "Perception/AIPerceptionStimuliSourceComponent.h" | ||
|
||
|
||
void UGDKShooterFunctionLibrary::SetGenericTeamId(AActor* Actor, FGenericTeamId NewTeamId) | ||
{ | ||
IGenericTeamAgentInterface* TeamAgentActor = Cast<IGenericTeamAgentInterface>(Actor); | ||
IGenericTeamAgentInterface* TeamAgentController = nullptr; | ||
if (APawn* AsPawn = Cast<APawn>(Actor)) | ||
{ | ||
TeamAgentController = Cast<IGenericTeamAgentInterface>(AsPawn->GetController()); | ||
} | ||
|
||
if (TeamAgentActor != nullptr) | ||
{ | ||
TeamAgentActor->SetGenericTeamId(NewTeamId); | ||
} | ||
|
||
if (TeamAgentController != nullptr) | ||
{ | ||
TeamAgentController->SetGenericTeamId(NewTeamId); | ||
} | ||
|
||
if (UAIPerceptionStimuliSourceComponent* PerceptionStimuli = Actor->FindComponentByClass<UAIPerceptionStimuliSourceComponent>()) | ||
{ | ||
PerceptionStimuli->UnregisterFromPerceptionSystem(); | ||
PerceptionStimuli->RegisterWithPerceptionSystem(); | ||
} | ||
} | ||
|
||
FGenericTeamId UGDKShooterFunctionLibrary::GetGenericTeamId(AActor* Actor) | ||
{ | ||
IGenericTeamAgentInterface* TeamAgent = Cast<IGenericTeamAgentInterface>(Actor); | ||
|
||
if (TeamAgent == nullptr) | ||
{ | ||
if (APawn* AsPawn = Cast<APawn>(Actor)) | ||
{ | ||
TeamAgent = Cast<IGenericTeamAgentInterface>(AsPawn->GetController()); | ||
} | ||
} | ||
|
||
if (TeamAgent != nullptr) | ||
{ | ||
return TeamAgent->GetGenericTeamId(); | ||
} | ||
|
||
return FGenericTeamId::NoTeam; | ||
} |
Oops, something went wrong.