Commit graph

756 commits

Author SHA1 Message Date
Pontus Lidman
5162359857 pad field renamed in preparation for multiple address families. Also, don't rely on int being 32 bits. 2000-04-17 19:36:55 +00:00
Pontus Lidman
ded6ff6045 IPv6 support enabled by configure instead of manually 2000-04-17 19:28:42 +00:00
Joseph Carter
46972d9429 No longer tries to VID_Shutdown if VID_Init didn't, prevents a sig11. 2000-04-17 14:49:32 +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
Bill Currie
9e9bb339b6 add some informative output. not really needed, but it makes things more consistent with other targets. 2000-04-16 07:08:53 +00:00
Joseph Carter
47bed98da1 new serverinfo key: *qsg_standard, set to 1.
How view height changes in QW are passed from server to client HAS CHANGED
and you will need to update both client and server for things not to act
weird.  You may also need to distclean before rebuilding..
2000-04-15 11:20:28 +00:00
Joseph Carter
3e73b3fb3c TODO items completed are removed
misc minor stuff taken from ideas implemented in NaTaS, most people won't
notice a real difference.
2000-04-15 10:14:40 +00:00
Bill Currie
ed5454ef6d remove unnessecary test 2000-04-15 04:08:20 +00:00
Bill Currie
706004407f finally fix the glx shutdown bug 2000-04-15 04:02:10 +00:00
Joseph Carter
9abadd0a12 Rearranging things a little for colored lights. 2000-04-13 01:34:01 +00:00
Joseph Carter
51e1267f45 uh, you don't want this yet. I'm screwing around with skyboxes and this
code doesn't work as advertised.  Reverting.
2000-04-12 23:58:17 +00:00
Joseph Carter
d0fa63e804 I did this two months ago, but it was removed because it was a bug. It
seems though that a few people considered it a feature.

To those people:  You're quacked.  Set gl_constretch to 1.

