]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/csqc_builtins.qc
cl_minfps: make gibs die faster on low fps
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / csqc_builtins.qc
index 35cf6b19bcd6aa87308efbd243064b98269c3bc7..96e28b96abcc114f01f1bab91e4009bedf2bc937 100644 (file)
@@ -348,3 +348,11 @@ string(string digest, string data, ...) digest_hex = #639;
 //only the "MD4" digest is always supported!
 //if the given digest is not supported, string_null is returned
 //the digest string is matched case sensitively, use "MD4", not "md4"!
+
+//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