]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.h
if(developer_extra.integer) Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s...
[xonotic/darkplaces.git] / csprogs.h
index 2aba12b389140b9ad5de7595b191ebdcf324a677..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)
@@ -50,7 +54,9 @@
 #define VF_FOG_HEIGHT          210 //(float)
 #define VF_FOG_FADEDEPTH       211 //(float)
 
-#define VF_MAINVIEW            212 //(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.
@@ -109,4 +115,6 @@ void CSQC_R_RecalcView(void);
 
 dp_model_t *CL_GetModelByIndex(int modelindex);
 
+int CL_VM_GetViewEntity(void);
+
 #endif