Also documented the other gl_con*'s.
2000-04-12 23:56:11 +00:00
Anton E. Gavrilov
f7ebc5df7a Changed Host_FilterTime to double, too. 2000-04-12 11:31:08 +00:00
Anton E. Gavrilov
fe1cb020ad Changed Host_Frame(float time) to Host_Frame(double time). Again :) 2000-04-12 11:10:34 +00:00
Bill Currie
1603855e58 Mercury: thanks for pointing out that the player entity number /is/ cl.playernum+1. I've undone my +1 removals. 2000-04-12 08:49:37 +00:00
Bill Currie
6cf291e970 turn \ parsing OFF by default. infact, atm, there is no way of turning it on at run time. 2000-04-12 08:14:45 +00:00
Bill Currie
f1caf58413 apply another patch from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-12 05:14:32 +00:00
Zephaniah E. Hull
995b1859bd The colored dlight fix! 2000-04-12 05:01:36 +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
Zephaniah E. Hull
b7f3d61625 Tonik decided to change the names of a few key syms, breaking existing configs.
Now it knows BOTH names.. *growl*
2000-04-11 11:13:20 +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
Zephaniah E. Hull
cf33711b63 Sound fixes, the player's entnum is cl.playernum + 1, not cl.playernum,
not cl.playernum - 1, but cl.playernum + 1....
2000-04-11 11:10:10 +00:00
Bill Currie
c413be05bd misc cl.playernum fixups (never +/-1). unfortunatly, qw ambient sounds are currently borked. I'll investigate this further tomorrow. What the problem is is that cl.playernum is being used as the player entity number and is base 1 in uq and base 0 in qw. also, it seems that ambient sounds are entity 0 (or seem to be). As I said, I need to investigate this further (and I will). 2000-04-11 10:43:32 +00:00
Bill Currie
7a4caa8bd3 forgot to remove debug code 2000-04-11 09:35:09 +00:00
Bill Currie
c7f6565654 fix the sound spatialisation bug. cl.playernum-1 doesn't work :) 2000-04-11 09:33:03 +00:00
Anton E. Gavrilov
4e1f949d98 Oh, i didn't know there was a messagebox in snddma_init too. Disabled it. 2000-04-10 21:59:31 +00:00
Thad Ward
8ddffa89e7 removed S_init() from vid_init() 2000-04-10 21:29:46 +00:00
Anton E. Gavrilov
a29be25f75 Disabled the popup warning window ("sound is in use by another app", retry/cancel). 2000-04-10 20:33:19 +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
Jeff Teunissen
da0a5cd041 Merged R_TranslatePlayerSkin() in gl_rmisc.c -- rest, misc. fixes, mostly
whitespace and spelling.
2000-04-08 10:38:33 +00:00
Bill Currie
e01129f80a apply more var def patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi>
and add him to AUTHORS/CREDITS
2000-04-06 11:59:28 +00:00
Bill Currie
580ac4c8a7 fix the wonky palettes for glx (in uq, anyway, may not have been a problem in qw). Interestingly, the console is dark now (but the game is bright) whereas it was the other way previously. I suspect SCR_UpdateScreen initialises the glx palettes on first call, or some other strangeness. This will need further investigation, I guess, but at least the text is easier to read on the console :) 2000-04-06 11:52:26 +00:00
Bill Currie
be814de4a6 apply var def patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-06 09:23:49 +00:00
Bill Currie
b1ce871546 apply the viddef_t patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-06 09:21:42 +00:00
Jeff Teunissen
e1dc8ce3fe Optimized skyboxes a bit...and yes, it is tested. :) 2000-04-06 06:26:04 +00:00
Bill Currie
7c0eb6947d fix a protocol breakage (with other clients) 2000-04-05 11:45:48 +00:00
Thad Ward
2c4fd68252 changed bool to qboolean 2000-04-04 22:59:28 +00:00
Anton E. Gavrilov
76db7204bc A TEMPORARY fix for gl_flashblend (it defaults to 0 in software now). 2000-04-03 18:06:22 +00:00
Loring Holden
05bb2f53a9 Cast is_digit() parameter to an int to avoid warnings when compiling under
IRIX
2000-04-03 15:33:04 +00:00
Anton E. Gavrilov
f5620c9f5b Changed Cvar_Set(char *, char*) to Cvar_Set(cvar_t *, char *). You can kill me now =] 2000-04-03 14:30:02 +00:00
Anton E. Gavrilov
2a91e468df Moved to /win32 2000-04-03 10:32:10 +00:00
Anton E. Gavrilov
68a2e7e74c Added Cmd_CmdList_f() 2000-04-03 10:05:48 +00:00
Bill Currie
895e900556 remove an unneeded #ifdef QUAKEWORLD 2000-04-03 08:30:09 +00:00
Bill Currie
197b9f60d7 move the declaration of inupdate into the #if 0'ed section where it was used 2000-04-03 03:14:35 +00:00
Anton E. Gavrilov
37859bbd4e Backscrolling fix. 2000-04-02 22:01:39 +00:00
Zephaniah E. Hull
4ee2355a9e The sorting works perfectly now! 2000-04-02 12:13:19 +00:00
Joseph Carter
ea03a007de a little cleanup of the view height offset code.. 2000-04-02 00:32:00 +00:00
Joseph Carter
018ca24c62 flymode WORKS! I'm also poking around a few other qw_server files.. 2000-04-01 23:40:29 +00:00
Anton E. Gavrilov
3b6fa457e8 Minor bugfixes. 2000-04-01 22:49:07 +00:00
Anton E. Gavrilov
2e2377eebc ClearAllStates() behaves better now; Added KP_* keys support to GL target. 2000-04-01 22:46:15 +00:00
Anton E. Gavrilov
2138262099 Cleaned CL_Connect_f; re-enabled svc_disconnect parsing. 2000-04-01 17:42:17 +00:00
Jeff Teunissen
93f15708cf Oops, missed part of Thad's patch. :) 2000-04-01 10:22:53 +00:00
Jeff Teunissen
b619de9c05 Applied Thad Ward's patch to make win32 locase filenames. Also a few
cleanups, mostly whitespace.
2000-04-01 09:59:35 +00:00
Zephaniah E. Hull
955c3d03a2 Runtime fixes for the pak file handling, should not segfault anymore.. 2000-04-01 06:26:03 +00:00
Dan Olson
e0cf6cad56 Fix for X error at uquake-glx exit. taniwha, I don't know why you removed this,
but I decided to commit first and ask questions later since you're not anywhere
to be found.
2000-04-01 06:05:03 +00:00
Joseph Carter
5e06b91db0 more flymode stuff.. It's not QUITE working yet. Somewhere gravity is
getting added and the controls are still clumsy.  =<
2000-04-01 05:47:25 +00:00
Joseph Carter
622ba0f4ef removed useless comments from cvar cleanup 2000-04-01 00:53:34 +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
Zephaniah E. Hull
a644fd8b84 Compile fixes, oops.. 2000-03-31 23:38:37 +00:00
Zephaniah E. Hull
2678aa601f Added sorting to the *.pak stuff..
Some other misc cleanups..
2000-03-31 22:46:39 +00:00
Dan Olson
c097e1a282 One last (hopefully) fix to "maplist" command.
It now lists pak names correctly as it searches them.
2000-03-31 20:14:14 +00:00
Bill Currie
549af06fa9 Applied CoderJoe's (Thad Ward) win32 patchs. compiles, links and runs.
BTW, win32 targets now use opendir etc.
2000-03-31 05:58:16 +00:00
Bill Currie
4d1176e8c5 add support for gziped maps (*.bsp.gz) and pak files in general to COM_MapList_f 2000-03-31 04:46:53 +00:00
Bill Currie
4c7ce6d614 give qw-server maplist and move the prototype from cl_main.c to quakefs.h 2000-03-31 01:56:52 +00:00
Dan Olson
a8d9ff049c Added "maplist" command 2000-03-31 00:49:19 +00:00
Joseph Carter
90d881a694 re: skin code - what the hell was I on?
skyboxe load errors are only displayed if developer is on now..
2000-03-29 09:10:53 +00:00
Bill Currie
df205a4fab don't attempt to load skys unless skys are enabled 2000-03-29 08:45:00 +00:00
Joseph Carter
2cdef89e82 skin loading is now for developers only - it's debug info.. 2000-03-29 08:37:55 +00:00
Anton E. Gavrilov
c5981146e3 Fixed moving down a slope (broken in QW by Zoid). Enable with 'pm_slidefix 1' on server side (or both). 2000-03-27 21:58:52 +00:00
Anton E. Gavrilov
46094d7875 I wonder what these were for? common/*.s compiles perfectly with masm. 2000-03-27 21:41:00 +00:00
Anton E. Gavrilov
5a7541111c Added #include <common_quakedef.h> (_snprintf is defined there) 2000-03-27 20:07:56 +00:00
Anton E. Gavrilov
67226cd9ee Chase_Init() is also called from QW now; Ñhasecam in QW may be unfinished (why?), but at least it doesn't crash now! 2000-03-27 16:08:37 +00:00
Anton E. Gavrilov
7062960a7c Possibly fixed the jumping bug. 2000-03-27 12:55:50 +00:00
Anton E. Gavrilov
28c18f0e15 No more comments 2000-03-27 09:13:36 +00:00
Joseph Carter
221b259d62 this should be in there too... 2000-03-26 14:45:29 +00:00
Joseph Carter
bcf938088b darkangel, this one's for you! r_dynamic 0 now causes colored shading of
models to not happen.
2000-03-26 14:30:17 +00:00
Joseph Carter
9d3ffb99f8 Yanster's evil hack for Mega2k support. It IS an evil hack. But it's
also workable until we get progs with 32 bit limits standardized and
implemented in our tree.  If someone feels psychotic please work on that.
2000-03-26 14:27:59 +00:00
Joseph Carter
c57298ed75 new cvar, cl_talksound. Defaults to misc/talk.wav. Could probably use a
little more error checking and possibly default to misc/talk.wav if the
file you give it doesn't exist or something.  If someone wants to do that
go for it - I'm just adding it to my personal todo list for later so I can
get back to GL fullbright stuff.
2000-03-26 11:49:29 +00:00
Joseph Carter
902bb5304a skybox change - use env now, not gfx/env 2000-03-26 05:35:02 +00:00
Bill Currie
e2242f2010 add support for % operator in QC (untested) 2000-03-25 12:23:41 +00:00
Joseph Carter
8bbe24a289 All finished! 2000-03-24 14:43:43 +00:00
Joseph Carter
6caab157b1 Almost there... 2000-03-24 13:34:14 +00:00
Joseph Carter
0e457bf091 Not quite done yet, two more commits after this should do it for common
though..
2000-03-24 12:43:07 +00:00
Joseph Carter
1688311e15 more and more 2000-03-24 12:11:38 +00:00
Joseph Carter
88f637963a r* done 2000-03-24 11:25:06 +00:00
Joseph Carter
022803757a A little more... 2000-03-24 10:37:23 +00:00
Joseph Carter
5a06f2f03e A bit more 2000-03-24 09:55:33 +00:00
Joseph Carter
7df744f9e9 The very first bit of the boiler cleanup (a-d in common) More where this
came from as soon as I actually finish doing it since it has to be done by
hand to preserve Copyright notices and file descriptions.
2000-03-24 09:08:39 +00:00
Bill Currie
1c91ed2381 fix the incorrect $i and -ne :/.
propogate the list fix to the other makefiles
2000-03-23 23:04:48 +00:00
Bill Currie
8101db3629 fix for newer bash 2. if this works as expected, I'll propogate it to the other makefiles. 2000-03-23 22:44:33 +00:00
Anton E. Gavrilov
29a43006d0 Killed an #ifdef UQUAKE 2000-03-20 16:07:51 +00:00
Jeff Teunissen
7167c5a749 view.c: Whitespace changes.
*/menu.c: Sliders update the string versions of cvars again. Also, UQ now
has config menu entries for the HUD.
2000-03-20 14:24:20 +00:00
Zephaniah E. Hull
93bd2a180c Cleaning up some of the ifdefs in the particle code..
Marcus Sundberg, using Mesa with GL support is PREFERED to using the
MiniGL!!

