mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
this fixes software for the moment
This commit is contained in:
parent
05fd12e05f
commit
8236ef7594
2 changed files with 4 additions and 0 deletions
|
@ -822,6 +822,7 @@ void CL_LinkPlayers (void)
|
||||||
if (state->messagenum != cl.parsecount)
|
if (state->messagenum != cl.parsecount)
|
||||||
continue; // not present this frame
|
continue; // not present this frame
|
||||||
|
|
||||||
|
// FIXME: Use a findvar or something for gl_flashblend --KB
|
||||||
// spawn light flashes, even ones coming from invisible objects
|
// spawn light flashes, even ones coming from invisible objects
|
||||||
if (!gl_flashblend.value || j != cl.playernum) {
|
if (!gl_flashblend.value || j != cl.playernum) {
|
||||||
if ((state->effects & (EF_BLUE | EF_RED)) == (EF_BLUE | EF_RED))
|
if ((state->effects & (EF_BLUE | EF_RED)) == (EF_BLUE | EF_RED))
|
||||||
|
|
|
@ -142,6 +142,8 @@ cvar_t r_numedges = {"r_numedges", "0"};
|
||||||
cvar_t r_aliastransbase = {"r_aliastransbase", "200"};
|
cvar_t r_aliastransbase = {"r_aliastransbase", "200"};
|
||||||
cvar_t r_aliastransadj = {"r_aliastransadj", "100"};
|
cvar_t r_aliastransadj = {"r_aliastransadj", "100"};
|
||||||
|
|
||||||
|
cvar_t gl_flashblend = {"gl_flashblend", "0"};
|
||||||
|
|
||||||
extern cvar_t scr_fov;
|
extern cvar_t scr_fov;
|
||||||
|
|
||||||
void CreatePassages (void);
|
void CreatePassages (void);
|
||||||
|
@ -223,6 +225,7 @@ void R_Init (void)
|
||||||
Cvar_RegisterVariable (&r_numedges);
|
Cvar_RegisterVariable (&r_numedges);
|
||||||
Cvar_RegisterVariable (&r_aliastransbase);
|
Cvar_RegisterVariable (&r_aliastransbase);
|
||||||
Cvar_RegisterVariable (&r_aliastransadj);
|
Cvar_RegisterVariable (&r_aliastransadj);
|
||||||
|
Cvar_RegisterVariable (&gl_flashblend); // FIXME: remove this! --KB
|
||||||
|
|
||||||
Cvar_SetValue ("r_maxedges", (float)NUMSTACKEDGES);
|
Cvar_SetValue ("r_maxedges", (float)NUMSTACKEDGES);
|
||||||
Cvar_SetValue ("r_maxsurfs", (float)NUMSTACKSURFACES);
|
Cvar_SetValue ("r_maxsurfs", (float)NUMSTACKSURFACES);
|
||||||
|
|
Loading…
Reference in a new issue