]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.h
1. make the first CSQC rendered view the "main" view, for use e.g. by origin display...
[xonotic/darkplaces.git] / csprogs.h
index 95e1c48d29e83d68c8f85d1157025034b2250d95..2aba12b389140b9ad5de7595b191ebdcf324a677 100644 (file)
--- a/csprogs.h
+++ b/csprogs.h
@@ -50,6 +50,8 @@
 #define VF_FOG_HEIGHT          210 //(float)
 #define VF_FOG_FADEDEPTH       211 //(float)
 
+#define VF_MAINVIEW            212 //(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.
 #define RF_DEPTHHACK           4       // The entity appears closer to the view than normal, either by scaling it wierdly or by just using a depthrange. This will usually be found in conjunction with RF_VIEWMODEL