I have requests from 3Dfx and Zoid to drop support for the MiniGL
completely..

Thats now fixed..
2000-03-20 04:35:11 +00:00
Anton E. Gavrilov
cefeaf6ecf Single player support 2000-03-19 23:53:52 +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
64683cdc75 Honor _windowed_mouse in addition to LibGGI's native Ctrl-Alt-m method.
Requires current LibGII.
2000-03-19 19:30:39 +00:00
Marcus Sundberg
c1fb651c0d Moved nullcursor handling here.
Fixed keyboard handling - XLookupString()??? how did that get here? We
should use XLookupKeysym().
Fixed _windowed_mouse handling - don't flood the X-server with silly
requests each time the pointer moves. Should hopefully make mouse movement
a bit smoother.
2000-03-19 18:54:25 +00:00
Marcus Sundberg
d0e8fa0aae Moved nullcursor handling to in_x11.c. 2000-03-19 18:48:46 +00:00
Loring Holden
e8db66c274 pcx.c - string.h needed on some platforms
vid_sunx.c, vid_sunxil.c - add context_x11.h, remove x_disp declaration
2000-03-19 17:01:35 +00:00
Marcus Sundberg
674ddcffe5 The big whitespace cleanup. ;-)
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Marcus Sundberg
c7830d7118 Removed lame debug code which didn't even check return codes. 2000-03-19 15:20:09 +00:00
Anton E. Gavrilov
70f43f6e71 It's not needed, really. 2000-03-19 13:19:46 +00:00
Anton E. Gavrilov
d457edbccd Changed SV_Frame(float) to SV_Frame(double). No more problems on Win32. 2000-03-19 13:05:12 +00:00
Bill Currie
73db1a359e move net_udp.c from qw_common to common in praparation for the network merge.
net_udp.c still exists in uquake for the moment so this commit won't affect
others.
2000-03-19 09:23:51 +00:00
Joseph Carter
769b0bc53c new cvar: cl_verstring, set it to "" if you want to get rid of that. Here
you go ambush..
2000-03-18 08:16:47 +00:00
Jeff Teunissen
3db83b18d7 Misc. fixes. 2000-03-18 03:40:22 +00:00
Anton E. Gavrilov
7da71c8673 v_contentblend works in both QW and uquake now; also, it is a float (not toggle) now. 2000-03-18 03:35:10 +00:00
Anton E. Gavrilov
20c4669f0f Added 'toggle' command (just like in Q3 :P) 2000-03-18 02:47:51 +00:00
Anton E. Gavrilov
b96b3cc0fe Changed key names to Q3 style :) 2000-03-18 02:15:21 +00:00
Anton E. Gavrilov
e967e68588 Reorganized keynums a bit. No more 'SCRLCK is unbound, hit F4 to set'. 2000-03-18 02:13:14 +00:00
Anton E. Gavrilov
a335742365 Added KP_* support for Win32 2000-03-18 02:11:10 +00:00
Bill Currie
0d33daa4a0 undid knghtbrd's recent changes as they broke [atleast] uquake. 2000-03-16 03:02:44 +00:00
Joseph Carter
bf764072a0 I thought this was already checked in. If it fixes something with view
stuff cool.  If it breaks stuff....  Um, well...
2000-03-16 02:26:12 +00:00
Bill Currie
a7d766abc9 more fixings for "make install" 2000-03-15 01:09:48 +00:00
Bill Currie
c3d782a688 put in reference counting for the x_disp pointer and make openneing and closing
of the display centralised. This will eventually lead to a much improved X init
and shutdown code.

