/external/quake/quake/src/QW/client/ |
cl_pred.c | 64 void CL_PredictUsercmd (player_state_t *from, player_state_t *to, usercmd_t *u, qboolean spectator) 75 CL_PredictUsercmd (from, &temp, &split, spectator); 76 CL_PredictUsercmd (&temp, to, &split, spectator); 88 pmove.spectator = spectator; 173 , &to->playerstate[cl.playernum], &to->cmd, cl.spectator);
|
pmove.h | 60 int spectator;
member in struct:__anon14202
|
cl_cam.c | 22 * Player camera tracking in Spectator mode 24 * This takes over player controls for spectator automatic camera. 25 * Player moves as a spectator, but the camera tracks and enemy player 95 if (!cl.spectator) 106 if (cl.spectator && autocam && locked && cl_chasecam.value && 299 if (s->name[0] && !s->spectator && s->frags > max) { 322 if (!cl.spectator) 331 if (locked && (!cl.players[spec_track].name[0] || cl.players[spec_track].spectator)) { 440 if (cls.state != ca_active || !cl.spectator || 474 if (!cl.spectator) // only in spectator mod [all...] |
client.h | 78 int spectator; member in struct:player_info_s 223 int spectator; member in struct:__anon14114 468 void CL_PredictUsercmd (player_state_t *from, player_state_t *to, usercmd_t *u, qboolean spectator);
|
sbar.c | 379 (!cl.players[i].spectator || includespec)) 383 if (cl.players[i].spectator) 421 if (s->spectator) 631 if (s->spectator) 788 if (!cl.spectator || autocam == CAM_TRACK) 797 if (cl.spectator) { 800 Sbar_DrawString (160-7*8,4, "SPECTATOR MODE"); 808 // Sbar_DrawString (160-14*8+4,4, "SPECTATOR MODE - TRACK CAMERA"); 821 if (cl.stats[STAT_HEALTH] <= 0 && !cl.spectator) 1080 if (s->spectator) [all...] |
cl_parse.c | 573 // parse player slot, high bit means spectator 577 cl.spectator = true; 941 if (Info_ValueForKey (player->userinfo, "*spectator")[0]) 942 player->spectator = true; 944 player->spectator = false;
|
cl_input.c | 415 // if we are spectator, try autocam 416 if (cl.spectator)
|
cl_main.c | 71 cvar_t spectator = CVAR4("spectator", "", false, true); variable 1120 Cvar_RegisterVariable (&spectator);
|
cl_demo.c | 436 if (cl.spectator)
|
pmove.c | 869 if (pmove.spectator)
|
view.c | 117 if (cl.spectator)
|
/external/quake/quake/src/QW/server/ |
sv_main.c | 189 if (!drop->spectator) 204 if (drop->spectator) 205 Con_Printf ("Spectator %s removed\n",drop->name); 354 if ((cl->state == cs_connected || cl->state == cs_spawned ) && !cl->spectator) 514 qboolean spectator; local 531 // note an extra byte is needed to replace spectator key 553 s = Info_ValueForKey (userinfo, "spectator"); 560 Con_Printf ("%s:spectator password failed\n", NET_AdrToString (net_from)); 561 Netchan_OutOfBandPrint (net_from, "%c\nrequires a spectator password\n\n", A2C_PRINT); 564 Info_RemoveKey (userinfo, "spectator"); // remove passw [all...] |
sv_user.c | 91 if (host_client->spectator) 407 // search for an info_playerstart to spawn the spectator at 443 if (host_client->spectator) 741 if (host_client->spectator && (!sv_spectalk.value || team)) 793 if (host_client->spectator && !sv_spectalk.value) 794 if (!client->spectator) 799 // the spectator team 800 if (host_client->spectator) { 801 if (!client->spectator) 805 if (strcmp(t1, t2) || client->spectator) [all...] |
sv_ccmds.c | 415 if (cl->spectator)
471 if (cl->spectator)
855 if (cl->state < cs_connected || cl->spectator)
|
sv_ents.c | 342 if (cl->spectator) 369 if (cl->spectator)
|
server.h | 121 int spectator; // non-interactive member in struct:client_s
|
sv_send.c | 527 // if we are a spectator and we are tracking a player, we get his stats 529 if (client->spectator && client->spec_track > 0) 540 if (!client->spectator)
|