this fixes software for the moment

This commit is contained in:
Joseph Carter 2000-05-13 02:16:41 +00:00
parent 05fd12e05f
commit 8236ef7594
2 changed files with 4 additions and 0 deletions

View file

@ -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))

View file

@ -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);