Unfortunatly, X still crashes for me after running uquake-glx (haven't tested
for qw-client-glx, but I imagine it's no different), but I've found it's after
running uquake-glx the /second/ time, so I suspect it's a utah-glx(mga)/mesa
bug. It could also be an X server bug. I'll see if I can upgrade my X and then
report to the utah-glx team.
2000-03-14 10:25:46 +00:00
Bill Currie
73030d89a2 fix for RedHat 5.2, reported by djsmoke 2000-03-14 05:11:50 +00:00
Anton E. Gavrilov
1dfc12ebf5 Added cl_constyle cvar. 2000-03-13 01:35:17 +00:00
Anton E. Gavrilov
3f48c050be Fixed an infinite loop in video options menu. Added VID_Gamma_f(). 2000-03-13 01:26:20 +00:00
Bill Currie
5238b2634f move net_udp.h from uquake to common in preparation for merging net_udp.c 2000-03-13 00:58:37 +00:00
Bill Currie
d9d5c7b758 move net_chan.c and net_udp6.c from qw_common to common 2000-03-13 00:51:17 +00:00
Anton E. Gavrilov
722dfab94d Draw_BeginDisc() is working now. 2000-03-12 15:52:37 +00:00
Bill Currie
7226e6201b merge in many of deeks modifications (especially formatting). The rest, I'm too
tired to look at now.
2000-03-12 12:20:11 +00:00
Bill Currie
2991fd7c17 found a missing ) 2000-03-12 12:15:29 +00:00
Bill Currie
260cab9c10 some more merge tweeks. hopefully didn't break anything 2000-03-12 10:41:50 +00:00
Jeff Teunissen
e1e663300c Added macro: bound(min, val, max) is shorthand for min(maxval, max(val, minval)). 2000-03-12 08:33:15 +00:00
Bill Currie
ba97294a41 tidy up a messy part of the merge 2000-03-12 08:13:35 +00:00
Bill Currie
2f47ba42f2 merge qw_client/view.c and uquake/view.c into common/view.c 2000-03-12 00:36:50 +00:00
Joseph Carter
e818226c34 This SHOULD allow Mega2K to work whenever it gets released. View offsets
are done (sorry if this steps on your toes with the view.c merge Deek) and
I'm almost positive flymode will now work.  Even though view offset is
done, it won't.

