Go to the source code of this file.
|
enum | server_state_t {
ss_dead,
ss_loading,
ss_game,
ss_cinematic,
ss_demo,
ss_pic
} |
|
enum | client_state_t { cs_free,
cs_zombie,
cs_connected,
cs_spawned
} |
|
enum | redirect_t { RD_NONE,
RD_CLIENT,
RD_PACKET
} |
|
|
void | SV_FinalMessage (char *message, qboolean reconnect) |
|
void | SV_DropClient (client_t *drop) |
|
int | SV_ModelIndex (char *name) |
|
int | SV_SoundIndex (char *name) |
|
int | SV_ImageIndex (char *name) |
|
void | SV_WriteClientdataToMessage (client_t *client, sizebuf_t *msg) |
|
void | SV_ExecuteUserCommand (char *s) |
|
void | SV_InitOperatorCommands (void) |
|
void | SV_SendServerinfo (client_t *client) |
|
void | SV_UserinfoChanged (client_t *cl) |
|
void | Master_Heartbeat (void) |
|
void | Master_Packet (void) |
|
void | SV_InitGame (void) |
|
void | SV_Map (qboolean attractloop, char *levelstring, qboolean loadgame) |
|
void | SV_PrepWorldFrame (void) |
|
void | SV_FlushRedirect (int sv_redirected, char *outputbuf) |
|
void | SV_DemoCompleted (void) |
|
void | SV_SendClientMessages (void) |
|
void | SV_Multicast (vec3_t origin, multicast_t to) |
|
void | SV_StartSound (vec3_t origin, edict_t *entity, int channel, int soundindex, float volume, float attenuation, float timeofs) |
|
void | SV_ClientPrintf (client_t *cl, int level, char *fmt,...) |
|
void | SV_BroadcastPrintf (int level, char *fmt,...) |
|
void | SV_BroadcastCommand (char *fmt,...) |
|
void | SV_Nextserver (void) |
|
void | SV_ExecuteClientMessage (client_t *cl) |
|
void | SV_ReadLevelFile (void) |
|
void | SV_Status_f (void) |
|
void | SV_WriteFrameToClient (client_t *client, sizebuf_t *msg) |
|
void | SV_RecordDemoMessage (void) |
|
void | SV_BuildClientFrame (client_t *client) |
|
void | SV_Error (char *error,...) |
|
void | SV_InitGameProgs (void) |
|
void | SV_ShutdownGameProgs (void) |
|
void | SV_InitEdict (edict_t *e) |
|
void | SV_ClearWorld (void) |
|
void | SV_UnlinkEdict (edict_t *ent) |
|
void | SV_LinkEdict (edict_t *ent) |
|
int | SV_AreaEdicts (vec3_t mins, vec3_t maxs, edict_t **list, int maxcount, int areatype) |
|
int | SV_PointContents (vec3_t p) |
|
trace_t | SV_Trace (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, edict_t *passedict, int contentmask) |
|
◆ EDICT_NUM
#define EDICT_NUM |
( |
|
n | ) |
((edict_t *)((byte *)ge->edicts + ge->edict_size*(n))) |
◆ LATENCY_COUNTS
#define LATENCY_COUNTS 16 |
◆ MAX_CHALLENGES
#define MAX_CHALLENGES 1024 |
◆ MAX_MASTERS
◆ NUM_FOR_EDICT
#define NUM_FOR_EDICT |
( |
|
e | ) |
( ((byte *)(e)-(byte *)ge->edicts ) / ge->edict_size) |
◆ RATE_MESSAGES
◆ SV_OUTPUTBUF_LENGTH
◆ client_t
◆ client_state_t
Enumerator |
---|
cs_free | |
cs_zombie | |
cs_connected | |
cs_spawned | |
Definition at line 73 of file server.h.
◆ redirect_t
Enumerator |
---|
RD_NONE | |
RD_CLIENT | |
RD_PACKET | |
Definition at line 242 of file server.h.
◆ server_state_t
Enumerator |
---|
ss_dead | |
ss_loading | |
ss_game | |
ss_cinematic | |
ss_demo | |
ss_pic | |
Definition at line 32 of file server.h.
◆ Master_Heartbeat()
◆ Master_Packet()
◆ SV_AreaEdicts()
◆ SV_BroadcastCommand()
void SV_BroadcastCommand |
( |
char * |
fmt, |
|
|
|
... |
|
) |
| |
Definition at line 132 of file sv_send.c.
139 va_start (argptr,fmt);
140 vsnprintf (
string,1024,fmt,argptr);
Referenced by SV_Map().
◆ SV_BroadcastPrintf()
void SV_BroadcastPrintf |
( |
int |
level, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ SV_BuildClientFrame()
Definition at line 522 of file sv_ents.c.
531 int clientarea, clientcluster;
537 clent = client->
edict;
551 for (
i=0 ;
i<3 ;
i++)
603 if ( !(clientphs[l >> 3] & (1 << (l&7) )) )
628 if (bitvector[l >> 3] & (1 << (l&7) ))
649 if (SV_AddProjectileUpdate(ent))
Referenced by SV_SendClientDatagram().
◆ SV_ClearWorld()
◆ SV_ClientPrintf()
◆ SV_DemoCompleted()
◆ SV_DropClient()
◆ SV_Error()
void SV_Error |
( |
char * |
error, |
|
|
|
... |
|
) |
| |
◆ SV_ExecuteClientMessage()
Definition at line 533 of file sv_user.c.
542 int checksum, calculatedChecksum;
558 Com_Printf (
"SV_ReadClientMessage: badread\n");
570 Com_Printf (
"SV_ReadClientMessage: unknown command char\n");
590 if (lastframe !=
cl->lastframe) {
591 cl->lastframe = lastframe;
592 if (
cl->lastframe > 0) {
598 memset (&nullcmd, 0,
sizeof(nullcmd));
613 cl->netchan.incoming_sequence);
615 if (calculatedChecksum != checksum)
617 Com_DPrintf (
"Failed command checksum for %s (%d != %d)/%d\n",
618 cl->name, calculatedChecksum, checksum,
619 cl->netchan.incoming_sequence);
625 net_drop =
cl->netchan.dropped;
648 cl->lastcmd = newcmd;
Referenced by SV_ReadPackets().
◆ SV_ExecuteUserCommand()
void SV_ExecuteUserCommand |
( |
char * |
s | ) |
|
◆ SV_FinalMessage()
◆ SV_FlushRedirect()
void SV_FlushRedirect |
( |
int |
sv_redirected, |
|
|
char * |
outputbuf |
|
) |
| |
◆ SV_ImageIndex()
int SV_ImageIndex |
( |
char * |
name | ) |
|
◆ SV_InitEdict()
◆ SV_InitGame()
◆ SV_InitGameProgs()
◆ SV_InitOperatorCommands()
◆ SV_LinkEdict()
Definition at line 166 of file sv_world.c.
198 j = (-ent->
mins[2])/8;
205 k = (ent->
maxs[2]+32)/8;
211 ent->
s.
solid = (k<<10) | (
j<<5) |
i;
228 for (
i=0 ;
i<3 ;
i++)
237 for (
i=0 ;
i<3 ;
i++)
268 for (
i=0 ;
i<num_leafs ;
i++)
278 Com_DPrintf (
"Object touching 3 areas at %f %f %f\n",
295 for (
i=0 ;
i<num_leafs ;
i++)
297 if (clusters[
i] == -1)
299 for (
j=0 ;
j<
i ;
j++)
300 if (clusters[
j] == clusters[
i])
330 if (node->
axis == -1)
Referenced by PF_setmodel(), and SV_InitGameProgs().
◆ SV_Map()
Definition at line 394 of file sv_init.c.
407 strcpy (
level, levelstring);
410 ch = strstr(
level,
"+");
414 Cvar_Set (
"nextserver",
va(
"gamemap \"%s\"", ch+1));
421 Cvar_Set (
"nextserver",
"gamemap \"*base1\"");
424 ch = strstr(
level,
"$");
428 strcpy (spawnpoint, ch+1);
439 strcpy(tmp,
level+1);
446 if (l > 4 && !strcmp (
level+l-4,
".cin") )
452 else if (l > 4 && !strcmp (
level+l-4,
".dm2") )
458 else if (l > 4 && !strcmp (
level+l-4,
".pcx") )
Referenced by SV_DemoMap_f(), SV_GameMap_f(), and SV_Loadgame_f().
◆ SV_ModelIndex()
int SV_ModelIndex |
( |
char * |
name | ) |
|
◆ SV_Multicast()
◆ SV_Nextserver()
◆ SV_PointContents()
◆ SV_PrepWorldFrame()
◆ SV_ReadLevelFile()
◆ SV_RecordDemoMessage()
Definition at line 680 of file sv_ents.c.
686 byte buf_data[32768];
692 memset (&nostate, 0,
sizeof(nostate));
693 SZ_Init (&buf, buf_data,
sizeof(buf_data));
703 while (e < ge->num_edicts)
Referenced by SV_Frame().
◆ SV_SendClientMessages()
◆ SV_SendServerinfo()
◆ SV_ShutdownGameProgs()
◆ SV_SoundIndex()
int SV_SoundIndex |
( |
char * |
name | ) |
|
◆ SV_StartSound()
void SV_StartSound |
( |
vec3_t |
origin, |
|
|
edict_t * |
entity, |
|
|
int |
channel, |
|
|
int |
soundindex, |
|
|
float |
volume, |
|
|
float |
attenuation, |
|
|
float |
timeofs |
|
) |
| |
Definition at line 272 of file sv_send.c.
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++)
Referenced by PF_StartSound(), and SV_InitGameProgs().
◆ SV_Status_f()
Definition at line 737 of file sv_ccmds.c.
750 Com_Printf (
"num score ping name lastmsg address qport \n");
751 Com_Printf (
"--- ----- ---- --------------- ------- --------------------- ------\n");
765 ping =
cl->ping < 9999 ?
cl->ping : 9999;
770 l = 16 - (
int)strlen(
cl->name);
771 for (
j=0 ;
j<l ;
j++)
778 l = 22 - (
int)strlen(
s);
779 for (
j=0 ;
j<l ;
j++)
Referenced by SV_InitOperatorCommands().
◆ SV_Trace()
◆ SV_UnlinkEdict()
◆ SV_UserinfoChanged()
◆ SV_WriteClientdataToMessage()
◆ SV_WriteFrameToClient()
◆ ge
Definition at line 24 of file sv_game.c.
Referenced by SV_Begin_f(), SV_BuildClientFrame(), SV_CheckForSavegame(), SV_ClientThink(), SV_CreateBaseline(), SV_DropClient(), SV_ExecuteUserCommand(), SV_InitGameProgs(), SV_LinkEdict(), SV_PrepWorldFrame(), SV_ReadLevelFile(), SV_ReadServerFile(), SV_RunGameFrame(), SV_ServerCommand_f(), SV_ShutdownGameProgs(), SV_SpawnServer(), SV_Trace(), SV_UserinfoChanged(), SV_WriteLevelFile(), SV_WriteServerFile(), and SVC_DirectConnect().
◆ master_adr
◆ maxclients
◆ net_from
Definition at line 81 of file net_chan.c.
Referenced by CL_ConnectionlessPacket(), CL_DumpPackets(), CL_ParseStatusMessage(), CL_ReadPackets(), NET_GetLoopPacket(), NET_GetPacket(), SV_ConnectionlessPacket(), SV_FlushRedirect(), SV_ReadPackets(), SVC_Ack(), SVC_DirectConnect(), SVC_GetChallenge(), SVC_Info(), SVC_Ping(), SVC_RemoteCommand(), and SVC_Status().
◆ net_message
Definition at line 82 of file net_chan.c.
Referenced by CL_ConnectionlessPacket(), CL_DumpPackets(), CL_Init(), CL_ParseBeam(), CL_ParseBeam2(), CL_ParseConfigString(), CL_ParseDelta(), CL_ParseDownload(), CL_ParseEntityBits(), CL_ParseFrame(), CL_ParseInventory(), CL_ParseLaser(), CL_ParseLightning(), CL_ParseMuzzleFlash(), CL_ParseMuzzleFlash2(), CL_ParseNuke(), CL_ParsePacketEntities(), CL_ParseParticles(), CL_ParsePlayerBeam(), CL_ParsePlayerstate(), CL_ParseServerData(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseStatusMessage(), CL_ParseSteam(), CL_ParseTEnt(), CL_ParseWidow(), CL_ReadPackets(), CL_WriteDemoMessage(), NET_GetLoopPacket(), NET_GetPacket(), SHOWNET(), SV_ConnectionlessPacket(), SV_ExecuteClientMessage(), SV_FinalMessage(), SV_Init(), SV_ReadPackets(), and SVC_RemoteCommand().
◆ sv
Definition at line 24 of file sv_init.c.
Referenced by Draw_Char(), Draw_StretchPicImplementation(), PF_centerprintf(), PF_Configstring(), PF_Unicast(), PF_WriteAngle(), PF_WriteByte(), PF_WriteChar(), PF_WriteDir(), PF_WriteFloat(), PF_WriteLong(), PF_WritePos(), PF_WriteShort(), PF_WriteString(), Qcommon_Frame(), SV_Baselines_f(), SV_BeginDemoserver(), SV_BroadcastCommand(), SV_BuildClientFrame(), SV_CalcPings(), SV_CheckForSavegame(), SV_ClearWorld(), SV_Configstrings_f(), SV_CreateBaseline(), SV_DemoCompleted(), SV_EmitPacketEntities(), SV_ExecuteUserCommand(), SV_FindIndex(), SV_Frame(), SV_GameMap_f(), SV_GiveMsec(), SV_HullForEntity(), SV_InitGame(), SV_LinkEdict(), SV_Loadgame_f(), SV_Map(), SV_Map_f(), SV_Multicast(), SV_New_f(), SV_Nextserver(), SV_PointContents(), SV_RateDrop(), SV_ReadLevelFile(), SV_RecordDemoMessage(), SV_RunGameFrame(), SV_Savegame_f(), SV_SendClientDatagram(), SV_SendClientMessages(), SV_ServerRecord_f(), SV_Shutdown(), SV_SpawnServer(), SV_StartSound(), SV_Status_f(), SV_WriteFrameToClient(), SV_WriteLevelFile(), SV_WriteServerFile(), SVC_DirectConnect(), and SVC_Info().
◆ sv_airaccelerate
◆ sv_client
Definition at line 25 of file sv_main.c.
Referenced by SV_Baselines_f(), SV_Begin_f(), SV_BeginDownload_f(), SV_Configstrings_f(), SV_Disconnect_f(), SV_DumpUser_f(), SV_ExecuteClientMessage(), SV_ExecuteUserCommand(), SV_FlushRedirect(), SV_Kick_f(), SV_New_f(), SV_NextDownload_f(), SV_Nextserver_f(), SV_SetPlayer(), and SVC_DirectConnect().
◆ sv_enforcetime
◆ sv_noreload
◆ sv_outputbuf
◆ sv_paused
◆ sv_player
◆ svs
Definition at line 23 of file sv_init.c.
Referenced by Master_Heartbeat(), PF_cprintf(), PF_Unicast(), SV_Baselines_f(), SV_Begin_f(), SV_BroadcastPrintf(), SV_BuildClientFrame(), SV_CalcPings(), SV_CheckTimeouts(), SV_Configstrings_f(), SV_ConSay_f(), SV_EmitPacketEntities(), SV_ExecuteClientMessage(), SV_FinalMessage(), SV_Frame(), SV_GameMap_f(), SV_GiveMsec(), SV_Heartbeat_f(), SV_InitGame(), SV_Kick_f(), SV_KillServer_f(), SV_Loadgame_f(), SV_Multicast(), SV_New_f(), SV_Nextserver(), SV_Nextserver_f(), SV_ReadPackets(), SV_ReadServerFile(), SV_RecordDemoMessage(), SV_RunGameFrame(), SV_Savegame_f(), SV_SendClientMessages(), SV_ServerRecord_f(), SV_ServerStop_f(), SV_SetMaster_f(), SV_SetPlayer(), SV_Shutdown(), SV_SpawnServer(), SV_Status_f(), SV_StatusString(), SV_WriteServerFile(), SVC_DirectConnect(), SVC_GetChallenge(), and SVC_Info().
void SV_TraceBounds(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, vec3_t boxmins, vec3_t boxmaxs)
void SV_DemoCompleted(void)
trace_t CM_BoxTrace(vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int headnode, int brushmask)
void FS_Read(void *buffer, int len, FILE *f)
void SV_ExecuteUserCommand(char *s)
byte areabits[MAX_MAP_AREAS/8]
void SV_Serverinfo_f(void)
void Sys_CopyProtect(void)
void * Z_TagMalloc(int size, int tag)
frame_t frames[UPDATE_BACKUP]
void PF_WritePos(vec3_t pos)
CONST PIXELFORMATDESCRIPTOR int
#define VectorSubtract(a, b, c)
void SV_FatPVS(vec3_t org)
void PF_setmodel(edict_t *ent, char *name)
void SV_WritePlayerstateToClient(client_frame_t *from, client_frame_t *to, sizebuf_t *msg)
void InsertLinkBefore(link_t *l, link_t *before)
void SV_LinkEdict(edict_t *ent)
void SV_SpawnServer(char *server, char *spawnpoint, server_state_t serverstate, qboolean attractloop, qboolean loadgame)
void PF_WriteDir(vec3_t dir)
#define DEFAULT_SOUND_PACKET_VOLUME
void SV_ServerRecord_f(void)
#define MAX_TOTAL_ENT_LEAFS
int SV_HullForEntity(edict_t *ent)
int CM_WriteAreaBits(byte *buffer, int area)
int CM_TransformedPointContents(vec3_t p, int headnode, vec3_t origin, vec3_t angles)
void SV_AreaEdicts_r(areanode_t *node)
struct gclient_s * client
void MSG_WriteLong(sizebuf_t *sb, int c)
void SV_BroadcastPrintf(int level, char *fmt,...)
char * NET_AdrToString(netadr_t a)
void SZ_Init(sizebuf_t *buf, byte *data, int length)
void SV_ShutdownGameProgs(void)
void Sys_UnloadGame(void)
qboolean PF_inPVS(vec3_t p1, vec3_t p2)
int clusternums[MAX_ENT_CLUSTERS]
void SCR_BeginLoadingPlaque(void)
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void SZ_Write(sizebuf_t *buf, void *data, int length)
void SV_BroadcastCommand(char *fmt,...)
void SZ_Clear(sizebuf_t *buf)
void(* ClientDisconnect)(edict_t *ent)
void SV_EmitPacketEntities(client_frame_t *from, client_frame_t *to, sizebuf_t *msg)
int CM_LeafArea(int leafnum)
void(* ClientUserinfoChanged)(edict_t *ent, char *userinfo)
int SV_AreaEdicts(vec3_t mins, vec3_t maxs, edict_t **list, int maxcount, int areatype)
void PF_dprintf(char *fmt,...)
void Cmd_TokenizeString(char *text, qboolean macroExpand)
qboolean NET_StringToAdr(char *s, netadr_t *a)
int CM_PointContents(vec3_t p, int headnode)
char * va(char *format,...)
entity_state_t * client_entities
void RemoveLink(link_t *l)
void(* ClientCommand)(edict_t *ent)
cvar_t * Cvar_ForceSet(char *var_name, char *value)
#define HEARTBEAT_SECONDS
int SV_AreaEdicts(vec3_t mins, vec3_t maxs, edict_t **list, int maxcount, int areatype)
int SV_FindIndex(char *name, int start, int max, qboolean create)
byte * CM_ClusterPVS(int cluster)
qboolean CM_AreasConnected(int area1, int area2)
void SV_UnlinkEdict(edict_t *ent)
cvar_t * Cvar_FullSet(char *var_name, char *value, int flags)
byte COM_BlockSequenceCRCByte(byte *base, int length, int sequence)
void PF_Unicast(edict_t *ent, qboolean reliable)
void SV_KillServer_f(void)
vec_t VectorLength(vec3_t v)
void SV_InitGameProgs(void)
client_frame_t frames[UPDATE_BACKUP]
void SV_Heartbeat_f(void)
char * Info_ValueForKey(char *s, char *key)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
void SV_StartSound(vec3_t origin, edict_t *entity, int channel, int soundindex, float volume, float attenuation, float timeofs)
void PF_centerprintf(edict_t *ent, char *fmt,...)
trace_t SV_Trace(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, edict_t *passedict, int contentmask)
void SV_DropClient(client_t *drop)
void SV_Multicast(vec3_t origin, multicast_t to)
#define DEFAULT_SOUND_PACKET_ATTENUATION
void Cbuf_AddText(char *text)
int MSG_ReadByte(sizebuf_t *msg_read)
struct cmodel_s * models[MAX_MODELS]
void MSG_WritePos(sizebuf_t *sb, vec3_t pos)
netadr_t master_adr[MAX_MASTERS]
areanode_t sv_areanodes[AREA_NODES]
void MSG_WriteString(sizebuf_t *sb, char *s)
void MSG_WriteShort(sizebuf_t *sb, int c)
void(* ReadLevel)(char *filename)
void MSG_WriteByte(sizebuf_t *sb, int c)
void SV_SetMaster_f(void)
void Com_Error(int code, char *fmt,...)
void * Z_Malloc(int size)
void PF_error(char *fmt,...)
char * SV_StatusString(void)
int Q_stricmp(char *s1, char *s2)
void CM_ReadPortalState(FILE *f)
void SV_Multicast(vec3_t origin, multicast_t to)
int CM_BoxLeafnums(vec3_t mins, vec3_t maxs, int *list, int listsize, int *topnode)
void NET_Config(qboolean multiplayer)
void SV_SendClientMessages(void)
#define VectorAdd(a, b, c)
void SV_ClipMoveToEntities(moveclip_t *clip)
void PF_WriteFloat(float f)
void SV_Shutdown(char *finalmsg, qboolean reconnect)
void SV_UserinfoChanged(client_t *cl)
qboolean SV_RateDrop(client_t *c)
byte * CM_ClusterPHS(int cluster)
int MSG_ReadLong(sizebuf_t *msg_read)
void Cbuf_CopyToDefer(void)
int SV_PointContents(vec3_t p)
void SV_ServerCommand_f(void)
char * MSG_ReadString(sizebuf_t *msg_read)
qboolean PF_inPHS(vec3_t p1, vec3_t p2)
int CM_LeafCluster(int leafnum)
int SV_SoundIndex(char *name)
void MSG_ReadDeltaUsercmd(sizebuf_t *msg_read, usercmd_t *from, usercmd_t *move)
void Cvar_GetLatchedVars(void)
void SV_UnlinkEdict(edict_t *ent)
areanode_t * SV_CreateAreaNode(int depth, vec3_t mins, vec3_t maxs)
qboolean SV_SendClientDatagram(client_t *client)
void Netchan_Transmit(netchan_t *chan, int length, byte *data)
int SV_ImageIndex(char *name)
void Netchan_OutOfBandPrint(int net_socket, netadr_t adr, char *format,...)
cvar_t * Cvar_Set(char *var_name, char *value)
void Com_DPrintf(char *fmt,...)
void Pmove(pmove_t *pmove)
void FS_FreeFile(void *buffer)
void SCR_DebugGraph(float value, int color)
void Com_Printf(char *fmt,...)
void SV_ShutdownGameProgs(void)
struct areanode_s * children[2]
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
char * Cvar_VariableString(char *var_name)
void MSG_WriteDeltaEntity(entity_state_t *from, entity_state_t *to, sizebuf_t *msg, qboolean force, qboolean newentity)
void CM_SetAreaPortalState(int portalnum, qboolean open)
void SV_ServerStop_f(void)
void PF_cprintf(edict_t *ent, int level, char *fmt,...)
void SV_ClientThink(client_t *cl, usercmd_t *cmd)
netadr_t master_adr[MAX_MASTERS]
void PF_WriteAngle(float f)
qboolean CM_HeadnodeVisible(int nodenum, byte *visbits)
int SV_ModelIndex(char *name)
void Com_sprintf(char *dest, int size, char *fmt,...)
void * Sys_GetGameAPI(void *parms)
int CM_PointLeafnum(vec3_t p)
void PF_WriteShort(int c)
void PF_StartSound(edict_t *entity, int channel, int sound_num, float volume, float attenuation, float timeofs)
void PF_Configstring(int index, char *val)
void PF_WriteString(char *s)
void SV_BroadcastPrintf(int level, char *fmt,...)
float Cvar_VariableValue(char *var_name)