mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Slightly different gl_fires effect. taniwha may back this out if he hates
it, but I kinda like it.
This commit is contained in:
parent
c2cea45217
commit
23ed09f249
2 changed files with 6 additions and 6 deletions
|
@ -238,9 +238,9 @@ R_AddFire (vec3_t start, vec3_t end, entity_t *ent)
|
|||
f = R_AllocFire (key);
|
||||
VectorCopy (end, f->origin);
|
||||
VectorCopy (start, f->owner);
|
||||
f->size = 20;
|
||||
f->size = 10;
|
||||
f->die = cl.time + 0.5;
|
||||
f->decay = -1;
|
||||
f->decay = 1;
|
||||
f->color=r_firecolor_flame;
|
||||
|
||||
dl = CL_AllocDlight (key);
|
||||
|
@ -309,7 +309,7 @@ R_DrawFire (fire_t *f)
|
|||
b_sin = bubble_sintable;
|
||||
b_cos = bubble_costable;
|
||||
|
||||
radius = f->size + 0.35;
|
||||
radius = f->size - 0.5;
|
||||
|
||||
// figure out if we're inside the area of effect
|
||||
VectorSubtract (f->origin, r_origin, vec);
|
||||
|
|
|
@ -75,9 +75,9 @@ R_AddFire (vec3_t start, vec3_t end, entity_t *ent)
|
|||
f = R_AllocFire (key);
|
||||
VectorCopy (end, f->origin);
|
||||
VectorCopy (start, f->owner);
|
||||
f->size = 20;
|
||||
f->size = 10;
|
||||
f->die = cl.time + 0.5;
|
||||
f->decay = -1;
|
||||
f->decay = 1;
|
||||
VectorCopy (r_firecolor->vec, f->color);
|
||||
}
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ R_DrawFire (fire_t *f)
|
|||
b_sin = bubble_sintable;
|
||||
b_cos = bubble_costable;
|
||||
|
||||
radius = f->size + 0.35;
|
||||
radius = f->size - 0.5;
|
||||
|
||||
// figure out if we're inside the area of effect
|
||||
VectorSubtract (f->origin, r_origin, vec);
|
||||
|
|
Loading…
Reference in a new issue