icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
70 if (level < cl->messagelevel)
73 va_start (argptr,fmt);
74 vsprintf (
string, fmt,argptr);
96 va_start (argptr,fmt);
97 vsprintf (
string, fmt,argptr);
107 for (
i=0 ;
i<1023 &&
string[
i] ;
i++)
108 copy[
i] =
string[
i]&127;
115 if (level < cl->messagelevel)
139 va_start (argptr,fmt);
140 vsprintf (
string, fmt,argptr);
165 int leafnum, cluster;
232 if (
mask && (!(
mask[cluster>>3] & (1<<(cluster&7)) ) ) )
273 int soundindex,
float volume,
274 float attenuation,
float timeofs)
283 if (volume < 0 || volume > 1.0)
286 if (attenuation < 0 || attenuation > 4)
292 if (timeofs < 0 || timeofs > 0.255)
305 sendchan = (ent<<3) | (channel&7);
332 for (
i=0 ;
i<3 ;
i++)
403 msg.allowoverflow =
true;
414 Com_Printf (
"WARNING: datagram overflowed for %s\n", client->
name);
void SV_DemoCompleted(void)
int message_size[RATE_MESSAGES]
#define DEFAULT_SOUND_PACKET_VOLUME
void SZ_Init(sizebuf_t *buf, byte *data, int length)
void SZ_Write(sizebuf_t *buf, void *data, int length)
void SZ_Clear(sizebuf_t *buf)
int CM_LeafArea(int leafnum)
byte * CM_ClusterPVS(int cluster)
qboolean CM_AreasConnected(int area1, int area2)
void SV_BuildClientFrame(client_t *client)
void SV_DropClient(client_t *drop)
void SV_Multicast(vec3_t origin, multicast_t to)
#define DEFAULT_SOUND_PACKET_ATTENUATION
void SV_FlushRedirect(int sv_redirected, char *outputbuf)
void SV_StartSound(vec3_t origin, edict_t *entity, int channel, int soundindex, float volume, float attenuation, float timeofs)
void MSG_WritePos(sizebuf_t *sb, vec3_t pos)
void MSG_WriteString(sizebuf_t *sb, char *s)
void MSG_WriteShort(sizebuf_t *sb, int c)
void MSG_WriteByte(sizebuf_t *sb, int c)
void Com_Error(int code, char *fmt,...)
#define SV_OUTPUTBUF_LENGTH
char sv_outputbuf[SV_OUTPUTBUF_LENGTH]
void SV_BroadcastCommand(char *fmt,...)
qboolean SV_RateDrop(client_t *c)
byte * CM_ClusterPHS(int cluster)
void SV_ClientPrintf(client_t *cl, int level, char *fmt,...)
void SV_WriteFrameToClient(client_t *client, sizebuf_t *msg)
int CM_LeafCluster(int leafnum)
qboolean SV_SendClientDatagram(client_t *client)
void Netchan_Transmit(netchan_t *chan, int length, byte *data)
void Netchan_OutOfBandPrint(int net_socket, netadr_t adr, char *format,...)
void Com_Printf(char *fmt,...)
void SV_SendClientMessages(void)
int CM_PointLeafnum(vec3_t p)
void SV_BroadcastPrintf(int level, char *fmt,...)