Searched refs:viewBlend (Results 1 – 9 of 9) sorted by relevance
/dports/games/egl/egl-0.3.1_9/client/ |
H A D | cl_demo.c | 101 if (ps->viewBlend[0] != ops->viewBlend[0] in CL_WriteDemoPlayerstate() 102 || ps->viewBlend[1] != ops->viewBlend[1] in CL_WriteDemoPlayerstate() 103 || ps->viewBlend[2] != ops->viewBlend[2] in CL_WriteDemoPlayerstate() 104 || ps->viewBlend[3] != ops->viewBlend[3]) in CL_WriteDemoPlayerstate() 188 if (ps->viewBlend[1] > 1) in CL_WriteDemoPlayerstate() 189 ps->viewBlend[1] = 1; in CL_WriteDemoPlayerstate() 190 if (ps->viewBlend[2] > 1) in CL_WriteDemoPlayerstate() 191 ps->viewBlend[2] = 1; in CL_WriteDemoPlayerstate() 192 if (ps->viewBlend[3] > 1) in CL_WriteDemoPlayerstate() 193 ps->viewBlend[3] = 1; in CL_WriteDemoPlayerstate() [all …]
|
H A D | cl_parse.c | 313 state->viewBlend[0] = MSG_ReadByte (&cls.netMessage) * (1.0f/255.0f); in CL_ParsePlayerstate() 314 state->viewBlend[1] = MSG_ReadByte (&cls.netMessage) * (1.0f/255.0f); in CL_ParsePlayerstate() 315 state->viewBlend[2] = MSG_ReadByte (&cls.netMessage) * (1.0f/255.0f); in CL_ParsePlayerstate() 316 state->viewBlend[3] = MSG_ReadByte (&cls.netMessage) * (1.0f/255.0f); in CL_ParsePlayerstate()
|
/dports/games/egl/egl-0.3.1_9/server/ |
H A D | sv_ents.c | 186 if (ps->viewBlend[0] != ops->viewBlend[0] in SV_WritePlayerstateToClient() 187 || ps->viewBlend[1] != ops->viewBlend[1] in SV_WritePlayerstateToClient() 188 || ps->viewBlend[2] != ops->viewBlend[2] in SV_WritePlayerstateToClient() 189 || ps->viewBlend[3] != ops->viewBlend[3]) in SV_WritePlayerstateToClient() 273 if (ps->viewBlend[1] > 1) in SV_WritePlayerstateToClient() 274 ps->viewBlend[1] = 1; in SV_WritePlayerstateToClient() 275 if (ps->viewBlend[2] > 1) in SV_WritePlayerstateToClient() 276 ps->viewBlend[2] = 1; in SV_WritePlayerstateToClient() 277 if (ps->viewBlend[3] > 1) in SV_WritePlayerstateToClient() 278 ps->viewBlend[3] = 1; in SV_WritePlayerstateToClient() [all …]
|
/dports/games/egl/egl-0.3.1_9/game/ |
H A D | p_view.c | 424 ent->client->ps.viewBlend[0] = ent->client->ps.viewBlend[1] = in SV_CalcBlend() 425 ent->client->ps.viewBlend[2] = ent->client->ps.viewBlend[3] = 0; in SV_CalcBlend() 436 SV_AddBlend (1.0f, 0.3f, 0.0f, 0.6f, ent->client->ps.viewBlend); in SV_CalcBlend() 438 SV_AddBlend (0.0f, 0.1f, 0.05f, 0.6f, ent->client->ps.viewBlend); in SV_CalcBlend() 440 SV_AddBlend (0.5f, 0.3f, 0.2f, 0.4f, ent->client->ps.viewBlend); in SV_CalcBlend() 449 SV_AddBlend (0, 0, 1, 0.08f, ent->client->ps.viewBlend); in SV_CalcBlend() 457 SV_AddBlend (1, 1, 0, 0.08f, ent->client->ps.viewBlend); in SV_CalcBlend() 465 SV_AddBlend (0, 1, 0, 0.08f, ent->client->ps.viewBlend); in SV_CalcBlend() 473 SV_AddBlend (0.4f, 1, 0.4f, 0.04f, ent->client->ps.viewBlend); in SV_CalcBlend() 479 ,ent->client->damage_blend[2], ent->client->damage_alpha, ent->client->ps.viewBlend); in SV_CalcBlend() [all …]
|
H A D | p_hud.c | 43 ent->client->ps.viewBlend[3] = 0; in MoveClientToIntermission()
|
/dports/games/egl/egl-0.3.1_9/cgame/ |
H A D | cg_view.c | 458 Vec4Copy (ps->viewBlend, cg.viewBlend); in V_CalcViewValues() 542 cg.viewBlend[0] = 1.0f; in V_RenderView() 543 cg.viewBlend[1] = 0.5f; in V_RenderView() 544 cg.viewBlend[2] = 0.25f; in V_RenderView() 545 cg.viewBlend[3] = 0.5f; in V_RenderView()
|
H A D | cg_screen.c | 661 if (gl_polyblend->intVal && cg.viewBlend[3] > 0.01f) in SCR_Draw() 662 CG_DrawFill (0, 0, cg.refDef.width, cg.refDef.height, cg.viewBlend); in SCR_Draw()
|
H A D | cg_local.h | 127 vec4_t viewBlend; member
|
/dports/games/egl/egl-0.3.1_9/shared/ |
H A D | shared.h | 1878 float viewBlend[4]; // rgba full screen effect member 1903 float viewBlend[4]; // rgba full screen effect member
|