add the example Project "OscDemo"

This commit is contained in:
monsieurgustav
2016-04-07 20:10:24 +02:00
parent f01167bed8
commit a35efe29c9
44 changed files with 4836 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class OscDemoTarget : TargetRules
{
public OscDemoTarget(TargetInfo Target)
{
Type = TargetType.Game;
}
//
// TargetRules interface.
//
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.AddRange( new string[] { "OscDemo" } );
}
}
@@ -0,0 +1,26 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
public class OscDemo : ModuleRules
{
public OscDemo(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");
// }
// }
}
}
@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "OscDemo.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, OscDemo, "OscDemo" );
@@ -0,0 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Engine.h"
@@ -0,0 +1,8 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "OscDemo.h"
#include "OscDemoGameMode.h"
@@ -0,0 +1,19 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "OscDemoGameMode.generated.h"
/**
*
*/
UCLASS()
class OSCDEMO_API AOscDemoGameMode : public AGameMode
{
GENERATED_BODY()
};
@@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class OscDemoEditorTarget : TargetRules
{
public OscDemoEditorTarget(TargetInfo Target)
{
Type = TargetType.Editor;
}
//
// TargetRules interface.
//
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.AddRange( new string[] { "OscDemo" } );
}
}