X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=csprogs.h;h=6e2e517cf50a76ce39566d11eff4c4b1945d2004;hp=24856dd740a8d9652e129065bcaec1a85d4198dd;hb=72943b86b04da4f0ee7b4074287ec3743b8cd077;hpb=fb55f65f8f10dfaf093b99b8055d204888af0e85 diff --git a/csprogs.h b/csprogs.h index 24856dd7..6e2e517c 100644 --- a/csprogs.h +++ b/csprogs.h @@ -48,11 +48,20 @@ #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) + +#define RF_FULLBRIGHT 256 +#define RF_NOSHADOW 512 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; -qboolean MakeDownloadPacket(const char *filename, unsigned char *data, unsigned long len, int crc, int cnt, sizebuf_t *buf, int protocol); +void CL_VM_PreventInformationLeaks(void); + +qboolean MakeDownloadPacket(const char *filename, unsigned char *data, size_t len, int crc, int cnt, sizebuf_t *buf, int protocol); + +qboolean CL_VM_GetEntitySoundOrigin(int entnum, vec3_t out); #endif