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:
Areloch 2018-09-19 16:03:58 -05:00
parent db29b9b0a2
commit bfb0c48616
8 changed files with 14 additions and 16 deletions

View file

@ -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();

View file

@ -1,9 +0,0 @@
function Core_VR::onCreate(%this)
{
exec("./scripts/oculusVR.cs");
}
function Core_VR::onDestroy(%this)
{
}

View file

@ -1,4 +1,4 @@
$PostFXManager::Settings::ColorCorrectionRamp = "core/images/null_color_ramp.png";
$PostFXManager::Settings::ColorCorrectionRamp = "core/postFX/images/null_color_ramp.png";
$PostFXManager::Settings::DOF::BlurCurveFar = "";
$PostFXManager::Settings::DOF::BlurCurveNear = "";
$PostFXManager::Settings::DOF::BlurMax = "";

View file

@ -1,4 +1,4 @@
$PostFXManager::Settings::ColorCorrectionRamp = "core/images/null_color_ramp.png";
$PostFXManager::Settings::ColorCorrectionRamp = "core/postFX/images/null_color_ramp.png";
$PostFXManager::Settings::DOF::BlurCurveFar = "";
$PostFXManager::Settings::DOF::BlurCurveNear = "";
$PostFXManager::Settings::DOF::BlurMax = "";

View file

@ -0,0 +1,9 @@
function VR::onCreate(%this)
{
exec("./scripts/oculusVR.cs");
}
function VR::onDestroy(%this)
{
}

View file

@ -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>