The reason for this is that cl.stats[STAT_FLYMODE] is pretty much going to
ALWAYS be 0 on a standard server.  Since 0 tells us that we're not flying,
this is fine.  cl.stats[STAT_VIEWHEIGHT] is also going to be 0, but it
should be 22 for normal views.  I could always assume this value is an
offset from 22, but that just seems lame to me.  I'll either do it anyway
or we'll have to find a good opportunity in the connect cycle to set the
cl.qfserver qboolean to true.

I'm thinking about using an info key value for this, but we'd be better
served I think by coordinating with QSG to up the protocol version across
all engines.
2000-03-11 21:29:48 +00:00
Anton E. Gavrilov
c58cab5f55 The window title is "QuakeWorld" now, instead of "WinQuake" 2000-03-11 10:13:06 +00:00
Anton E. Gavrilov
51d9494677 The one who removed #ifndef GLQUAKE from quakeasm.h gotta be shot. 2000-03-11 10:05:27 +00:00
Anton E. Gavrilov
1b35b7ab83 Win32 compiles now (opendir yet to be done...) 2000-03-11 00:46:46 +00:00
Anton E. Gavrilov
596b294d04 Win32 compiles and runs now. 2000-03-10 23:33:31 +00:00
Joseph Carter
cc84e6291b I decided I liked having a smaller console so I cleaned up the debugging
code for scr_consize a bit.  I also made it work in software targets.  If
you set scr_consize outside the range of .2 to .9 it now assumes you're
an idiot and ignores your setting, using the appropriate boundary value.

