mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Moved VR module from core to a regular module, as not all games are necessarily going to use VR.
Also corrected some of the default posteffect settings for the levels.
This commit is contained in:
parent
5037d7e046
commit
c17ae94745
|
|
@ -24,8 +24,6 @@ function CoreModule::onCreate(%this)
|
|||
ModuleDatabase.LoadExplicit( "Core_Lighting" );
|
||||
ModuleDatabase.LoadExplicit( "Core_SFX" );
|
||||
ModuleDatabase.LoadExplicit( "Core_PostFX" );
|
||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
||||
ModuleDatabase.LoadExplicit( "Core_ClientServer" );
|
||||
|
||||
%prefPath = getPrefpath();
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
function Core_VR::onCreate(%this)
|
||||
{
|
||||
exec("./scripts/oculusVR.cs");
|
||||
}
|
||||
|
||||
function Core_VR::onDestroy(%this)
|
||||
{
|
||||
}
|
||||
9
Templates/Modules/vr/VR.cs
Normal file
9
Templates/Modules/vr/VR.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
function VR::onCreate(%this)
|
||||
{
|
||||
exec("./scripts/oculusVR.cs");
|
||||
}
|
||||
|
||||
function VR::onDestroy(%this)
|
||||
{
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<ModuleDefinition
|
||||
ModuleId="Core_VR"
|
||||
ModuleId="VR"
|
||||
VersionId="1"
|
||||
Description="Module that implements the core engine-level setup for the game."
|
||||
ScriptFile="Core_VR.cs"
|
||||
ScriptFile="VR.cs"
|
||||
CreateFunction="onCreate"
|
||||
DestroyFunction="onDestroy"
|
||||
Group="Core">
|
||||
Group="Game">
|
||||
</ModuleDefinition>
|
||||
Loading…
Reference in a new issue