]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
move VF_MAINVIEW and VF_MINFPS_QUALITY to DP's extension range (4xx)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Nov 2011 08:22:30 +0000 (08:22 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Nov 2011 08:22:30 +0000 (08:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11572 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.h
dpdefs/csprogsdefs.qc

index 958cfece1a127e34367cebc1ae69c67fd933843b..1bed1f62f3c86cc4667c1b1ef0c39705b051ec19 100644 (file)
--- a/csprogs.h
+++ b/csprogs.h
 #define VF_CL_VIEWANGLES_Y     35      //(float)
 #define VF_CL_VIEWANGLES_Z     36      //(float)
 
+// FTEQW's extension range
 #define VF_PERSPECTIVE         200 //(float)
+
+// what is this doing here? This is a DP extension introduced by Black, should be in 4xx range
 #define VF_CLEARSCREEN         201 //(float)
 
+// what is this doing here? This is a DP extension introduced by VorteX, should be in 4xx range
 #define VF_FOG_DENSITY         202 //(float)
 #define VF_FOG_COLOR           203 //(vector)
 #define VF_FOG_COLOR_R         204 //(float)
 #define VF_FOG_END             209 //(float)
 #define VF_FOG_HEIGHT          210 //(float)
 #define VF_FOG_FADEDEPTH       211 //(float)
-#define VF_MAINVIEW            212 //(float)
-#define VF_MINFPS_QUALITY      213 //(float)
+
+// DP's extension range
+#define VF_MAINVIEW            400 //(float)
+#define VF_MINFPS_QUALITY      401 //(float)
 
 #define RF_VIEWMODEL           1       // The entity is never drawn in mirrors. In engines with realtime lighting, it casts no shadows.
 #define RF_EXTERNALMODEL       2       // The entity is appears in mirrors but not in the normal view. It does still cast shadows in engines with realtime lighting.
index 416d3d284fdabd37c62291fb6d026a3157fe0ccb..c92dc1916cf8eeacbaacc2456fcaf5fa285eb33e 100644 (file)
@@ -887,7 +887,7 @@ float(string url, float id, string content_type, string delim, float buf, float
 //idea: divVerent
 //darkplaces implementation: divVerent
 //constant definitions:
-const float VF_MAINVIEW         = 212;
+const float VF_MAINVIEW         = 400;
 //use setproperty(VF_MAINVIEW, 1); before calling R_RenderView for the render
 //that shall become the "main" view, which is e.g. used by PRYDON_CLIENTCURSOR 
 //this flag is set for the first scene, and not cleared by R_ClearScene
@@ -898,7 +898,7 @@ const float VF_MAINVIEW         = 212;
 //idea: divVerent
 //darkplaces implementation: divVerent
 //constant definitions:
-const float VF_MINFPS_QUALITY   = 213;
+const float VF_MINFPS_QUALITY   = 401;
 //use getproperty(VF_MINFPS_QUALITY); to do CSQC based LOD based on cl_minfps
 //1 should lead to an unmodified view