Commit Graph

35 Commits

Author SHA1 Message Date
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
Zephaniah E. Hull e53a235402 When -3dfx receives a signal it will now abort()..
This will generate a core dump if it can (NEEDED for debugging)...
2000-04-11 11:11:58 +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 18e1ccb53f Hopefully I fixed the lame VID_(Unl|L)ockBuffer shit. If a target doesn't
build I may have defined it twice accidentally.  Doesn't happen with any
target I build though..
2000-03-31 23:58:53 +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 8b18f9d56b A little cleanup...
S_Init() is now where it belongs--outside of VID_Init().  I think I did
manage to update every target.  If I missed one, kill the sound.h include
and remove S_Init() from VID_Init().

New Cvar: r_sky, defaults to 0, turn it on if you want to use skyboxes.
Cvar r_skyname can actually be used now I _think_, need another skybox
to test it.  Quake2000's instructions were used in the skybox stuff but,
as all know by now, our tree is so different from anyone else's that I had
to redo a number of things.  But thanks all the same--cut the time spent
debugging it in half.  I also want to thank whoever did the night skybox
on the MegaTF page I used to test.  Looks great on start map!

New GL-specific Cvar: r_conspin, defaults to 0.  Turn it on.  You can turn
it off too.  Shamelessly ripped from QER.
2000-03-02 19:57:24 +00:00
Dan Olson 54409e23fa This should fix up the last of the show stoppers from the cvar merge.
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Dan Olson 106dada0b2 Non functional cvar code. Compiles, but won't run. 2000-02-27 07:13:32 +00:00
Dan Olson 7d387042f7 New CVAR flag system. Appears to work perfectly 2000-02-16 21:30:20 +00:00
Bill Currie a078544d38 Replaced every single fscking FILE and gzFile (except in quakeio.*) with QFile
and fixed up as many f* and gz* calls as gcc found (and, where sensible, grep)

Unfortuanatly, demos are broken again.
2000-02-08 07:23:09 +00:00
Joseph Carter 51676c32e7 You can tell who has what hardware and libs because they tend to forget to
update the files for the stuff they don't use/have...
2000-02-03 10:32:56 +00:00
Joseph Carter afe3589124 Fix for 3dfx target using lsh's macros 2000-02-03 09:55:11 +00:00
Bill Currie 73c6ffdde3 a few more f* -> gz* conversions. I don't have GL at work :) 2000-02-03 02:52:05 +00:00
Zephaniah E. Hull 925344be77 uquake now works! All targets I can test!
I also merged console.[ch] while I was at it..
2000-01-29 18:46:26 +00:00
Zephaniah E. Hull f18b3bcf02 HUGE changes..
Basicly, sound_lib.a is built, and is compiled into the clients..
Note, uquake is SERIOUSLY FSCKED..
2000-01-27 17:06:02 +00:00
Zephaniah E. Hull eae2220a78 Making things even more generic, and a fix for compiling without GL support. 2000-01-23 04:42:43 +00:00
Marcus Sundberg afba9fa5ba Support compiling with older glide versions. 2000-01-16 00:51:03 +00:00
Zephaniah E. Hull c188df7698 Some misc 3dfx changes..
Some keys changes for toggle console..
Some (not currently the /best/, but functional) speed cheat improvements..
And some stuff brought in from QuakeLives.. (max rate, and new ping system)
2000-01-15 22:52:56 +00:00
Eric Windisch 2021a48efc Menu system is a bit more modular now and we have a workaround the problem
with the 'holes', we are using a (local) variable and incrementing it by 8
instead of using static values.
--
Eric Windisch
2000-01-09 20:10:55 +00:00
Marcus Sundberg e144f6ceee Changed options_menu to VID_options_menu.
Made it start at 0 instead of 13.
Added support for 800x600 resolution.
2000-01-09 05:09:16 +00:00
Eric Windisch a09bf9b081 Ok, removed all the #define's and everything should be working fine now.
notify me of any bugs :)
--
Eric Windisch
2000-01-09 03:03:42 +00:00
Marcus Sundberg 3b6b24ef51 Moved input code to in_svgalib.c.
Some cleanups.
2000-01-09 02:44:36 +00:00
Eric Windisch 8e4c3039d6 Bug fixes for the option menu code, it should compile now :)
You will not be able to select the new options until I fix that bug...
That bug should be fixed within a few minutes.
--
Eric Windisch
2000-01-09 01:53:54 +00:00
Eric Windisch c5b5abd9ee This is a big change.. I added two new functions that must be in every
target's video file.  These functions are VID_ExtraOptionDraw() and
VID_ExtraOptionCmd(int options_cursor).

These are to help modulize the option menu a bit, now all you have to do is
define #OPTIONS_ITEMS to one more then the number of items there are (this
is done in your target's vid*.c/gl_vid*.c file)

I also removed a bunch of #ifdefs, although a few #ifdef _WIN32's remain.
--
Eric Windisch
2000-01-09 01:11:44 +00:00
Nelson Rush dfbfbb6711 readded a copyright notice that somehow got removed
added "Portions" statement to the copyright statement

Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.
2000-01-08 04:50:26 +00:00
Nelson Rush 2151636145 added copyrights for buffer overrun fixes 2000-01-07 05:47:53 +00:00
Joseph Carter 2193966719 Copyright notice stuff 2000-01-06 13:48:07 +00:00
Marcus Sundberg b86ca17101 Fixed bunch of unused variables. 2000-01-06 00:29:41 +00:00
Nelson Rush a77bb35db6 Fixed buffer overflow problems, changed sprintf to snprintf don't use this yet, i have a few things that need to be fixed. 2000-01-05 00:05:48 +00:00
Zephaniah E. Hull ced209c8ba Reordering the scancode stuff for some stuff I'm doing after release.. 2000-01-04 00:17:30 +00:00
Joseph Carter 68785812de More BSD fixes from Darius 2000-01-03 08:00:46 +00:00
Jeff Teunissen 4abffbc7bb gl_ztrick is now saved in the config.cfg file 2000-01-01 16:20:38 +00:00
Zephaniah E. Hull 555871f7e2 Some GL fixes in configure.in
Merged the uquake and qw_client gl_vidlinux.c into common/gl_vidlinux_3dfx.c
2000-01-01 04:21:44 +00:00
Renamed from qw_client/gl_vidlinux.c (Browse further)