A note about gl_conalpha for GL targets.  It now works up to a consize of
.9 rather than working just upto 2/3 of the screen.  Works just as it did
before.  The only reason it matters is that the boundary for scr_consize
does not apply to the decision of whether or not to use alpha--only to
how big to make the console.

That means if you set scr_consize to .91 or something it won't be bigger
but you'll lose alpha.  Don't even try to report that as a bug---I will
tell you simply Don't Do That(TM).
2000-03-10 23:18:46 +00:00
Jeff Teunissen
c3a2272a76 Added a missing check for -DHAS_DGA to the #includes for DGA. 2000-03-10 18:40:37 +00:00
Joseph Carter
f0cf5f7776 Console no longer "grows" in GL. New GL cvar scr_consize as a side-effect
used in debugging, defaults to .5 for half the screen.
2000-03-10 17:39:54 +00:00
Anton E. Gavrilov
304490f4ed Killed "QuakeWorld: disconnected" in uquake. Added "cl.paused = false" line. 2000-03-09 22:03:56 +00:00
Anton E. Gavrilov
dbbba0a7d1 cl_warncmd fix; cl.paused "fix" --- needed for demo pause 2000-03-09 21:50:55 +00:00
Anton E. Gavrilov
a86d020cc8 Typos, again! 2000-03-09 21:39:56 +00:00
Joseph Carter
932d705285 Fix the results of my last commit... 2000-03-09 15:31:15 +00:00
Joseph Carter
cc8e1219bd Supposedly models should be shaded with colored light now. They don't
seem like they are to me but supposedly they are shaded.
2000-03-09 15:13:39 +00:00
Anton E. Gavrilov
a060d2818c Increased console buffer size from 16384 to 65536 2000-03-09 14:02:14 +00:00
Joseph Carter
70b443f25f No colored lights in software - sorry, 256 colors isn't enough. It does
look sane now however.  Other projects which wish to keep the ability
to render in software better check out the changes - you won't find them
in a tutorial.  ;>
2000-03-09 12:28:44 +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
Bill Currie
adb6237799 added files to support opendir and fnmatch in Windows. It is up to Tonic to get
them working :)
2000-03-09 03:43:37 +00:00
Anton E. Gavrilov
ea57431268 One more fix :) 2000-03-09 02:19:15 +00:00
Anton E. Gavrilov
00eac8e731 Added unalias command; Changed Cmd_ExecuteString()'s order to command-cvar-alias. 2000-03-09 01:22:46 +00:00
Bill Currie
c9555d16f1 merge qw_client/d_surf.c and uquake/d_surf.c into common/d_surf.c 2000-03-09 01:05:40 +00:00
Bill Currie
5a5af93a43 merge qw_client/d_edge.c and uquake/d_edge.c into common/d_edge.c
Sorry, Mercury, more #ifdef QUAKEWORLD and UQUAKE :/
2000-03-09 00:58:58 +00:00
Anton E. Gavrilov
fe5bc787b2 The final (i hope) update to keys.c. Now the keys work just like in Q3 :) 2000-03-09 00:10:57 +00:00
Joseph Carter
271fbb4c8a Colored dlights. We already had them if you had gl_flashblend 1, but they
looked kinda silly IMO.  Turn off the stupid bubbles, we have real colored
dlight now!

