mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +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
6 changed files with 12 additions and 14 deletions
|
|
@ -24,8 +24,6 @@ function CoreModule::onCreate(%this)
|
||||||
ModuleDatabase.LoadExplicit( "Core_Lighting" );
|
ModuleDatabase.LoadExplicit( "Core_Lighting" );
|
||||||
ModuleDatabase.LoadExplicit( "Core_SFX" );
|
ModuleDatabase.LoadExplicit( "Core_SFX" );
|
||||||
ModuleDatabase.LoadExplicit( "Core_PostFX" );
|
ModuleDatabase.LoadExplicit( "Core_PostFX" );
|
||||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
|
||||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
|
||||||
ModuleDatabase.LoadExplicit( "Core_ClientServer" );
|
ModuleDatabase.LoadExplicit( "Core_ClientServer" );
|
||||||
|
|
||||||
%prefPath = getPrefpath();
|
%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
|
<ModuleDefinition
|
||||||
ModuleId="Core_VR"
|
ModuleId="VR"
|
||||||
VersionId="1"
|
VersionId="1"
|
||||||
Description="Module that implements the core engine-level setup for the game."
|
Description="Module that implements the core engine-level setup for the game."
|
||||||
ScriptFile="Core_VR.cs"
|
ScriptFile="VR.cs"
|
||||||
CreateFunction="onCreate"
|
CreateFunction="onCreate"
|
||||||
DestroyFunction="onDestroy"
|
DestroyFunction="onDestroy"
|
||||||
Group="Core">
|
Group="Game">
|
||||||
</ModuleDefinition>
|
</ModuleDefinition>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue