Created a plugin for placing bug report markers directly into the game.
This commit is contained in:
commit
efe97745b0
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
Binaries/
|
||||
Intermediate/
|
||||
BIN
Content/BP_BugLocationActor.uasset
Normal file
BIN
Content/BP_BugLocationActor.uasset
Normal file
Binary file not shown.
BIN
Content/BP_BugPlacerPawn.uasset
Normal file
BIN
Content/BP_BugPlacerPawn.uasset
Normal file
Binary file not shown.
BIN
Content/IA_BugPlacerCamera.uasset
Normal file
BIN
Content/IA_BugPlacerCamera.uasset
Normal file
Binary file not shown.
BIN
Content/IA_BugPlacerSpeedDown.uasset
Normal file
BIN
Content/IA_BugPlacerSpeedDown.uasset
Normal file
Binary file not shown.
BIN
Content/IA_BugPlacerSpeedUp.uasset
Normal file
BIN
Content/IA_BugPlacerSpeedUp.uasset
Normal file
Binary file not shown.
BIN
Content/IA_ExitBugPlacing.uasset
Normal file
BIN
Content/IA_ExitBugPlacing.uasset
Normal file
Binary file not shown.
BIN
Content/IA_MoveBugPlacer.uasset
Normal file
BIN
Content/IA_MoveBugPlacer.uasset
Normal file
Binary file not shown.
BIN
Content/IA_PlaceBug.uasset
Normal file
BIN
Content/IA_PlaceBug.uasset
Normal file
Binary file not shown.
BIN
Content/MC_BugPlacement.uasset
Normal file
BIN
Content/MC_BugPlacement.uasset
Normal file
Binary file not shown.
BIN
Content/M_BuggieIcon.uasset
Normal file
BIN
Content/M_BuggieIcon.uasset
Normal file
Binary file not shown.
BIN
Content/T_Buggie_370x512.uasset
Normal file
BIN
Content/T_Buggie_370x512.uasset
Normal file
Binary file not shown.
BIN
Source/Unrealzilla/Private/BugPlacerPawn.cpp
Normal file
BIN
Source/Unrealzilla/Private/BugPlacerPawn.cpp
Normal file
Binary file not shown.
46
Source/Unrealzilla/Private/Unrealzilla.cpp
Normal file
46
Source/Unrealzilla/Private/Unrealzilla.cpp
Normal file
@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Copyright ©2019 Batty Bovine Productions, LLC. All Rights Reserved.
|
||||
**/
|
||||
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Engine.h"
|
||||
#include "Modules/ModuleManager.h"
|
||||
|
||||
#include "IUnrealzilla_Implementation.h"
|
||||
|
||||
|
||||
DEFINE_LOG_CATEGORY(UnrealzillaLog);
|
||||
|
||||
#define LOCTEXT_NAMESPACE "Unrealzilla"
|
||||
|
||||
|
||||
class FUnrealzilla : public IUnrealzilla_Implementation
|
||||
{
|
||||
/** IModuleInterface implementation */
|
||||
virtual void StartupModule() override;
|
||||
virtual void ShutdownModule() override;
|
||||
// End IModuleInterface implementation
|
||||
|
||||
};
|
||||
|
||||
void FUnrealzilla::StartupModule()
|
||||
{
|
||||
// This code will execute after your module is loaded into memory (but after global variables are initialized, of course.)
|
||||
|
||||
// UE_LOG(UnrealzillaLog, Warning, TEXT("Unrealzilla: Log Started"));
|
||||
|
||||
}
|
||||
|
||||
void FUnrealzilla::ShutdownModule()
|
||||
{
|
||||
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
||||
// we call this function before unloading the module.
|
||||
|
||||
// UE_LOG(UnrealzillaLog, Warning, TEXT("Unrealzilla: Log Ended"));
|
||||
|
||||
}
|
||||
|
||||
IMPLEMENT_MODULE(FUnrealzilla, Unrealzilla)
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
12
Source/Unrealzilla/Private/UnrealzillaPrivatePCH.h
Normal file
12
Source/Unrealzilla/Private/UnrealzillaPrivatePCH.h
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Copyright ©2019 Batty Bovine Productions, LLC. All Rights Reserved.
|
||||
**/
|
||||
|
||||
|
||||
#include "CoreUObject.h"
|
||||
#include "Engine.h"
|
||||
#include "ModuleManager.h"
|
||||
|
||||
// You should place include statements to your module's private header files here. You only need to
|
||||
// add includes for headers that are used in most of your module's source files though.
|
||||
#include "IUnrealzilla_Implementation.h"
|
||||
BIN
Source/Unrealzilla/Public/BugPlacerPawn.h
Normal file
BIN
Source/Unrealzilla/Public/BugPlacerPawn.h
Normal file
Binary file not shown.
45
Source/Unrealzilla/Public/IUnrealzilla_Implementation.h
Normal file
45
Source/Unrealzilla/Public/IUnrealzilla_Implementation.h
Normal file
@ -0,0 +1,45 @@
|
||||
/**
|
||||
* Copyright ©2019 Batty Bovine Productions, LLC. All Rights Reserved.
|
||||
**/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Modules/ModuleInterface.h"
|
||||
#include "Modules/ModuleManager.h"
|
||||
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(UnrealzillaLog, Log, All);
|
||||
|
||||
/**
|
||||
* The public interface to this module. In most cases, this interface is only public to sibling modules
|
||||
* within this plugin.
|
||||
*/
|
||||
class IUnrealzilla_Implementation : public IModuleInterface
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Singleton-like access to this module's interface. This is just for convenience!
|
||||
* Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
|
||||
*
|
||||
* @return Returns singleton instance, loading the module on demand if needed
|
||||
*/
|
||||
static inline IUnrealzilla_Implementation& Get()
|
||||
{
|
||||
return FModuleManager::LoadModuleChecked<IUnrealzilla_Implementation>("Unrealzilla");
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
|
||||
*
|
||||
* @return True if the module is loaded and ready to use
|
||||
*/
|
||||
static inline bool IsAvailable()
|
||||
{
|
||||
return FModuleManager::Get().IsModuleLoaded("Unrealzilla");
|
||||
}
|
||||
};
|
||||
|
||||
45
Source/Unrealzilla/Unrealzilla.Build.cs
Normal file
45
Source/Unrealzilla/Unrealzilla.Build.cs
Normal file
@ -0,0 +1,45 @@
|
||||
/**
|
||||
* Copyright ©2019 Batty Bovine Productions, LLC. All Rights Reserved.
|
||||
**/
|
||||
|
||||
|
||||
using System.IO;
|
||||
|
||||
namespace UnrealBuildTool.Rules
|
||||
{
|
||||
public class Unrealzilla : ModuleRules
|
||||
{
|
||||
public Unrealzilla(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
bLegacyPublicIncludePaths = true;
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
ShadowVariableWarningLevel = WarningLevel.Warning;
|
||||
|
||||
PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "Public"));
|
||||
|
||||
PrivateIncludePaths.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"Unrealzilla/Private"
|
||||
}
|
||||
);
|
||||
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"Core",
|
||||
"CoreUObject",
|
||||
"Engine",
|
||||
"InputCore",
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
///
|
||||
20
Unrealzilla.uplugin
Normal file
20
Unrealzilla.uplugin
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1.0,
|
||||
"VersionName": "1.0",
|
||||
"FriendlyName": "Unrealzilla",
|
||||
"Description": "A tool for adding bug reports in-game ",
|
||||
"Category": "Menu",
|
||||
"CreatedBy": "Batty Bovine Productions, LLC",
|
||||
"CreatedByURL": "https://battybovine.com",
|
||||
"EnabledByDefault": true,
|
||||
"CanContainContent": true,
|
||||
"IsBetaVersion": true,
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "Unrealzilla",
|
||||
"Type": "Runtime",
|
||||
"LoadingPhase": "PreDefault"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user