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:
Spoike 2017-05-28 15:42:32 +00:00
parent 0fad8fe37d
commit 025aeff8a4
50 changed files with 1150 additions and 813 deletions

View file

@ -1866,10 +1866,11 @@ int Plug_ConnectionlessClientPacket(char *buffer, int size)
void Plug_SBar(playerview_t *pv)
{
#ifdef QUAKEHUD
extern qboolean sb_showscores, sb_showteamscores;
#define sb_showscores pv->sb_showscores
#define sb_showteamscores pv->sb_showteamscores
#else
#define sb_showscores 0
#define sb_showteamscores 0
#define sb_showscores 0
#define sb_showteamscores 0
#endif
plugin_t *oc=currentplug;
@ -1877,7 +1878,7 @@ void Plug_SBar(playerview_t *pv)
int cleared = false;
int hudmode;
if (!Sbar_ShouldDraw())
if (!Sbar_ShouldDraw(pv))
{
SCR_TileClear (0);
return;
@ -1935,9 +1936,9 @@ void Plug_SBar(playerview_t *pv)
}
}
if (!(ret & 2) && pv == cl.playerview)
if (!(ret & 2))
{
Sbar_DrawScoreboard();
Sbar_DrawScoreboard(pv);
}