X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=csprogs.h;h=2aba12b389140b9ad5de7595b191ebdcf324a677;hb=cc8467a35526f04bb2643cf3ecf24d3056983108;hp=95e1c48d29e83d68c8f85d1157025034b2250d95;hpb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf;p=xonotic%2Fdarkplaces.git diff --git a/csprogs.h b/csprogs.h index 95e1c48d..2aba12b3 100644 --- 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