Go to the source code of this file.
◆ CL_CheckOrDownloadFile()
qboolean CL_CheckOrDownloadFile |
( |
char * |
filename | ) |
|
◆ CL_Download_f()
◆ CL_DownloadFileName()
void CL_DownloadFileName |
( |
char * |
dest, |
|
|
int |
destlen, |
|
|
char * |
fn |
|
) |
| |
◆ CL_LoadClientinfo()
Definition at line 380 of file cl_parse.c.
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) {
Referenced by CL_ParseClientinfo(), and CL_PrepRefresh().
◆ CL_ParseBaseline()
◆ CL_ParseClientinfo()
void CL_ParseClientinfo |
( |
int |
player | ) |
|
◆ CL_ParseConfigString()
◆ CL_ParseDownload()
◆ CL_ParseServerData()
◆ CL_ParseServerMessage()
◆ CL_ParseStartSoundPacket()
◆ CL_RegisterSounds()
◆ SHOWNET()
◆ svc_strings
Initial value:=
{
"svc_bad",
"svc_muzzleflash",
"svc_muzzlflash2",
"svc_temp_entity",
"svc_layout",
"svc_inventory",
"svc_nop",
"svc_disconnect",
"svc_reconnect",
"svc_sound",
"svc_print",
"svc_stufftext",
"svc_serverdata",
"svc_configstring",
"svc_spawnbaseline",
"svc_centerprint",
"svc_download",
"svc_playerinfo",
"svc_packetentities",
"svc_deltapacketentities",
"svc_frame"
}
Definition at line 24 of file cl_parse.c.
Referenced by CL_ParseFrame(), and CL_ParseServerMessage().
struct image_s *(* RegisterSkin)(char *name)
void CL_ParseInventory(void)
void CL_ParseClientinfo(int player)
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,...)
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)