I may put up some of the "outtake" screenshots of the broken lightmap code
as I was writing the support.  Some of them look cool.  =>
2000-03-09 00:04:29 +00:00
Anton E. Gavrilov
5707c81f3a Yet another fix to keys.c (not the last one :) 2000-03-08 23:39:16 +00:00
Anton E. Gavrilov
931e8f2f47 A temporary fix to console keys' behavior. Backspace, leftarrow and rightarrow work now. 2000-03-08 23:13:53 +00:00
Anton E. Gavrilov
67a854bcbd Sound cvars are always created, even when there is no sound. Now, QF won't crash with -nosound. 2000-03-08 21:47:15 +00:00
Anton E. Gavrilov
bd2524f060 A fix to Con_DrawInput for new console editing style. 2000-03-08 21:35:17 +00:00
Bill Currie
bcd302a948 common/common.c common/common.h qw_client/cl_parse.c qw_server/sv_main.c:
handle escape chars better
common/quakefs.c:
	check the return value of opendir
2000-03-08 04:17:12 +00:00
Zephaniah E. Hull
8ce43b2ec1 Header file cleanup, so we can build more stuff which is completely common!
*.pak support!
2000-03-08 01:12:26 +00:00
Marcus Sundberg
4e76d7e176 Made the Makefiles work. 2000-03-07 23:13:00 +00:00
Dan Olson
caabae74d3 Added 'cvarlist' command. 2000-03-07 22:28:25 +00:00
Bill Currie
6859b85f30 drawing the disk doesn't work :) fixes segfault in -svga 2000-03-07 07:27:27 +00:00
Eric Windisch
24e1dd5e07 Made volumetric fog use the cvar r_volfog for the density. 2000-03-06 20:57:58 +00:00
Anton E. Gavrilov
195af30ce9 Updated qw_client.dsp, qw_server.dsp and common/wins/config.h 2000-03-06 20:18:41 +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
Anton E. Gavrilov
b5e0a0b45a changed _ftime in Win32 to timeGetTime() 2000-03-06 18:32:18 +00:00
Joseph Carter
b9797600ff A few unnecessary ifdef's killed 2000-03-06 17:53:17 +00:00
Anton E. Gavrilov
46de54d92d No one objected, so I changed case '0' ... case '7' in common.c to case '0': case '1': case
2' and so on. Now it compiles with MSVC.
2000-03-06 16:04:35 +00:00
Joseph Carter
5bfd333ae6 DEATH TO cl.items! 2000-03-06 14:28:53 +00:00
Anton E. Gavrilov
e8e7a41627 Fixed some typos 2000-03-06 14:16:18 +00:00
Joseph Carter
085f2712e9 code cleanups, no functionability changed herein. 2000-03-06 13:58:35 +00:00
Zephaniah E. Hull
39e01df55e Makefile overhaul!
If I broke something, yell at me, /AFTER/ I've had some sleep..
2000-03-06 13:26:42 +00:00
Joseph Carter
43e95bac41 Buttons 4 and 5 may now be bound in -x11 and -glx targets. They generate
the K_MWHEELUP and K_MWHEELDOWN events.
2000-03-06 10:55:14 +00:00
Joseph Carter
56fd8d964a new cvar: gl_conalpha, defaults to 0.6, guess what it does?
Speaking of conalpha, it works again, even in Mesa 3.1(!)
Don't build half of qw-client twice!  I thought I fixed that already?
UQuake-style quit dialogs in qw-client, beginnings of a menu.[ch] merge
2000-03-05 15:48:23 +00:00
Joseph Carter
3f6a8ade82 Turns out Endy and I made the same mistake! heh He fixed it. 2000-03-05 13:02:06 +00:00
Joseph Carter
d541b20f5e Now you can change mods in GL safely! Endy sent me a fix for it just
about 5 seconds after I figured out how to fix it, so I can't take full
credit for this.  =>
2000-03-05 12:55:16 +00:00
Bill Currie
05cd97a097 merge qw_common/screen.h and uquake/screen.h into common/screen.h 2000-03-05 11:45:00 +00:00
Bill Currie
0efddfca3b configure.in:
make DGA off by default

