From 8da0bd3de2967de2282e65a3a18b034915422b4c Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 17 Nov 2011 13:08:33 +0000 Subject: [PATCH] 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 --- dpdefs/csprogsdefs.qc | 8 ++++++++ svvm_cmds.c | 1 + 2 files changed, 9 insertions(+) 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 " -- 2.39.2