]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.h
fix typo compile erorr
[xonotic/darkplaces.git] / csprogs.h
index 8d3278e2efdd592102c16990c64556bfb7d801b0..38e1cba0f2223f0f47076a1b9cf267eb64458486 100644 (file)
--- a/csprogs.h
+++ b/csprogs.h
 #define RF_USEAXIS                     16      // When set, the entity will use the v_forward, v_right and v_up globals instead of it's angles field for orientation. Angles will be ignored compleatly.
                                                                // Note that to use this properly, you'll NEED to use the predraw function to set the globals.
 //#define RF_DOUBLESIDED               32
+#define RF_USETRANSPARENTOFFSET 64 // Allows QC to customize origin used for transparent sorting via transparent_origin global, helps to fix transparent sorting bugs on a very large entities
+#define RF_NOCULL                              128 // do not cull this entity using r_cullentities, for large outdoor entities (asteroids on the sky. etc)
 
 extern cvar_t csqc_progname;   //[515]: csqc crc check and right csprogs name according to progs.dat
 extern cvar_t csqc_progcrc;
 extern cvar_t csqc_progsize;
 
+void CL_VM_PreventInformationLeaks(void);
+
+qboolean MakeDownloadPacket(const char *filename, unsigned char *data, unsigned long len, int crc, int cnt, sizebuf_t *buf, int protocol);
+
+qboolean CL_VM_GetEntitySoundOrigin(int entnum, vec3_t out);
+
+void CL_LoadFrameGroupBlend(prvm_edict_t *ed, entity_render_t *entrender);
+int CL_BlendTagMatrix(entity_render_t *entrender, int tagindex, matrix4x4_t *blendmatrix); // returns 0 or an error code
+
 #endif