-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
148 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/Intermediate/ | ||
/Binaries/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
||
 | ||
|
||
|
||
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. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
21
Source/VaRealVehiclePlugin/Private/VaRealVehiclePlugin.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Source/VaRealVehiclePlugin/Private/VaRealVehiclePluginPrivatePCH.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ); | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ... | ||
}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |