Commit graph

523 commits

Author SHA1 Message Date
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