Skip to content

Commit

Permalink
Initial plugin structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ufna committed Feb 22, 2016
1 parent e39e46f commit 3b4dc10
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/Intermediate/
/Binaries/
.DS_Store
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# VaRealVehicle
Plugin for Unreal Engine 4 with simple force-driven vehicle simulation
Overview
========

VaRealVehicle is the plugin for [Unreal Engine 4](https://www.unrealengine.com/) with simple force-driven vehicle simulation.

Key features:
* **@TODO** Plugin in development mode!!!

Check the [Wiki](https://github.com/ufna/VaRealVehicle/wiki) tab for plugin usage examples and installation notes.

Current version: **1.0 Alpha 1** (UE 4.10)

![SCREENSHOT](SCREENSHOT.jpg)


Legal info
----------

Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere.

Unreal® Engine, Copyright 1998 – 2016, Epic Games, Inc. All rights reserved.

Binary file added Resources/Icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SCREENSHOT.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Source/VaRealVehiclePlugin/Private/VaRealVehiclePlugin.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2016 Vladimir Alyamkin. All Rights Reserved.

#include "VaRealVehiclePluginPrivatePCH.h"

class FVaRealVehiclePlugin : public IVaRealVehiclePlugin
{
/** IModuleInterface implementation */
virtual void StartupModule() override
{

}

virtual void ShutdownModule() override
{

}
};

IMPLEMENT_MODULE( FVaRealVehiclePlugin, VaRealVehiclePlugin )

DEFINE_LOG_CATEGORY(LogVaRealVehicle);
16 changes: 16 additions & 0 deletions Source/VaRealVehiclePlugin/Private/VaRealVehiclePluginPrivatePCH.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2016 Vladimir Alyamkin. All Rights Reserved.

#pragma once

#include "CoreUObject.h"
#include "Engine.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 "ModuleManager.h"

DECLARE_LOG_CATEGORY_EXTERN(LogVaRealVehicle, Log, All);

#include "IVaRealVehiclePlugin.h"

//#include "VaRealVehiclePluginClasses.h"
38 changes: 38 additions & 0 deletions Source/VaRealVehiclePlugin/Public/IVaRealVehiclePlugin.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Copyright 2016 Vladimir Alyamkin. All Rights Reserved.

#pragma once

#include "ModuleManager.h"


/**
* The public interface to this module. In most cases, this interface is only public to sibling modules
* within this plugin.
*/
class IVaRealVehiclePlugin : 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 IVaRealVehiclePlugin& Get()
{
return FModuleManager::LoadModuleChecked< IVaRealVehiclePlugin >( "VaRealVehiclePlugin" );
}

/**
* 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( "VaRealVehiclePlugin" );
}
};

27 changes: 27 additions & 0 deletions Source/VaRealVehiclePlugin/VaRealVehiclePlugin.Build.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2016 Vladimir Alyamkin. All Rights Reserved.

using System.IO;

namespace UnrealBuildTool.Rules
{
public class VaRealVehiclePlugin : ModuleRules
{
public VaRealVehiclePlugin(TargetInfo Target)
{
PrivateIncludePaths.AddRange(
new string[] {
"VaRealVehiclePlugin/Private",
// ... add other private include paths required here ...
});

PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine"
// ... add other public dependencies that you statically link with here ...
});
}
}
}
21 changes: 21 additions & 0 deletions VaRealVehiclePlugin.uplugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"FileVersion" : 3,

"FriendlyName" : "VaRealVehicle",
"Version" : 1,
"VersionName" : "1.0-r1",
"CreatedBy" : "Vladimir Alyamkin",
"CreatedByURL" : "http://alyamkin.com",
"EngineVersion" : "4.10.0",
"Description" : "Plugin for Unreal Engine 4 with simple force-driven vehicle simulation",
"Category" : "Physics",

"Modules" :
[
{
"Name" : "VaRealVehiclePlugin",
"Type" : "Runtime",
"LoadingPhase": "PreDefault"
}
]
}

0 comments on commit 3b4dc10

Please sign in to comment.