Commit graph

1007 commits

Author SHA1 Message Date
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
Joseph Carter
2cfc6ee445 Mostly whitespace cleanups while checking out the SERVERONLY defines in
the file.
2000-03-11 12:34:11 +00:00
Anton E. Gavrilov
620d7482b1 Updated MVSC project files. 2000-03-11 10:17:05 +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
Loring Holden
a2284ec9c8 Use ASM_ARCH instead of NO_ASMOPT to figure out if we are on an x86 platform 2000-03-11 05:36:18 +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
54b7b1e6af Removed it, yes! 2000-03-11 00:29:52 +00:00
Anton E. Gavrilov
b97e3ad708 MSVC project .opt file 2000-03-11 00:01:02 +00:00
Anton E. Gavrilov
596b294d04 Win32 compiles and runs now. 2000-03-10 23:33:31 +00:00
Anton E. Gavrilov
fd5d30dd06 Updated MSVC project files 2000-03-10 23:25:39 +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
76e8208651 Added "Diamond Stealth 2000 Pro" to "Tested cards" list, from cesarb. Oh,
and my last commit for in_x11.c was thanks to Marcelo Magallon, who
reported the problem.
2000-03-10 18:44:54 +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
Bill Currie
a8ba72ab0f bye, bye, do_not_include 2000-03-10 02:30:18 +00:00
Anton E. Gavrilov
e81dbeb4f2 Demo pause should work now. 2000-03-09 22:16:25 +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
f88e81fbf1 qport fix for Dabb 2000-03-09 18:03:53 +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
Anton E. Gavrilov
f3a7cdfb90 Added myself to AUTHORS. 2000-03-09 11:34:24 +00:00
Joseph Carter
84129ae52c A few cleanups to the AUTHORS file (and we throw out CREDITS please?) 2000-03-09 10:38:13 +00:00
Bill Currie
5350dc6449 lock twiddling 2000-03-09 04:00:23 +00:00
Bill Currie
6bb246e5a2 twiddling with the lock (i hope) 2000-03-09 03:58:40 +00:00
Bill Currie
674bb148b5 attempt to remove the cvs lock 2000-03-09 03:53:31 +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
fb35a3f7c0 Added 'uquake' project file for Win32 (GL doesn't compile yet) 2000-03-08 22:42:47 +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