void SetDisableFBOWater(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("waterfoam")) g_WaterFoam = !disabled; if (!IsOverridden("watercoastalwaves")) g_WaterCoastalWaves = !disabled; }
void SetDisableFancyWater(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled) { if (!IsOverridden("waterfancyeffects")) g_WaterFancyEffects = !disabled; if (!IsOverridden("waterrealdepth")) g_WaterRealDepth = !disabled; if (!IsOverridden("shadowsonwater")) g_WaterShadows = !disabled; }
void SetDisableFancyWater(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("waterrealdepth")) g_WaterRealDepth = !disabled; if (!IsOverridden("waterfoam")) g_WaterFoam = !disabled; if (!IsOverridden("watercoastalwaves")) g_WaterCoastalWaves = !disabled; if (!IsOverridden("watershadows")) g_WaterShadows = !disabled; }
void SetDisableAllWater(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled) { g_WaterUgly = true; if (!IsOverridden("waterfancyeffects")) g_WaterFancyEffects = !disabled; if (!IsOverridden("waterrealdepth")) g_WaterRealDepth = !disabled; if (!IsOverridden("waterrefraction")) g_WaterRefraction = !disabled; if (!IsOverridden("waterreflection")) g_WaterReflection = !disabled; if (!IsOverridden("shadowsonwater")) g_WaterShadows = !disabled; }
void SetDisableAllWater(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("waternormals")) g_WaterNormal = !disabled; if (!IsOverridden("waterrealdepth")) g_WaterRealDepth = !disabled; if (!IsOverridden("waterfoam")) g_WaterFoam = !disabled; if (!IsOverridden("watercoastalwaves")) g_WaterCoastalWaves = !disabled; if (!IsOverridden("waterrefraction")) g_WaterRefraction = !disabled; if (!IsOverridden("waterreflection")) g_WaterReflection = !disabled; if (!IsOverridden("watershadows")) g_WaterShadows = !disabled; }
void SetDisableShadowPCF(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("shadowpcf")) g_ShadowPCF = !disabled; }
void SetDisableShadows(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("shadows")) g_Shadows = !disabled; }
void SetDisableS3TC(void* UNUSED(cbdata), bool disabled) { if (!IsOverridden("nos3tc")) ogl_tex_override(OGL_TEX_S3TC, disabled ? OGL_TEX_DISABLE : OGL_TEX_ENABLE); }
void SetEnableGLSL(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool enabled) { if (!IsOverridden("preferglsl")) g_PreferGLSL = enabled; }
void SetDisableShadowPCF(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled) { if (!IsOverridden("shadowpcf")) g_ShadowPCF = !disabled; }
void SetDisableS3TC(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled) { if (!IsOverridden("nos3tc")) ogl_tex_override(OGL_TEX_S3TC, disabled ? OGL_TEX_DISABLE : OGL_TEX_ENABLE); }
void SetEnableSmoothLOS(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool enabled) { if (!IsOverridden("smoothlos")) g_SmoothLOS = enabled; }
void SetEnablePostProc(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool enabled) { if (!IsOverridden("postproc")) g_PostProc = enabled; }