Go to the documentation of this file.
   47     "svc_deltapacketentities",
 
   55     if (strncmp(fn, 
"players", 7) == 0)
 
   74     if (strstr (filename, 
".."))
 
   76         Com_Printf (
"Refusing to download a path with ..\n");
 
  100     fp = fopen (
name, 
"r+b");
 
  103         fseek(fp, 0, SEEK_END);
 
  143     if (strstr (filename, 
".."))
 
  145         Com_Printf (
"Refusing to download a path with ..\n");
 
  211         Com_Printf (
"Server does not have this file.\n");
 
  271         r = rename (oldn, newn);
 
  346         Com_Printf(
"\n\n\35\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\36\37\n\n");
 
  366     memset (&nullstate, 0, 
sizeof(nullstate));
 
  396     t = strstr (
s, 
"\\");
 
  405         Com_sprintf (model_filename, 
sizeof(model_filename), 
"players/male/tris.md2");
 
  406         Com_sprintf (weapon_filename, 
sizeof(weapon_filename), 
"players/male/weapon.md2");
 
  407         Com_sprintf (skin_filename, 
sizeof(skin_filename), 
"players/male/grunt.pcx");
 
  418         strcpy (model_name, 
s);
 
  419         t = strstr(model_name, 
"/");
 
  421             t = strstr(model_name, 
"\\");
 
  427         strcpy (skin_name, 
s + strlen(model_name) + 1);
 
  430         Com_sprintf (model_filename, 
sizeof(model_filename), 
"players/%s/tris.md2", model_name);
 
  434             strcpy(model_name, 
"male");
 
  435             Com_sprintf (model_filename, 
sizeof(model_filename), 
"players/male/tris.md2");
 
  440         Com_sprintf (skin_filename, 
sizeof(skin_filename), 
"players/%s/%s.pcx", model_name, skin_name);
 
  448             strcpy(model_name, 
"male");
 
  449             Com_sprintf (model_filename, 
sizeof(model_filename), 
"players/male/tris.md2");
 
  453             Com_sprintf (skin_filename, 
sizeof(skin_filename), 
"players/%s/%s.pcx", model_name, skin_name);
 
  461             Com_sprintf (skin_filename, 
sizeof(skin_filename), 
"players/%s/grunt.pcx", model_name, skin_name);
 
  469             if (!ci->
weaponmodel[
i] && strcmp(model_name, 
"cyborg") == 0) {
 
  531     olds[
sizeof(olds) - 1] = 0;
 
  719             Com_Printf (
"Server disconnected, reconnecting\n");
 
  
 
struct image_s *(* RegisterSkin)(char *name)
void CL_ParseInventory(void)
void CL_ParseClientinfo(int player)
void CL_RegisterSounds(void)
qboolean CL_CheckOrDownloadFile(char *filename)
void CL_WriteDemoMessage(void)
int MSG_ReadShort(sizebuf_t *msg_read)
void CL_ParseDownload(void)
struct image_s *(* RegisterPic)(char *name)
int CL_ParseEntityBits(unsigned *bits)
just for protocol profiling
void Miniaudio_Play(int track, qboolean looping)
#define DEFAULT_SOUND_PACKET_VOLUME
void COM_StripExtension(char *in, char *out)
void CL_ParseStartSoundPacket(void)
void CL_RegisterTEntSounds(void)
void CL_ParseConfigString(void)
struct cmodel_s * model_clip[MAX_MODELS]
struct sfx_s * sound_precache[MAX_SOUNDS]
void FS_CreatePath(char *path)
void CL_RequestNextDownload(void)
clientinfo_t clientinfo[MAX_CLIENTS]
char * va(char *format,...)
void SZ_Print(sizebuf_t *buf, char *data)
qboolean CDAudio_Play(int track, qboolean looping)
struct model_s * model_draw[MAX_MODELS]
sfx_t * S_RegisterSound(char *name)
void CL_ParseBaseline(void)
void S_EndRegistration(void)
void CL_ParseMuzzleFlash2(void)
void Sys_SendKeyEvents(void)
void SCR_PlayCinematic(char *arg)
int FS_LoadFile(char *path, void **buffer)
#define DEFAULT_SOUND_PACKET_ATTENUATION
void Cbuf_AddText(char *text)
int MSG_ReadByte(sizebuf_t *msg_read)
@ svc_deltapacketentities
void MSG_WriteString(sizebuf_t *sb, char *s)
void CL_ParseMuzzleFlash(void)
char cl_weaponmodels[MAX_CLIENTWEAPONMODELS][MAX_QPATH]
void MSG_WriteByte(sizebuf_t *sb, int c)
void Com_Error(int code, char *fmt,...)
void CL_ParseServerMessage(void)
struct model_s *(* RegisterModel)(char *name)
cmodel_t * CM_InlineModel(char *name)
int Q_stricmp(char *s1, char *s2)
#define MAX_CONFIGSTRINGS
struct image_s * image_precache[MAX_IMAGES]
void CL_ParseServerData(void)
struct model_s * weaponmodel[MAX_CLIENTWEAPONMODELS]
void S_BeginRegistration(void)
int MSG_ReadLong(sizebuf_t *msg_read)
char * MSG_ReadString(sizebuf_t *msg_read)
void CL_AddNetgraph(void)
int Com_ServerState(void)
void SCR_CenterPrint(char *str)
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
cvar_t * Cvar_Set(char *var_name, char *value)
void Com_DPrintf(char *fmt,...)
void MSG_ReadPos(sizebuf_t *msg_read, vec3_t pos)
char downloadname[MAX_OSPATH]
void S_StartLocalSound(char *sound)
void Com_Printf(char *fmt,...)
void CL_SetLightstyle(int i)
void CL_LoadClientinfo(clientinfo_t *ci, char *s)
char downloadtempname[MAX_OSPATH]
centity_t cl_entities[MAX_EDICTS]
void CL_DownloadFileName(char *dest, int destlen, char *fn)
void CL_ParseDelta(entity_state_t *from, entity_state_t *to, int number, int bits)
void Com_sprintf(char *dest, int size, char *fmt,...)
void S_StartSound(vec3_t origin, int entnum, int entchannel, sfx_t *sfx, float fvol, float attenuation, float timeofs)