Joseph Carter
b1e18056eb
gl_particles moved out of gl_vid* since it is common.
...
new cvar, gl_fires. Default to 1, set to 0 if you hate the fire effect on
the lavaball and coming off the rocket trail.
2000-04-27 04:30:37 +00:00
Bill Currie
0e44ae7475
Rockets and lavaballs now have dlights (same color as their fireballs) attached to them.
2000-04-25 10:58:47 +00:00
Bill Currie
6d9d7b6197
Make R_RocketTrail take an entity_t * parameter (the one the trail is for) so that various things can be done, including using the entity as a key for R_AllocFire.
...
Also, rocket/lavaball trails now work beautifly. They have to be seen to be believed.
2000-04-25 09:35:07 +00:00
Bill Currie
9cd517debc
slight optimisation
2000-04-17 12:36:25 +00:00
Bill Currie
28011090b3
rename *FireBall* stuff to *Fire (or Fires).
2000-04-17 10:39:55 +00:00
Joseph Carter
07d8d044b9
Here's the fireball code I promised, implemented from an email which told
...
me pretty much how. It's a meshing of the GL flashblend bubble and the
particle engine. More emphasis on dlights though.
This code should be very similar to an effect that was in QL. It was
described to me in very explicit detail in an email. It's probably based
on the QL source but is a legitimate clean-room implementation. The email
described how to make the flame trail found in newer QL too but I've not
decided whether or not to code that yet - I think I can do better instead
by adding smoke.
2000-04-17 04:15:38 +00:00
Joseph Carter
9993d2c301
r_part.c now contains full particle code for software, gl_rpart.c full
...
particle code for GL.
2000-04-16 14:26:53 +00:00
Zephaniah E. Hull
b7df9b7d1f
Particle code cleanup and optimizations..
...
Also fix a bug theoddone interduced by not cleaning up old particles
if they were turned off (would crash when it ran out of free particles)
2000-04-11 11:14:48 +00:00
Dan Olson
9bf6e675fd
Fixing a "bug" reportaed by darkangel. It can be implemented as a feature
...
later if anyone cares enough.
2000-04-10 20:08:01 +00:00
Dan Olson
69be4092e4
Fixes/enhancements to particle scaling. Firstly, cvar is renamed to
...
gl_particles. Secondly, setting it to 0 now removes particles completely.
Once I figure out how to do this for software, it will become r_particles.
2000-04-09 21:37:58 +00:00
Joseph Carter
5a06f2f03e
A bit more
2000-03-24 09:55:33 +00:00
Dan Olson
934ace091f
Particle scaling code. Controlled with gl_pscale cvar. 1 is default,
...
anything over 20 is just plain overkill. Thanx to QER for the idea.
2000-03-19 21:50:00 +00:00
Marcus Sundberg
674ddcffe5
The big whitespace cleanup. ;-)
...
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Joseph Carter
932d705285
Fix the results of my last commit...
2000-03-09 15:31:15 +00:00
Joseph Carter
9ffc3e44df
Colored static lights for GL!
...
If you try to load a 30-version'd BSP (ie, one with colored lighting) you
are gonna find that software renderering looks like shit. I know what
the problem is.
2000-03-09 12:05:47 +00:00
Eric Windisch
7c84bd2f4f
Fixed Rules.mk.in, it was causing a break in the compile in the linking of quakefs.c. The gl* files are fixes for stuff inside of #ifdef QUAKE2. Quakefs.c has very minor if any changes. Gl_notes has a few updates for new features.
2000-03-06 19:58:03 +00:00
Dan Olson
106dada0b2
Non functional cvar code. Compiles, but won't run.
2000-02-27 07:13:32 +00:00
Zephaniah E. Hull
20077b7b4f
Added support for escaping things with \, may require some config
...
changes..
Cleaned up the ifdefs in gl_rpart.c
Added support for mouse buttons 4 and 5 in in_x11..
2000-02-27 03:31:16 +00:00
Bill Currie
981acbc014
merge qw_client/r_part.c and uquake/r_part.c into common/r_part.c
...
merge qw_client/gl_rpart.c and uquake/gl_rpart.c into common/gl_rpart.c
r_part.c tested for uquake and seems ok, but gl_rpart.c untested
2000-02-21 08:12:35 +00:00