]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
document DP_CSQC_MINFPS_QUALITY
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Nov 2011 13:08:33 +0000 (13:08 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Nov 2011 13:08:33 +0000 (13:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11563 d7cf8633-e32d-0410-b094-e92efae38249

dpdefs/csprogsdefs.qc
svvm_cmds.c

index 8fa52e44af7920fca8fb490b381e1f7c9650946a..fe200ae414a7824b26dcebbb8c6b73ca225de44e 100644 (file)
@@ -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
index 3bb77ef654990f94c9e224736a778fa5f9b46412..1faeeafd811e0a5e3c249b764173d36e1bc3c765 100644 (file)
@@ -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 "