implemented pm_stepdown.

attempt to implement 'simple csqc' api.
handle qw+nq gunshot+blood+lightning differently - they do actually have different particle spawn patterns (qw is a single point, so spreads wider).
fix q3ui logo mesh thing. work around q3ui player meshes on d3d.
split video and renderer latching, so vid_reload delatches more stuff.
fix autosprite+autosprite2 in 6 different renderers...
added fog volumes to d3d9 renderer.
using matrix hacks instead of glDepthRange, this should give more consistent behaviour, especially now that we have r_viewmodel_fov.
small cleanup for gl shadowmaps to make the interface more consistent with other renderers.
added patchDef2 parsing to fte's .map loader, doesn't actually use it though.
some fixes for q3's shaders, including to try to get overbright working better.
updated customskin api to give more control.
first attempt at a packager system for fteqccgui. probably useless, but whatever.
menusys changes to try to support QSS's csqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5200 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-01-22 19:18:04 +00:00
parent 63acc99442
commit 9e8bb446f4
88 changed files with 5595 additions and 3104 deletions

View file

@ -721,7 +721,7 @@ void Sbar_ShowTeamScores (void)
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(seat, Cmd_Argv(0)))
return;
;//return;
#endif
cl.playerview[seat].sb_showteamscores = true;
@ -768,7 +768,7 @@ void Sbar_ShowScores (void)
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(seat, Cmd_Argv(0)))
return;
;//return;
#endif
cl.playerview[seat].sb_showscores = true;
@ -2224,6 +2224,9 @@ void Sbar_DrawScoreboard (playerview_t *pv)
if (Key_Dest_Has(~kdm_game))
return;
if (CSQC_DrawScores(pv))
return;
#ifndef CLIENTONLY
/*no scoreboard in single player (if you want bots, set deathmatch)*/
if (sv.state && sv.allocated_client_slots == 1)
@ -2773,6 +2776,9 @@ void Sbar_Draw (playerview_t *pv)
qboolean minidmoverlay;
extern cvar_t scr_centersbar;
if (CSQC_DrawHud(pv))
return;
headsup = !(cl_sbar.value || (scr_viewsize.value<100));
if ((sb_updates >= vid.numpages) && !headsup)
return;