qccgui: reworked compile prints to split the screen instead of being some other window that's hidden when fullscreened etc.
splitscreen: split spectator setting into a per-seat setting. scoreboards are now also per-seat. added parm_string global for richer map change stuff. dpp7: fixed and reinstated. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5110 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0fad8fe37d
commit
025aeff8a4
50 changed files with 1150 additions and 813 deletions
|
@ -520,7 +520,7 @@ static float vlen(vec3_t v)
|
|||
// returns true if weapon model should be drawn in camera mode
|
||||
qboolean Cam_DrawViewModel(playerview_t *pv)
|
||||
{
|
||||
if (cl.spectator)
|
||||
if (pv->spectator)
|
||||
{
|
||||
if (pv->cam_state == CAM_EYECAM && cl_chasecam.ival)
|
||||
return true;
|
||||
|
@ -536,7 +536,7 @@ qboolean Cam_DrawViewModel(playerview_t *pv)
|
|||
|
||||
int Cam_TrackNum(playerview_t *pv)
|
||||
{
|
||||
if (cl.spectator && pv->cam_state == CAM_EYECAM)
|
||||
if (pv->spectator && pv->cam_state == CAM_EYECAM)
|
||||
return pv->cam_spec_track;
|
||||
return -1;
|
||||
}
|
||||
|
@ -822,7 +822,7 @@ void Cam_Track(playerview_t *pv, usercmd_t *cmd)
|
|||
vec3_t vec;
|
||||
float len;
|
||||
|
||||
if (!cl.spectator || !cl.worldmodel) //can happen when the server changes level
|
||||
if (!pv->spectator || !cl.worldmodel) //can happen when the server changes level
|
||||
return;
|
||||
|
||||
if (autotrackmode != TM_USER && pv->cam_state == CAM_FREECAM)
|
||||
|
@ -976,7 +976,7 @@ void Cam_FinishMove(playerview_t *pv, usercmd_t *cmd)
|
|||
if (cls.state != ca_active)
|
||||
return;
|
||||
|
||||
if (!cl.spectator && (cls.demoplayback != DPB_MVD && cls.demoplayback != DPB_EZTV)) // only in spectator mode
|
||||
if (!pv->spectator && (cls.demoplayback != DPB_MVD && cls.demoplayback != DPB_EZTV)) // only in spectator mode
|
||||
return;
|
||||
|
||||
if (cls.demoplayback == DPB_MVD || cls.demoplayback == DPB_EZTV)
|
||||
|
@ -1197,7 +1197,7 @@ void Cam_TrackPlayer(int seat, char *cmdname, char *plrarg)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!cl.spectator)
|
||||
if (!pv->spectator)
|
||||
{
|
||||
Con_Printf("Not spectating.\n");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue