From b0c5bb901b5e37c69a9fac0566c64f29663375f0 Mon Sep 17 00:00:00 2001 From: Andron666 <> Date: Tue, 20 Oct 2020 19:30:04 +0500 Subject: [PATCH] LetsGO --- .gitattributes | 1 + .gitignore | 14 + Config/DefaultEditor.ini | 0 Config/DefaultEngine.ini | 13 + Config/DefaultGame.ini | 3 + Config/SteamVRBindings/gamepad.json | 13 + .../holographic_controller.json | 44 +++ Config/SteamVRBindings/indexhmd.json | 13 + Config/SteamVRBindings/knuckles.json | 44 +++ Config/SteamVRBindings/oculus_touch.json | 44 +++ Config/SteamVRBindings/rift.json | 13 + Config/SteamVRBindings/steamvr_manifest.json | 154 +++++++++++ Config/SteamVRBindings/vive.json | 13 + Config/SteamVRBindings/vive_controller.json | 44 +++ .../vive_cosmos_controller.json | 44 +++ Config/SteamVRBindings/vive_pro.json | 13 + .../SteamVRBindings/vive_tracker_camera.json | 55 ++++ Config/steamvr_ue_editor_app.json | 18 ++ Onejsky4U.uproject | 254 ++++++++++++++++++ Source/Onejsky4U.Target.cs | 14 + Source/Onejsky4U/Onejsky4U.Build.cs | 23 ++ Source/Onejsky4U/Onejsky4U.cpp | 6 + Source/Onejsky4U/Onejsky4U.h | 6 + Source/Onejsky4U/Onejsky4UGameModeBase.cpp | 5 + Source/Onejsky4U/Onejsky4UGameModeBase.h | 17 ++ Source/Onejsky4UEditor.Target.cs | 14 + 26 files changed, 882 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Config/DefaultEditor.ini create mode 100644 Config/DefaultEngine.ini create mode 100644 Config/DefaultGame.ini create mode 100644 Config/SteamVRBindings/gamepad.json create mode 100644 Config/SteamVRBindings/holographic_controller.json create mode 100644 Config/SteamVRBindings/indexhmd.json create mode 100644 Config/SteamVRBindings/knuckles.json create mode 100644 Config/SteamVRBindings/oculus_touch.json create mode 100644 Config/SteamVRBindings/rift.json create mode 100644 Config/SteamVRBindings/steamvr_manifest.json create mode 100644 Config/SteamVRBindings/vive.json create mode 100644 Config/SteamVRBindings/vive_controller.json create mode 100644 Config/SteamVRBindings/vive_cosmos_controller.json create mode 100644 Config/SteamVRBindings/vive_pro.json create mode 100644 Config/SteamVRBindings/vive_tracker_camera.json create mode 100644 Config/steamvr_ue_editor_app.json create mode 100644 Onejsky4U.uproject create mode 100644 Source/Onejsky4U.Target.cs create mode 100644 Source/Onejsky4U/Onejsky4U.Build.cs create mode 100644 Source/Onejsky4U/Onejsky4U.cpp create mode 100644 Source/Onejsky4U/Onejsky4U.h create mode 100644 Source/Onejsky4U/Onejsky4UGameModeBase.cpp create mode 100644 Source/Onejsky4U/Onejsky4UGameModeBase.h create mode 100644 Source/Onejsky4UEditor.Target.cs diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3e8f1d69 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +Content/** filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..f4334a5f --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +Binaries +DerivedDataCache +Intermediate +Saved +.vscode +.vs +*.VC.db +*.opensdf +*.opendb +*.sdf +*.sln +*.suo +*.xcodeproj +*.xcworkspace \ No newline at end of file diff --git a/Config/DefaultEditor.ini b/Config/DefaultEditor.ini new file mode 100644 index 00000000..e69de29b diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini new file mode 100644 index 00000000..537ddbc2 --- /dev/null +++ b/Config/DefaultEngine.ini @@ -0,0 +1,13 @@ + + +[/Script/HardwareTargeting.HardwareTargetingSettings] +TargetedHardwareClass=Desktop +AppliedTargetedHardwareClass=Desktop +DefaultGraphicsPerformance=Maximum +AppliedDefaultGraphicsPerformance=Maximum + +[/Script/Engine.Engine] ++ActiveGameNameRedirects=(OldGameName="TP_Blank",NewGameName="/Script/Onejsky4U") ++ActiveGameNameRedirects=(OldGameName="/Script/TP_Blank",NewGameName="/Script/Onejsky4U") ++ActiveClassRedirects=(OldClassName="TP_BlankGameModeBase",NewClassName="Onejsky4UGameModeBase") + diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini new file mode 100644 index 00000000..6edd993c --- /dev/null +++ b/Config/DefaultGame.ini @@ -0,0 +1,3 @@ + +[/Script/EngineSettings.GeneralProjectSettings] +ProjectID=148E60734B4D361189474DA88819818E diff --git a/Config/SteamVRBindings/gamepad.json b/Config/SteamVRBindings/gamepad.json new file mode 100644 index 00000000..7e068dab --- /dev/null +++ b/Config/SteamVRBindings/gamepad.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Gamepads", + "controller_type": "gamepad", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/holographic_controller.json b/Config/SteamVRBindings/holographic_controller.json new file mode 100644 index 00000000..1d6b62ae --- /dev/null +++ b/Config/SteamVRBindings/holographic_controller.json @@ -0,0 +1,44 @@ +{ + "name": "Default bindings for MixedReality", + "controller_type": "holographic_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/indexhmd.json b/Config/SteamVRBindings/indexhmd.json new file mode 100644 index 00000000..1062aca5 --- /dev/null +++ b/Config/SteamVRBindings/indexhmd.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Valve Index Headset", + "controller_type": "indexhmd", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/knuckles.json b/Config/SteamVRBindings/knuckles.json new file mode 100644 index 00000000..df89f0f1 --- /dev/null +++ b/Config/SteamVRBindings/knuckles.json @@ -0,0 +1,44 @@ +{ + "name": "Default bindings for ValveIndex", + "controller_type": "knuckles", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/oculus_touch.json b/Config/SteamVRBindings/oculus_touch.json new file mode 100644 index 00000000..bd9f7983 --- /dev/null +++ b/Config/SteamVRBindings/oculus_touch.json @@ -0,0 +1,44 @@ +{ + "name": "Default bindings for OculusTouch", + "controller_type": "oculus_touch", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/rift.json b/Config/SteamVRBindings/rift.json new file mode 100644 index 00000000..6a8a0065 --- /dev/null +++ b/Config/SteamVRBindings/rift.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Rift Headset", + "controller_type": "rift", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/steamvr_manifest.json b/Config/SteamVRBindings/steamvr_manifest.json new file mode 100644 index 00000000..c85479be --- /dev/null +++ b/Config/SteamVRBindings/steamvr_manifest.json @@ -0,0 +1,154 @@ +{ + "actions": [ + { + "name": "/actions/main/in/controllerleft", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/controllerright", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special1", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special2", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special3", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special4", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special5", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special6", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special7", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/special8", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/skeletonleft", + "type": "skeleton", + "skeleton": "/skeleton/hand/left", + "requirement": "optional" + }, + { + "name": "/actions/main/in/skeletonright", + "type": "skeleton", + "skeleton": "/skeleton/hand/right", + "requirement": "optional" + }, + { + "name": "/actions/main/out/vibrateleft", + "type": "vibration", + "requirement": "optional" + }, + { + "name": "/actions/main/out/vibrateright", + "type": "vibration", + "requirement": "optional" + }, + { + "name": "/actions/main/in/open_console", + "type": "boolean", + "requirement": "optional" + } + ], + "action_sets": [ + { + "name": "/actions/main", + "usage": "leftright" + } + ], + "default_bindings": [ + { + "controller_type": "knuckles", + "binding_url": "knuckles.json" + }, + { + "controller_type": "vive_controller", + "binding_url": "vive_controller.json" + }, + { + "controller_type": "vive_cosmos_controller", + "binding_url": "vive_cosmos_controller.json" + }, + { + "controller_type": "oculus_touch", + "binding_url": "oculus_touch.json" + }, + { + "controller_type": "holographic_controller", + "binding_url": "holographic_controller.json" + }, + { + "controller_type": "indexhmd", + "binding_url": "indexhmd.json" + }, + { + "controller_type": "vive", + "binding_url": "vive.json" + }, + { + "controller_type": "vive_pro", + "binding_url": "vive_pro.json" + }, + { + "controller_type": "rift", + "binding_url": "rift.json" + }, + { + "controller_type": "vive_tracker_camera", + "binding_url": "vive_tracker_camera.json" + }, + { + "controller_type": "gamepad", + "binding_url": "gamepad.json" + } + ], + "localization": [ + { + "language_tag": "en_us", + "/actions/main/in/controllerleft": "Left Controller [Pose]", + "/actions/main/in/controllerright": "Right Controller [Pose]", + "/actions/main/in/special1": "Special 1 [Tracker]", + "/actions/main/in/special2": "Special 2 [Tracker]", + "/actions/main/in/special3": "Special 3 [Tracker]", + "/actions/main/in/special4": "Special 4 [Tracker]", + "/actions/main/in/special5": "Special 5 [Tracker]", + "/actions/main/in/special6": "Special 6 [Tracker]", + "/actions/main/in/special7": "Special 7 [Tracker]", + "/actions/main/in/special8": "Special 8 [Tracker]", + "/actions/main/in/skeletonleft": "Skeleton (Left)", + "/actions/main/in/skeletonright": "Skeleton (Right)", + "/actions/main/out/vibrateleft": "Haptic (Left)", + "/actions/main/out/vibrateright": "Haptic (Right)", + "/actions/main/in/open_console": "Open Console", + "/actions/main": "Main Game Actions" + } + ] +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive.json b/Config/SteamVRBindings/vive.json new file mode 100644 index 00000000..607daa27 --- /dev/null +++ b/Config/SteamVRBindings/vive.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Vive Headset", + "controller_type": "vive", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_controller.json b/Config/SteamVRBindings/vive_controller.json new file mode 100644 index 00000000..cc7e1db7 --- /dev/null +++ b/Config/SteamVRBindings/vive_controller.json @@ -0,0 +1,44 @@ +{ + "name": "Default bindings for Vive", + "controller_type": "vive_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_cosmos_controller.json b/Config/SteamVRBindings/vive_cosmos_controller.json new file mode 100644 index 00000000..0bea4ba5 --- /dev/null +++ b/Config/SteamVRBindings/vive_cosmos_controller.json @@ -0,0 +1,44 @@ +{ + "name": "Default bindings for Cosmos", + "controller_type": "vive_cosmos_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_pro.json b/Config/SteamVRBindings/vive_pro.json new file mode 100644 index 00000000..5a61458e --- /dev/null +++ b/Config/SteamVRBindings/vive_pro.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Vive Pro Headset", + "controller_type": "vive_pro", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_camera.json b/Config/SteamVRBindings/vive_tracker_camera.json new file mode 100644 index 00000000..d65b72e1 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_camera.json @@ -0,0 +1,55 @@ +{ + "name": "Default bindings for Vive Trackers", + "controller_type": "vive_tracker_camera", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [], + "poses": [ + { + "output": "/actions/main/in/special1", + "path": "/user/hand/left/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special2", + "path": "/user/hand/right/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special3", + "path": "/user/hand/left/pose/front", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special4", + "path": "/user/hand/right/pose/front", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special5", + "path": "/user/hand/left/pose/frontandrolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special6", + "path": "/user/hand/right/pose/frontandrolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special7", + "path": "/user/hand/left/pose/pistolgrip", + "requirement": "optional" + }, + { + "output": "/actions/main/in/special8", + "path": "/user/hand/right/pose/pistolgrip", + "requirement": "optional" + } + ] + } + }, + "description": "" +} \ No newline at end of file diff --git a/Config/steamvr_ue_editor_app.json b/Config/steamvr_ue_editor_app.json new file mode 100644 index 00000000..04b184e9 --- /dev/null +++ b/Config/steamvr_ue_editor_app.json @@ -0,0 +1,18 @@ +{ + "source": "UE", + "applications": [ + { + "app_key": "application.generated.ue.onejsky4u-13942748.ue4editor.exe", + "launch_type": "url", + "url": "steam://launch/", + "action_manifest_path": "C:/Projects/Onejsky4U/Config/SteamVRBindings/steamvr_manifest.json", + "strings": + { + "en_us": + { + "name": "Onejsky4U-13942748 [UE Editor]" + } + } + } + ] +} \ No newline at end of file diff --git a/Onejsky4U.uproject b/Onejsky4U.uproject new file mode 100644 index 00000000..7c31c5b8 --- /dev/null +++ b/Onejsky4U.uproject @@ -0,0 +1,254 @@ +{ + "FileVersion": 3, + "EngineAssociation": "4.25", + "Category": "", + "Description": "", + "Modules": [ + { + "Name": "Onejsky4U", + "Type": "Runtime", + "LoadingPhase": "Default" + } + ], + "Plugins": [ + { + "Name": "Paper2D", + "Enabled": false + }, + { + "Name": "OnlineSubsystemGooglePlay", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Android" + ] + }, + { + "Name": "AndroidPermission", + "Enabled": false + }, + { + "Name": "GooglePAD", + "Enabled": false + }, + { + "Name": "AudioCapture", + "Enabled": false + }, + { + "Name": "SoundFields", + "Enabled": false + }, + { + "Name": "Synthesis", + "Enabled": false + }, + { + "Name": "MagicLeapMedia", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Lumin" + ] + }, + { + "Name": "MagicLeap", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Lumin", + "Mac", + "Win64" + ] + }, + { + "Name": "MagicLeapPassableWorld", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Lumin", + "Mac", + "Win64" + ] + }, + { + "Name": "LocationServicesBPLibrary", + "Enabled": false + }, + { + "Name": "CameraShakePreviewer", + "Enabled": false + }, + { + "Name": "AndroidDeviceProfileSelector", + "Enabled": false + }, + { + "Name": "IOSDeviceProfileSelector", + "Enabled": false + }, + { + "Name": "LinuxDeviceProfileSelector", + "Enabled": false + }, + { + "Name": "ActorSequence", + "Enabled": false + }, + { + "Name": "ChaosEditor", + "Enabled": false + }, + { + "Name": "FacialAnimation", + "Enabled": false + }, + { + "Name": "GameplayTagsEditor", + "Enabled": false + }, + { + "Name": "AppleImageUtils", + "Enabled": false + }, + { + "Name": "BackChannel", + "Enabled": false + }, + { + "Name": "ChaosNiagara", + "Enabled": false + }, + { + "Name": "ArchVisCharacter", + "Enabled": false + }, + { + "Name": "CharacterAI", + "Enabled": false + }, + { + "Name": "MeshPainting", + "Enabled": false + }, + { + "Name": "AlembicImporter", + "Enabled": false + }, + { + "Name": "SpeedTreeImporter", + "Enabled": false + }, + { + "Name": "MLSDK", + "Enabled": false + }, + { + "Name": "AndroidMedia", + "Enabled": false + }, + { + "Name": "AvfMedia", + "Enabled": false + }, + { + "Name": "MacGraphicsSwitching", + "Enabled": false + }, + { + "Name": "MobileLauncherProfileWizard", + "Enabled": false + }, + { + "Name": "MobilePatchingUtils", + "Enabled": false + }, + { + "Name": "AndroidMoviePlayer", + "Enabled": false + }, + { + "Name": "AppleMoviePlayer", + "Enabled": false + }, + { + "Name": "GoogleCloudMessaging", + "Enabled": false + }, + { + "Name": "CryptoKeys", + "Enabled": false + }, + { + "Name": "ChaosClothEditor", + "Enabled": false + }, + { + "Name": "ChaosCloth", + "Enabled": false + }, + { + "Name": "ChaosSolverPlugin", + "Enabled": false + }, + { + "Name": "PhysXVehicles", + "Enabled": false + }, + { + "Name": "CLionSourceCodeAccess", + "Enabled": false + }, + { + "Name": "CodeLiteSourceCodeAccess", + "Enabled": false + }, + { + "Name": "NullSourceCodeAccess", + "Enabled": false + }, + { + "Name": "KDevelopSourceCodeAccess", + "Enabled": false + }, + { + "Name": "RiderSourceCodeAccess", + "Enabled": false + }, + { + "Name": "XCodeSourceCodeAccess", + "Enabled": false + }, + { + "Name": "LightPropagationVolume", + "Enabled": false + }, + { + "Name": "PerforceSourceControl", + "Enabled": false + }, + { + "Name": "PlasticSourceControl", + "Enabled": false + }, + { + "Name": "SubversionSourceControl", + "Enabled": false + }, + { + "Name": "OculusVR", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Win32", + "Win64", + "Android" + ] + }, + { + "Name": "SteamVR", + "Enabled": false, + "SupportedTargetPlatforms": [ + "Win32", + "Win64", + "Linux", + "Mac" + ] + } + ] +} \ No newline at end of file diff --git a/Source/Onejsky4U.Target.cs b/Source/Onejsky4U.Target.cs new file mode 100644 index 00000000..b508b4f9 --- /dev/null +++ b/Source/Onejsky4U.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class Onejsky4UTarget : TargetRules +{ + public Onejsky4UTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "Onejsky4U" } ); + } +} diff --git a/Source/Onejsky4U/Onejsky4U.Build.cs b/Source/Onejsky4U/Onejsky4U.Build.cs new file mode 100644 index 00000000..acf23245 --- /dev/null +++ b/Source/Onejsky4U/Onejsky4U.Build.cs @@ -0,0 +1,23 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; + +public class Onejsky4U : ModuleRules +{ + public Onejsky4U(ReadOnlyTargetRules Target) : base(Target) + { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + + 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"); + + // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true + } +} diff --git a/Source/Onejsky4U/Onejsky4U.cpp b/Source/Onejsky4U/Onejsky4U.cpp new file mode 100644 index 00000000..55e9f45b --- /dev/null +++ b/Source/Onejsky4U/Onejsky4U.cpp @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#include "Onejsky4U.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Onejsky4U, "Onejsky4U" ); diff --git a/Source/Onejsky4U/Onejsky4U.h b/Source/Onejsky4U/Onejsky4U.h new file mode 100644 index 00000000..677c8e25 --- /dev/null +++ b/Source/Onejsky4U/Onejsky4U.h @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/Onejsky4U/Onejsky4UGameModeBase.cpp b/Source/Onejsky4U/Onejsky4UGameModeBase.cpp new file mode 100644 index 00000000..66d643dc --- /dev/null +++ b/Source/Onejsky4U/Onejsky4UGameModeBase.cpp @@ -0,0 +1,5 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + + +#include "Onejsky4UGameModeBase.h" + diff --git a/Source/Onejsky4U/Onejsky4UGameModeBase.h b/Source/Onejsky4U/Onejsky4UGameModeBase.h new file mode 100644 index 00000000..9f12ca3d --- /dev/null +++ b/Source/Onejsky4U/Onejsky4UGameModeBase.h @@ -0,0 +1,17 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/GameModeBase.h" +#include "Onejsky4UGameModeBase.generated.h" + +/** + * + */ +UCLASS() +class ONEJSKY4U_API AOnejsky4UGameModeBase : public AGameModeBase +{ + GENERATED_BODY() + +}; diff --git a/Source/Onejsky4UEditor.Target.cs b/Source/Onejsky4UEditor.Target.cs new file mode 100644 index 00000000..2348f8be --- /dev/null +++ b/Source/Onejsky4UEditor.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class Onejsky4UEditorTarget : TargetRules +{ + public Onejsky4UEditorTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "Onejsky4U" } ); + } +}