merge qw_client/screen.c and uquake/screen.c into common/screen.c
2000-03-05 11:28:25 +00:00
Bill Currie
b2b6b999ae disable DGA until the code can be reworked correctly. uquake-x11 no longer segs
X!
2000-03-05 08:41:26 +00:00
Zephaniah E. Hull
bdac743c66 Fixed a cvar related segfault.. 2000-03-05 00:56:25 +00:00
Dan Olson
d5e09cf5ef Added support to bind capslock,thanks to Tonik. I think I got all the targets. 2000-03-04 22:41:19 +00:00
Zephaniah E. Hull
41c969c2ac LoadPCX has been rewritten and now functions!! 2000-03-04 20:32:38 +00:00
Joseph Carter
27825ed5fe another try at it.. 2000-03-04 17:11:52 +00:00
Joseph Carter
8678d1bb58 forgot these 2000-03-04 16:57:34 +00:00
Joseph Carter
75001e947c I think this works, but maybe not.. skins will be very broken if I didn't
but I'll undo this mess if that happens.
2000-03-04 16:43:53 +00:00
Joseph Carter
76c3e731c1 gl_conspin (note NOT r_conspin as my original commit of this useless
feature said) can now be set to something other than 0 or 1.  It now
controls the speed at which the console rotates.  Set it to 0 and it
won't rotate at all.  1 is as fast as it was before, .5 is half as
fast, 100 is insane, etc.
2000-03-04 10:49:34 +00:00
Joseph Carter
6dc6e13b3c Renamed gl_warp_sin.h to .-c 2000-03-04 10:22:27 +00:00
Bill Currie
fdfa130c9b change strncat to strcat. I keep forgetting that the n limits the number of
chars catted, not the length of the destination string.
2000-03-04 06:47:48 +00:00
Eric Windisch
8b55f440df A few fixes to my previous patches. Including the small compile-breaker that I accidently threw in by putting an important global variable in a rarely used define (generations). 2000-03-04 02:39:12 +00:00
Eric Windisch
45ccae6ba7 Made fixes to quakefs.c, unzip.c, and unzip.h; compiles for me, and should for you too. Unzip.c was surprisingly broken; quakefs.c was mildy broken but now fixed (GENERATIONS code). Also an "interface" change, no longer searches for .pk3 files but rather .qz (quake pack) as per Knghtbrd's suggestion. 2000-03-04 01:55:01 +00:00
Bill Currie
3e6df0a25e Fixed a segfault when running "./uquake -rogue". Forgot that com_cmdline will
temporarily have an extra char.
2000-03-04 00:50:46 +00:00
Dan Olson
0f15bbd803 Renamed "help" command to "menu_help".
Renamed "cvarhelp" to "help"
Improved the new "help" command.
2000-03-03 19:49:28 +00:00
Dan Olson
b5c3300cf3 Added 'cvarhelp' cmd to retrieve cvar descriptions. 2000-03-02 22:56:25 +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
Joseph Carter
54501eaed7 SKYBOXES!
Relevant cvar to change the name of the skybox is r_skyname which defaults
to "sky".  If you don't have the files you'll get an ugly red background
in place of the sky.  I'll fix that shortly.

Sorry software people, this is just the Q2 code I'm turning on which doesn
not work for software.  The code is pretty simple though and most of it's
written already in gl_warp.c---just move that to r_sky and use the pcx's
instead of the tga's..
2000-03-02 13:56:01 +00:00
Bill Currie
36adeb3bf9 add \ handling withing "" strings with necessary fix to the keybinding menu.
NOTE: this will break ALL current config scripts that have \ in strings.
2000-03-02 11:38:43 +00:00
Joseph Carter
1393594ee6 Merc's method of doing \ escapes was psychotic and didn't work anyway, so
I'm removing it.
2000-03-02 10:50:29 +00:00
Zephaniah E. Hull
cf0201eeea cvar system fixes..
Knghtbrd owes me for this one..
2000-03-01 11:29:21 +00:00
Dan Olson
fd349f60f1 Fixes segfault in uquake-x11 2000-03-01 02:30:02 +00:00