From 9974693017030d3ce107dcb3a3a2cdb91195470a Mon Sep 17 00:00:00 2001 From: ksjdragon Date: Tue, 8 Sep 2015 23:24:57 -0400 Subject: [PATCH] initial files --- VRIS-prototype/.gitattributes | 1 + VRIS-prototype/Config/DefaultEditor.ini | 5 ++ VRIS-prototype/Config/DefaultEngine.ini | 60 +++++++++++++++++++ VRIS-prototype/Config/DefaultGame.ini | 6 ++ VRIS-prototype/Source/VRISprototype.Target.cs | 25 ++++++++ .../Source/VRISprototype/ReadFile.cpp | 12 ++++ .../Source/VRISprototype/ReadFile.h | 12 ++++ .../VRISprototype/VRISprototype.Build.cs | 26 ++++++++ .../Source/VRISprototype/VRISprototype.cpp | 5 ++ .../Source/VRISprototype/VRISprototype.h | 6 ++ .../Source/VRISprototypeEditor.Target.cs | 25 ++++++++ VRIS-prototype/VRISprototype.uproject | 16 +++++ 12 files changed, 199 insertions(+) create mode 100644 VRIS-prototype/.gitattributes create mode 100644 VRIS-prototype/Config/DefaultEditor.ini create mode 100644 VRIS-prototype/Config/DefaultEngine.ini create mode 100644 VRIS-prototype/Config/DefaultGame.ini create mode 100644 VRIS-prototype/Source/VRISprototype.Target.cs create mode 100644 VRIS-prototype/Source/VRISprototype/ReadFile.cpp create mode 100644 VRIS-prototype/Source/VRISprototype/ReadFile.h create mode 100644 VRIS-prototype/Source/VRISprototype/VRISprototype.Build.cs create mode 100644 VRIS-prototype/Source/VRISprototype/VRISprototype.cpp create mode 100644 VRIS-prototype/Source/VRISprototype/VRISprototype.h create mode 100644 VRIS-prototype/Source/VRISprototypeEditor.Target.cs create mode 100644 VRIS-prototype/VRISprototype.uproject diff --git a/VRIS-prototype/.gitattributes b/VRIS-prototype/.gitattributes new file mode 100644 index 0000000..77b165a --- /dev/null +++ b/VRIS-prototype/.gitattributes @@ -0,0 +1 @@ +VRISprototype.sdf filter=lfs diff=lfs merge=lfs -text diff --git a/VRIS-prototype/Config/DefaultEditor.ini b/VRIS-prototype/Config/DefaultEditor.ini new file mode 100644 index 0000000..6838df0 --- /dev/null +++ b/VRIS-prototype/Config/DefaultEditor.ini @@ -0,0 +1,5 @@ +[EditoronlyBP] +bAllowClassAndBlueprintPinMatching=true +bReplaceBlueprintWithClass=true +bDontLoadBlueprintOutsideEditor=true +bBlueprintIsNotBlueprintType=true diff --git a/VRIS-prototype/Config/DefaultEngine.ini b/VRIS-prototype/Config/DefaultEngine.ini new file mode 100644 index 0000000..c55599d --- /dev/null +++ b/VRIS-prototype/Config/DefaultEngine.ini @@ -0,0 +1,60 @@ +[URL] +[/Script/EngineSettings.GameMapsSettings] +EditorStartupMap=/Game/StarterContent/Maps/Minimal_Default +GameDefaultMap=/Game/StarterContent/Maps/Minimal_Default + +[/Script/Engine.UserInterfaceSettings] +RenderFocusRule=NavigationOnly +DefaultCursor=None +TextEditBeamCursor=None +CrosshairsCursor=None +GrabHandCursor=None +GrabHandClosedCursor=None +SlashedCircleCursor=None +ApplicationScale=1.000000 +UIScaleRule=ShortestSide +CustomScalingRuleClass=None +UIScaleCurve=(EditorCurveData=(PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant,Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000))),ExternalCurve=None) + +[/Script/Engine.RendererSettings] +r.MobileHDR=True +r.MobileNumDynamicPointLights=4 +r.MobileDynamicPointLightsUseStaticBranch=True +r.AllowOcclusionQueries=True +r.MinScreenRadiusForLights=0.030000 +r.MinScreenRadiusForDepthPrepass=0.030000 +r.PrecomputedVisibilityWarning=False +r.TextureStreaming=True +Compat.UseDXT5NormalMaps=False +r.AllowStaticLighting=True +r.NormalMapsForStaticLighting=False +r.GenerateMeshDistanceFields=False +r.GenerateLandscapeGIData=True +r.TessellationAdaptivePixelsPerTriangle=48.000000 +r.SeparateTranslucency=True +r.TranslucentSortPolicy=0 +TranslucentSortAxis=(X=0.000000,Y=-1.000000,Z=0.000000) +r.CustomDepth=1 +r.DefaultFeature.Bloom=True +r.DefaultFeature.AmbientOcclusion=True +r.DefaultFeature.AmbientOcclusionStaticFraction=True +r.DefaultFeature.AutoExposure=True +r.DefaultFeature.MotionBlur=True +r.DefaultFeature.LensFlare=True +r.DefaultFeature.AntiAliasing=2 +r.EarlyZPass=3 +r.EarlyZPassMovable=False +r.DBuffer=False +r.ClearSceneMethod=1 +r.BasePassOutputsVelocity=False +r.WireframeCullThreshold=5.000000 +UIScaleRule=ShortestSide +UIScaleCurve=(EditorCurveData=(PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant,Keys=),ExternalCurve=None) + +[/Script/HardwareTargeting.HardwareTargetingSettings] +TargetedHardwareClass=Desktop +AppliedTargetedHardwareClass=Desktop +DefaultGraphicsPerformance=Maximum +AppliedDefaultGraphicsPerformance=Maximum + + diff --git a/VRIS-prototype/Config/DefaultGame.ini b/VRIS-prototype/Config/DefaultGame.ini new file mode 100644 index 0000000..15de8ee --- /dev/null +++ b/VRIS-prototype/Config/DefaultGame.ini @@ -0,0 +1,6 @@ +[/Script/EngineSettings.GeneralProjectSettings] +ProjectID=03D8975F4EA14BB07FC38BA6364CCA52 + +[StartupActions] +bAddPacks=True +InsertPack=(PackSource="StarterContent.upack,PackName="StarterContent") diff --git a/VRIS-prototype/Source/VRISprototype.Target.cs b/VRIS-prototype/Source/VRISprototype.Target.cs new file mode 100644 index 0000000..f7732c2 --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype.Target.cs @@ -0,0 +1,25 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class VRISprototypeTarget : TargetRules +{ + public VRISprototypeTarget(TargetInfo Target) + { + Type = TargetType.Game; + } + + // + // TargetRules interface. + // + + public override void SetupBinaries( + TargetInfo Target, + ref List OutBuildBinaryConfigurations, + ref List OutExtraModuleNames + ) + { + OutExtraModuleNames.AddRange( new string[] { "VRISprototype" } ); + } +} diff --git a/VRIS-prototype/Source/VRISprototype/ReadFile.cpp b/VRIS-prototype/Source/VRISprototype/ReadFile.cpp new file mode 100644 index 0000000..84ef4f1 --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype/ReadFile.cpp @@ -0,0 +1,12 @@ +#include "VRISprototype.h" +#include "ReadFile.h" +#include "CoreMisc.h" + +void UReadFile::ReadFile(FString Filename, FString& Result) +{ + FFileHelper::LoadFileToString(Result, *Filename); +} + + + + diff --git a/VRIS-prototype/Source/VRISprototype/ReadFile.h b/VRIS-prototype/Source/VRISprototype/ReadFile.h new file mode 100644 index 0000000..e00e36c --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype/ReadFile.h @@ -0,0 +1,12 @@ +#pragma once + +#include "Kismet/BlueprintFunctionLibrary.h" +#include "ReadFile.generated.h" + +UCLASS() +class VRISPROTOTYPE_API UReadFile : public UBlueprintFunctionLibrary +{ + GENERATED_BODY() public: + UFUNCTION(BlueprintCallable, meta = (DisplayName = "Read File", Keywords = "Reads from a file"), Category = Utilities) + static void ReadFile(FString Directory, FString& Value); +}; diff --git a/VRIS-prototype/Source/VRISprototype/VRISprototype.Build.cs b/VRIS-prototype/Source/VRISprototype/VRISprototype.Build.cs new file mode 100644 index 0000000..e25e9ff --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype/VRISprototype.Build.cs @@ -0,0 +1,26 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; + +public class VRISprototype : ModuleRules +{ + public VRISprototype(TargetInfo Target) + { + PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); + + PrivateDependencyModuleNames.AddRange(new string[] { }); + + // Uncomment if you are using Slate UI + // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); + + // Uncomment if you are using online features + // PrivateDependencyModuleNames.Add("OnlineSubsystem"); + // if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64)) + // { + // if (UEBuildConfiguration.bCompileSteamOSS == true) + // { + // DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam"); + // } + // } + } +} diff --git a/VRIS-prototype/Source/VRISprototype/VRISprototype.cpp b/VRIS-prototype/Source/VRISprototype/VRISprototype.cpp new file mode 100644 index 0000000..7c1fffc --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype/VRISprototype.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#include "VRISprototype.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, VRISprototype, "VRISprototype" ); diff --git a/VRIS-prototype/Source/VRISprototype/VRISprototype.h b/VRIS-prototype/Source/VRISprototype/VRISprototype.h new file mode 100644 index 0000000..3d85d22 --- /dev/null +++ b/VRIS-prototype/Source/VRISprototype/VRISprototype.h @@ -0,0 +1,6 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "Engine.h" + diff --git a/VRIS-prototype/Source/VRISprototypeEditor.Target.cs b/VRIS-prototype/Source/VRISprototypeEditor.Target.cs new file mode 100644 index 0000000..9d767c6 --- /dev/null +++ b/VRIS-prototype/Source/VRISprototypeEditor.Target.cs @@ -0,0 +1,25 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class VRISprototypeEditorTarget : TargetRules +{ + public VRISprototypeEditorTarget(TargetInfo Target) + { + Type = TargetType.Editor; + } + + // + // TargetRules interface. + // + + public override void SetupBinaries( + TargetInfo Target, + ref List OutBuildBinaryConfigurations, + ref List OutExtraModuleNames + ) + { + OutExtraModuleNames.AddRange( new string[] { "VRISprototype" } ); + } +} diff --git a/VRIS-prototype/VRISprototype.uproject b/VRIS-prototype/VRISprototype.uproject new file mode 100644 index 0000000..99cc903 --- /dev/null +++ b/VRIS-prototype/VRISprototype.uproject @@ -0,0 +1,16 @@ +{ + "FileVersion": 3, + "EngineAssociation": "4.9", + "Category": "", + "Description": "", + "Modules": [ + { + "Name": "VRISprototype", + "Type": "Runtime", + "LoadingPhase": "Default", + "AdditionalDependencies": [ + "Engine" + ] + } + ] +} \ No newline at end of file