68 va_start(argptr, fmt);
86 va_start(argptr, fmt);
95 const int length =
sizeof(copy) - 1;
97 va_start(argptr, fmt);
103 copy[
i] = copy[
i] & 127;
135 if (!(mask & (1 << j)))
void Com_Printf(const char *const fmt,...)
#define MAX_SVC_STUFFTEXT
void NET_VPrintf(dbuffer *buf, const char *format, va_list ap, char *str, size_t length)
void NET_WriteMsg(struct net_stream *s, dbuffer &buf)
Enqueue the buffer in the net stream for ONE client.
void NET_WriteByte(dbuffer *buf, byte c)
void NET_WriteConstMsg(struct net_stream *s, const dbuffer &buf)
Enqueue the buffer in the net stream for MULTIPLE clients.
QGL_EXTERN GLuint GLsizei GLsizei * length
Main server include file.
client_t * SV_GetNextClient(client_t *lastClient)
Iterates through clients.
int Q_vsnprintf(char *str, size_t size, const char *format, va_list ap)
Safe (null terminating) vsnprintf implementation.
struct net_stream * stream
void SV_BroadcastPrintf(int level, const char *fmt,...)
Sends text to all active clients.
void SV_Multicast(int mask, const dbuffer &msg)
Sends the contents of msg to a subset of the clients, then frees msg.
void SV_ClientCommand(client_t *client, const char *fmt,...)
void SV_ClientPrintf(client_t *cl, int level, const char *fmt,...)
Sends text across to be displayed if the level passes.