diff --git a/Config/DefaultCrypto.ini b/Config/DefaultCrypto.ini new file mode 100644 index 00000000..d0fa8625 --- /dev/null +++ b/Config/DefaultCrypto.ini @@ -0,0 +1,11 @@ +[/Script/CryptoKeys.CryptoKeysSettings] +EncryptionKey= +bEncryptPakIniFiles=False +bEncryptPakIndex=False +bEncryptUAssetFiles=False +bEncryptAllAssetFiles=False +SigningPublicExponent= +SigningModulus= +SigningPrivateExponent= +bEnablePakSigning=False + diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 3d1ea9ec..8b73a9f3 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -187,3 +187,6 @@ bRequiresSystemKeyboard=False HandTrackingSupport=ControllersOnly bPhaseSync=False +[/Script/Engine.NetworkSettings] +MaxRepArraySize=2048 + diff --git a/Content/Blueprints/Managers/BP_Controller.uasset b/Content/Blueprints/Managers/BP_Controller.uasset index f7ee2f5a..e7b9c137 100644 Binary files a/Content/Blueprints/Managers/BP_Controller.uasset and b/Content/Blueprints/Managers/BP_Controller.uasset differ diff --git a/Source/FORTIS_Taktika/Private/ResComPlayerController.cpp b/Source/FORTIS_Taktika/Private/ResComPlayerController.cpp index fb638bce..233f88d1 100644 --- a/Source/FORTIS_Taktika/Private/ResComPlayerController.cpp +++ b/Source/FORTIS_Taktika/Private/ResComPlayerController.cpp @@ -21,4 +21,30 @@ void AResComPlayerController::SetFloorManager(AResComFloorManager* manager) AResComFloorManager* AResComPlayerController::GetFloorManager() const { return floorManager; +} + +void AResComPoint::BeginPlay() +{ + Super::BeginPlay(); + + // spectrator window + /*SlateWin = SNew(SWindow) + .AutoCenter(EAutoCenter::None) + .Title(FText::FromString(TEXT("Control Window"))) + .IsInitiallyMaximized(false) + .ScreenPosition(FVector2D(0, 0)) + .ClientSize(FVector2D(500, 800)) + .CreateTitleBar(true) + .SizingRule(ESizingRule::UserSized) + .SupportsMaximize(false) + .SupportsMinimize(true) + .HasCloseButton(true); + + TSharedRef SlateWinRef = SlateWin.ToSharedRef(); + + FSlateApplication& SlateApp = FSlateApplication::Get(); + + SlateApp.AddWindow(SlateWinRef, true); + + SlateWinRef->SetContent(SNew(SControlWidget));*/ } \ No newline at end of file diff --git a/Source/FORTIS_Taktika/Public/ResComPlayerController.h b/Source/FORTIS_Taktika/Public/ResComPlayerController.h index 8e76697a..9cbef752 100644 --- a/Source/FORTIS_Taktika/Public/ResComPlayerController.h +++ b/Source/FORTIS_Taktika/Public/ResComPlayerController.h @@ -24,6 +24,8 @@ protected: UFUNCTION(BlueprintCallable, Category = "FloorManager") void SetFloorManager(AResComFloorManager* manager); + + virtual void BeginPlay() override; public: UFUNCTION(BlueprintCallable, Category = "PlayerManager") AResComPlayerStateManager* GetPlayerStateManager() const;