From: divverent Date: Thu, 17 Nov 2011 13:08:33 +0000 (+0000) Subject: document DP_CSQC_MINFPS_QUALITY X-Git-Tag: xonotic-v0.6.0~159 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8da0bd3de2967de2282e65a3a18b034915422b4c;p=xonotic%2Fdarkplaces.git document DP_CSQC_MINFPS_QUALITY git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11563 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=55362d4d9e0a2acc1285497ec91c5b389a5c8894 --- diff --git a/dpdefs/csprogsdefs.qc b/dpdefs/csprogsdefs.qc index 8fa52e44..fe200ae4 100644 --- a/dpdefs/csprogsdefs.qc +++ b/dpdefs/csprogsdefs.qc @@ -893,3 +893,11 @@ const float VF_MAINVIEW = 212; //this flag is set for the first scene, and not cleared by R_ClearScene //this flag is automatically cleared by R_RenderView //so when not using this extension, the first view rendered is the main view + +//DP_CSQC_MINFPS_QUALITY +//idea: divVerent +//darkplaces implementation: divVerent +//constant definitions: +const float VF_MINFPS_QUALITY = 213; +//use getproperty(VF_MINFPS_QUALITY); to do CSQC based LOD based on cl_minfps +//1 should lead to an unmodified view diff --git a/svvm_cmds.c b/svvm_cmds.c index 3bb77ef6..1faeeafd 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -25,6 +25,7 @@ const char *vm_sv_extensions = "DP_CSQC_ENTITYMODELLIGHT " "DP_CSQC_ENTITYTRANSPARENTSORTING_OFFSET " "DP_CSQC_MAINVIEW " +"DP_CSQC_MINFPS_QUALITY " "DP_CSQC_MULTIFRAME_INTERPOLATION " "DP_CSQC_BOXPARTICLES " "DP_CSQC_SPAWNPARTICLE "