2003-03-07 00:36  warp

	* include/strlib.h, src/base/cmd.c, src/base/strlib.c: CopyString
	is gone, use Zstrdup.

2003-03-04 10:29  warp

	* nq/console.c: Remove extra parans.

2003-03-04 10:18  warp

	* nq/console.c, qw/console.c: Fix the cursor positioning for very
	long lines.

2003-03-04 07:51  warp

	* include/draw.h, include/vid.h, include/wad.h, nq/Makefile.am,
	nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_screen.c,
	nq/r_explosion.c, nq/render.h, qw/Makefile.am, qw/gl_draw.c,
	qw/gl_ngraph.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_screen.c,
	qw/r_explosion.c, qw/render.h, src/image/image.h,
	src/renderer/Makefile.am, src/renderer/gl_draw.c,
	src/renderer/gl_draw.h, src/renderer/gl_info.h,
	src/renderer/gl_textures.c, src/renderer/gl_textures.h,
	src/renderer/mod_brush.c, src/renderer/mod_sprite.c,
	src/renderer/r_explosion.c, src/renderer/sky.c: The 'why the hell
	is this not common' commit.
	
	gl_draw.c from qw and nq has been made common, the texture tracking
	pieces have been put in src/renderer/gl_textures.c, and the drawing
	pieces have been put in src/renderer/gl_draw.c (new).
	
	There were some name changes for the texture management code,
	GLT_Load_<type>, the main one is GLT_Load_Raw.	(Some other misc
	naming changes.)
	
	r_explosions.c has been made common.
	
	The variables glx and gly were NEVER changed, and never inited, but
	were used.  This worked because they were always 0, but this can't
	have made things like the bounds checking gcc happy, they are now
	quite gone.
	
	Changed the linking order, ugh, I hate linking order problems.
	
	Included qtypes.h in a few more headers so they could actually be
	#included first.
	
	Moved stuff in gl_textures.c around a bit.

2003-03-02 14:58  warp

	* nq/cl_parse.c, nq/client.h, qw/cl_parse.c, qw/client.h,
	src/renderer/gl_info.c, src/renderer/gl_info.h,
	src/renderer/r_part.c: r_worldmodel is now common, let's us do some
	physics stuff in particles.

2003-02-21 09:33  warp

	* qw/cl_input.c, qw/cl_main.c, qw/sys.c, qw/teamplay.c,
	src/renderer/r_part.c: qw/teamplay.c: Don't have \n's in the
	unknown string for locations.
	
	qw/cl_input.c: Cap msec consistently.
	
	qw/sys.c and qw/cl_main.c: Handle the passing of time /much/ saner.
	
	src/renderer/r_part.c: Particle tweaks, forgot to commit that a
	while back.

2003-01-31 03:38  warp

	* include/win32config.h: Update the version.

2003-01-31 00:22  warp

	* TODO, configure.in, src/renderer/gl_alias.c: Update the todo,
	change the release in the configure.in.
	
	Remove some inaccurate comments from gl_alias.c

2003-01-30 13:25  molivier

	* include/win32config.h, nq/nq.dsp, qw/qwsv.dsp,
	src/base/twilight_base.dsp, src/image/twilight_image.dsp,
	src/renderer/twilight_renderer.dsp, src/sound/twilight_sound.dsp:
	Updated MSVC6 project files and Win32 version number

2003-01-29 23:21  warp

	* TODO: Update the TODO.

2003-01-29 23:09  warp

	* nq/nq.dsp, nq/nq.vcproj, qw/gl_alias.c, qw/qw.dsp, qw/qw.vcproj,
	qw/r_part.c, src/renderer/twilight_renderer.dsp,
	src/renderer/twilight_renderer.vcproj: A little cleanup that I
	forgot, and the windows project files. (Untested.)

2003-01-29 23:00  warp

	* include/mathlib.h, nq/Makefile.am, nq/cl_ents.c, nq/cl_main.c,
	nq/cl_parse.c, nq/cl_tent.c, nq/client.h, nq/gl_alias.c,
	nq/gl_rmain.c, nq/gl_rsurf.c, nq/r_part.c, nq/render.h,
	nq/teamplay.c, nq/vid_sdl.c, nq/view.c, qw/Makefile.am,
	qw/cl_demo.c, qw/cl_ents.c, qw/cl_main.c, qw/cl_pred.c,
	qw/cl_tent.c, qw/client.h, qw/gl_alias.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/r_part.c, qw/render.h, qw/vid_sdl.c, qw/view.c,
	src/renderer/Makefile.am, src/renderer/gen_textures.c,
	src/renderer/gen_textures.h, src/renderer/gl_alias.c,
	src/renderer/gl_alias.h, src/renderer/gl_info.c,
	src/renderer/gl_info.h, src/renderer/noise_textures.c,
	src/renderer/r_part.c, src/renderer/r_part.h: A few minor things
	before 0.2.0-RC2, minor really.
	
	Major revamp of the particle code.
	
	Borrowed slightly tweaked lightning and rocket trails from DP.
	
	entity_common_t, this let me make gl_alias.[ch] common, as well as
	r_part.[ch].
	
	A few other minor things, whole thing is trivial really. (=:]
	
	Oh, yes, the particles all need a little tweaking now.
	
	So, 0.2.0-RC2 in two or three days?

2003-01-29 11:24  molivier

	* src/base/matrixlib.c: Removed a few warnings on MSVC6

2003-01-29 11:23  molivier

	* src/: base/twilight_base.dsp, renderer/twilight_renderer.dsp:
	Updated MSVC6 project files

2003-01-27 13:30  warp

	* TODO, nq/pr_execprogram.h, nq/progs.h, qw/cl_ents.c,
	qw/cl_main.c, qw/pr_edict.c, qw/pr_exec.c, qw/progs.h,
	qw/sv_ccmds.c: Fix RC #0!
	
	The problem was actually with OP_STORE_V, this copys a vector, and
	is used by qcc during function calls.  The problem is that for some
	reason gcc 2.95 generates code that slightly mangles 'invalid'
	floats for this copy, and the result of some of the pointer calcs
	was decided 'invalid' as far as a float goes.  So, we now copy as
	ints, and the problem is GONE!
	
	(This resulted in making PR_GetString and PR_SetString #defines for
	QW and DP, making for cleaner code and less memory usage.)

2002-12-02 11:07  warp

	* src/base/twilight_base.vcproj: Hopefully allow MSVC .net compiler
	to compile twilight again.

2002-12-02 10:56  warp

	* configure.in, include/cpu.h, nq/gl_draw.c, nq/gl_rsurf.c,
	nq/host.c, qw/cl_main.c, qw/gl_draw.c, qw/gl_rsurf.c,
	src/base/Makefile.am, src/base/cmd.c, src/base/cpu.c,
	src/renderer/gl_textures.c: Interduce cpu.[ch].  This is ix86 and
	gcc specific.
	
	Also interduce code that depends on it, specificly MMX and MMX_EXT
	dependent functions for texture resampling.
	
	Optimize the non-MMX texture resampling code.
	
	Some diff reduction. (This could be no way a result of my being
	lazy, and say, copying gl_draw.c from qw to nq and fixing up the
	results.)
	
	Some optimization of GL_BuildLightmap.
	
	A bit of a change in the command line parsing, now when dealing
	with +foo stuff it requires that the next - or + be prefixed by a
	space.	(We can now handle 'twilight-qw +password foo-bar', we
	could not before.)
	
	Kill the old GLT_8to32_convert, and make the older one endian safe.

2002-11-24 13:59  warp

	* src/renderer/gl_textures.c: Drasticly improve level load time
	with two changes.
	
	Kill many repeated Zone_CheckSentinelsGlobal calls in the texture
	loader.
	
	And a rather sick hack that resembles a Duff's device.
	
	The hack is actually faster due to a simple fact, Athlons stall on
	byte reads, so we read a Uint32 at a time. <=:]

2002-11-24 08:49  warp

	* nq/cl_ents.c, nq/cl_main.c, nq/client.h, qw/cl_ents.c: Fix
	autorotation in NQ.

2002-11-24 07:27  warp

	* .cvsignore, twilight.sln, include/.cvsignore, nq/.cvsignore,
	nq/cl_tent.c, nq/gl_rsurf.c, nq/nq.vcproj, nq/r_part.c,
	qw/.cvsignore, qw/cl_ents.c, qw/cl_tent.c, qw/gl_rsurf.c,
	qw/qw.vcproj, qw/qwsv.vcproj, qw/r_part.c, src/base/.cvsignore,
	src/base/twilight_base.vcproj, src/image/.cvsignore,
	src/image/twilight_image.vcproj, src/renderer/.cvsignore,
	src/renderer/twilight_renderer.vcproj,
	src/sound/twilight_sound.vcproj: Tweak the stain colors, so that
	you don't end up with completely BLACK rooms.
	
	Add .*.swp files to the .cvsignore files.
	
	Add .vcproj files from Damm, for the .net compiler apparently.

2002-11-21 02:57  warp

	* nq/gl_alias.c, src/renderer/dyngl.c, src/renderer/dyngl.h,
	src/renderer/gl_info.c: DynGL_BadFunction!
	
	Quirk to make the *Transpose* functions fall back to the ARB or alt
	functions instead of the 1.4 entry points for the V3 DRI drivers.

2002-11-20 00:36  warp

	* TODO, include/matrixlib.h, nq/cl_ents.c, nq/cl_tent.c,
	nq/gl_alias.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/render.h, nq/view.c, qw/cl_ents.c, qw/gl_alias.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/render.h,
	src/base/Makefile.am, src/base/matrixlib.c,
	src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/dyngl.c, src/renderer/light.h,
	src/renderer/transform.c, src/renderer/transform.h: Kill
	transform.[ch], interduce matrixlib.[ch].
	
	Untransform lights into the bmodel's coordinate space.
	
	Dlights don't seem to brighten bmodels twice as much as the world.
	
	In doing the matrix stuff fix a nasty segfault in the NQ viewmodel
	stuff.
	
	Make the beams in NQ use the CL_Update_* functions instead of doing
	things manually.
	
	Interduce qglMultTransposeMatrixf.
	
	Almost everything uses qglMultTransposeMatrixf now, instead of the
	translate, rotate, scale mixture.
	
	Steal the slightly newer MarkLights stuff from DP. (Tweaked a bit.)
	
	Don't get GL functions we don't actually /use/.

2002-11-18 04:39  rain

	* nq/common.c, nq/keys.c, nq/sys.c, qw/common.c, qw/keys.c,
	qw/net_udp.c, qw/sv_sys.c, qw/sys.c: twilight now compiles with
	mingw32 again--I don't have a copy of MSVC, so I can't test/fix
	that.

2002-11-18 02:32  rain

	* TODO, include/common.h, nq/common.c, nq/host.c, qw/cl_main.c,
	qw/common.c, qw/sv_main.c: 
	fs_{share,user}{path,conf} are now expanded with Sys_ExpandPath as
	soon as they are set, rather than every time they are used (and, in
	a few cases, they weren't expanded at all--twilight was creating a
	literal '~/.twilight' whenever it ran)
	
	Also added a little more information about RC#0

2002-11-18 00:54  rain

	* include/common.h, nq/common.c, qw/common.c, src/base/zone.c:
	Added Com_DFPrintf which takes a log level and treats the developer
	cvar like a bitmask.  Com_DPrintf is now a wrapper for this (using
	1 as the log level), and the zone code now uses Com_DFPrintf
	instead of Com_DPrintf with a log level of 2 (DEBUG_ZONE).  This
	really cuts down on the noise level when enabling developer.

2002-11-15 08:28  warp

	* TODO, nq/gl_draw.c, qw/gl_draw.c, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/mod_brush.c: Kill RC #2,
	was the black texture, black is the color we use for palette slots
	which are empty.
	
	Added TEX_FORCE, to indicate that we should load the texture even
	if it has no colors in the selected palette. (For say, all black
	textures!)

2002-11-07 09:53  warp

	* TODO, include/common.h, qw/cl_input.c, qw/vid_sdl.c: Fix RC #1.

2002-11-06 16:56  warp

	* TODO: One more, and SLEEP!

2002-11-06 16:55  warp

	* TODO: Renumbered the RC bugs, and added two more.

2002-11-01 07:25  warp

	* qw/cl_input.c: Evil hack.  When the PITCH of the viewangles is at
	or above 90 the forward/back controls seem to be inverted on the
	server side.  This works around that in an evil manner.

2002-10-29 09:59  warp

	* TODO, configure.in, include/console.h, nq/console.c, nq/keys.c,
	qw/console.c, qw/keys.c: Behold! The console has been rewritten!
	
	The copyright messages have been added.
	
	And the version has been set to 0.2.0-RC1.
	
	TESTING TIME!

2002-10-28 20:25  warp

	* TODO, nq/sv_phys.c: Import the fix for lifts hurting from DP,
	thanks LH.  (3 RC bugs to go!)

2002-10-28 19:40  warp

	* TODO: Remove a bug that was not marked RC that was the same as
	#2.
	
	Downgraded the 3Dfx quirk thing from RC to non-RC.

2002-10-28 19:35  warp

	* TODO, nq/net_udp.c: Fixed RC #2.

2002-10-28 19:27  warp

	* TODO, nq/sys.c, qw/sys.c: Fixed RC #5. (Sys_mkdir now acts like
	mkdir -p does)

2002-10-27 12:14  warp

	* nq/cl_parse.c, nq/gl_alias.c, nq/sv_phys.c, qw/cl_ents.c,
	qw/client.h, qw/gl_alias.c, src/renderer/gl_textures.c: Some lerp
	improvements.  Some diff reduction.

2002-10-26 00:14  eviltypeguy

	* AUTHORS: Updated my email address for icculus.org account

2002-10-25 15:14  havoc

	* TODO: added 4 new bugs (two are RC), removed RC #1 (splashs when
	hitting floor underwater) as it has been fixed now, added a comment
	to invalid hostname error

2002-10-25 15:02  havoc

	* nq/sv_phys.c: bugfixes to MOVETYPE_TOSS (water transition sounds
	now occur when they happen, not when the object hits the floor) and
	MOVETYPE_STEP (relink in more situations and the code is no longer
	unreadable - code that bad is a bug all by itself), no splash sound
	for lava, some code formatting cleanups elsewhere

2002-10-20 11:48  havoc

	* src/renderer/: gl_textures.c, gl_textures.h: fixed crash on
	progs/v_star.mdl (found in Threewave CTF and others), it has
	texcoords that go off the image ... and rewrote the triangle skin
	checking code to do so, now it actually works

2002-10-19 08:43  warp

	* TODO, nq/gl_alias.c, qw/gl_alias.c: Update the TODO list.  Fix
	animating frame groups, whoops.

2002-10-18 00:56  warp

	* TODO, nq/cl_ents.c, nq/cl_main.c, nq/cl_parse.c, nq/client.h,
	nq/gl_alias.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/r_part.c,
	nq/render.h, nq/view.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_tent.c,
	qw/client.h, qw/gl_alias.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/r_part.c, qw/render.h, src/base/mathlib.c: Some minor diff
	reduction for gl_alias.c and r_part.c.
	
	This was done by completely ripping out the entity lerping for both
	QW and NQ, and replacing it with something much better.
	
	I here by declare the lerping in QW and NQ, both movement and
	alias, to be absolutely perfect. Anyone who finds otherwise is
	obviously delusional and should be locked up for the safty of
	themselves and everyone else!

2002-10-14 14:55  warp

	* TODO, qw/gl_alias.c, src/base/mathlib.c: Proper alias model
	lerping for QW.  NQ still needs to be done.

2002-10-14 13:35  warp

	* TODO: Some tweaking to the RC bugs.  (Adjusted for line length,
	numbered the RC bugs.)

2002-10-13 09:38  havoc

	* src/renderer/vis.c: new Vis_CullBox from DP, more than twice as
	fast

2002-10-09 22:11  warp

	* include/keys.h, nq/gl_alias.c, nq/keys.c, nq/menu.c,
	qw/gl_alias.c, qw/keys.c, qw/menu.c: Minor logic fix for normal
	alias model renderer.
	
	Add support for multiple key bindings at once, with fallbacks. 
	FIXME: The menus should reflect this new ability.  FIXME: Someone
	should document it too.  NOTE: Absolutely no breakage of existing
	configs.

2002-10-09 08:38  warp

	* nq/gl_alias.c, nq/gl_draw.c, qw/gl_alias.c, qw/gl_draw.c,
	src/renderer/gl_textures.c, src/renderer/gl_textures.h: Reworked
	the nVidia alias model renderer, it now /correctly/ renders
	fullbrights. (Also slightly faster.)
	
	Some state change cleanups in the normal alias model renderer.
	
	Some clean up in the palette code.

2002-10-09 05:52  warp

	* src/renderer/gl_textures.c: Fix the crash, speed up a bit.

2002-10-07 22:22  warp

	* nq/gl_alias.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/menu.c,
	nq/render.h, nq/vid_sdl.c, qw/gl_alias.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/menu.c, qw/render.h, qw/vid_sdl.c,
	src/renderer/gl_info.h, src/renderer/gl_textures.c,
	src/renderer/mod_alias.h: Killed gl_fb_models and gl_fb_bmodels
	cvars.	Replaced them with gl_fb.
	
	Kill the top_bottom palette, it was an evil hack.
	
	Rework how to handle indices for alias models.
	
	Fix some rendering errors with the above.  (We were not drawing
	some models, for instance.)

2002-10-05 05:37  warp

	* include/quakedef.h, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/mod_brush.c: Dead code
	removal!

2002-10-05 05:09  warp

	* TODO, include/draw.h, include/keys.h, include/vid.h,
	nq/cl_main.c, nq/console.c, nq/gl_alias.c, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/keys.c, nq/r_explosion.c,
	nq/render.h, nq/vid_sdl.c, qw/cl_main.c, qw/console.c,
	qw/gl_alias.c, qw/gl_draw.c, qw/gl_ngraph.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/keys.c, qw/r_explosion.c, qw/render.h,
	qw/vid_sdl.c, src/renderer/gl_info.h, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/mod_alias.h,
	src/renderer/mod_brush.c, src/renderer/mod_sprite.c,
	src/renderer/sky.c: Redesigned how we handle various texture
	things, we now have many palettes.
	
	This fixes up a RC bug or two.
	
	What now controls how many FB colors we have is the colormap, we
	should provide a way to override this to disable FB colors, as I
	removed the ability to disable, this saves us some texture memory.
	
	I also fixed a bug where you type a line, instead of hitting enter
	put the console up, bring it back down, and start typing again.
	
	This brings us down to exactly one RC bug in the renderer, the lack
	of model lerping!

2002-09-30 13:29  warp

	* nq/cl_parse.c, nq/common.c, nq/console.c, nq/gl_alias.c,
	nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/host.c, nq/host_cmd.c, nq/net_dgrm.c, nq/net_udp.c,
	nq/pr_cmds.c, nq/pr_edict.c, nq/render.h, nq/sv_main.c,
	nq/sv_user.c, nq/sys.c, qw/cl_ents.c, qw/gl_rsurf.c, qw/sbar.c,
	src/base/locs.c, src/base/zone.c, src/renderer/sky.c: Hopefully
	this will get through the DDOS attack on me.
	
	Revert most of ETG's stuff, if has clearly defined usage and
	meaning, explicitly checking against NULL or true is, useless
	clutter.
	
	skytexturenum no longer exists, it was tested against -1, but was
	never changed from 0;
	
	Some signed->unsigned changes.
	
	QW sbar had the strcmp check on team inverted.
	
	Don't crash on ents without models, and don't even bother loading
	static ents that are completely and utterly empty.

2002-09-30 02:59  eviltypeguy

	* include/win32config.h: Disable MSVC's
	
	assignment within condition
	
	and non-standard extension warnings about the zero-size arrays in
	our data unions
	
	and the static extern variables since they're apparently "useless"

2002-09-29 12:22  havoc

	* nq/sys.c: fix for bugs in Sys_Printf, as indicated by gcc
	warnings

2002-09-29 09:40  eviltypeguy

	* nq/common.c, nq/console.c, nq/gl_alias.c, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/host.c, nq/host_cmd.c,
	nq/net_dgrm.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/sv_main.c, nq/sv_user.c, nq/sys.c, src/base/locs.c: MSVC level 4
	warning corrections

2002-09-27 06:57  havoc

	* TODO: added a hostname crash in twilight-nq on UNIX/Linux

2002-09-14 03:23  havoc

	* src/base/cmd.c: don't crash on an empty file in Cbuf_InsertFile

2002-09-13 06:08  havoc

	* src/renderer/gl_info.c: At Damm's request, disable
	SGIS_generate_mipmap on all ATI drivers

2002-09-06 06:27  warp

	* nq/gl_rsurf.c, qw/gl_rsurf.c, src/renderer/vis.c: Fix the
	sometimes disco ball lights.
	
	No more 64bit math in the dlights.
	
	Make Vis_RecursiveWorldNode less recursive.
	
	Total: (2.7% NQ speed up. 4.6% QW speed up.)

2002-09-05 19:04  eviltypeguy

	* src/base/twilight_base.dsp: Add mod_brush.c as a source file,
	fixes visual studio win32 compilation

2002-08-29 10:14  eviltypeguy

	* include/r_explosion.h, nq/r_explosion.h, qw/Makefile.am,
	qw/r_explosion.h: Unify nq/r_explosion.h qw/r_explosion.h as
	include/r_explosion.h

2002-08-29 10:08  eviltypeguy

	* include/keys.h, nq/Makefile.am, nq/keys.h, qw/Makefile.am,
	qw/keys.h: unify nq/keys.h qw/keys.h as include/keys.h

2002-08-29 10:05  eviltypeguy

	* include/console.h, nq/cl_console.h: Note to self, when unifying
	files, make sure new ones get added during the commit

2002-08-29 10:00  eviltypeguy

	* nq/Makefile.am, nq/common.c, nq/console.c, nq/console.h,
	nq/gl_screen.c, nq/keys.c, nq/view.c, qw/Makefile.am, qw/console.h:
	move unified portion of console.h between nq/ and qw/ to
	include/console.h created nq/cl_console.h for client specific
	console variables there are none for qw

2002-08-29 09:49  eviltypeguy

	* qw/console.h: Reduce differences between nq/console.h and
	qw/console.h

2002-08-29 07:55  eviltypeguy

	* src/renderer/gl_info.c: Fix spelling mistakes in driver quirk
	messages

2002-08-29 07:55  eviltypeguy

	* src/base/buildnum.c: Remove trailing space

2002-08-29 05:34  warp

	* TODO, src/renderer/gl_info.c: Update the TODO a little bit.  Add
	an ATI driver quirk to disable GL_SGIS_generate_mipmap.

2002-08-23 02:12  havoc

	* nq/pr_edict.c: default bounds checking on (it only breaks one
	evil mod I know of - CRMod)

2002-08-21 02:52  warp

	* TODO, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, src/renderer/light.h:
	Fix the dlight bug. (See below for specifics.)
	
	Kill r_dlightframecount, and use r_framecount instead.	Also make
	sure that we are checking those framecounts by the same variable we
	use to set them, IE, r_framecount vs r_framecount, instead of
	r_framecount vs vis_framecount.
	
	Remove some redundant defines in gl_rsurf.
	
	Killed modelorg.
	
	Some tweaking to R_AddDynamicLights.
	
	And: -#define LIGHTOFFSET 32 * 32 +#define LIGHTOFFSET (32 * 32)

2002-08-19 18:09  warp

	* TODO, include/mod_brush.h, include/model.h, nq/Makefile.am,
	nq/cl_model.c, nq/cl_parse.c, nq/cl_tent.c, nq/host.c,
	nq/pr_cmds.c, nq/sv_main.c, qw/Makefile.am, qw/cl_main.c,
	qw/cl_model.c, qw/cl_parse.c, qw/cl_tent.c, qw/pr_cmds.c,
	qw/sv_init.c, qw/sv_model.c, src/base/Makefile.am,
	src/base/mod_brush.c, src/base/model.c, src/renderer/Makefile.am,
	src/renderer/dglfuncs.h, src/renderer/mod_alias.c,
	src/renderer/mod_brush.c, src/renderer/mod_brush.h,
	src/renderer/mod_sprite.c, src/renderer/surface.c: Some moving
	around of things.
	
	The brush model loader is now common between the servers and
	clients.
	
	The NQ dedicated server /mostly/ works now.  (No console input for
	one thing though.)
	
	Added some model flags, crash is now just one of several.
	
	Killed the ismap global, just another flag.
	
	Fixed NQ color parsing, oops.  (Fixes the all blue bigass1 thing.)
	
	Some zone cleanup.
	
	Added the dlight bug to the todo file.
	
	Probably many other things that I am forgetting to mention here.

2002-08-19 07:42  warp

	* qw/skin.c: Fix a crash on free of the raw skin data, oops.  (How
	did this work at all?)

2002-08-14 18:21  warp

	* TODO, include/model.h, nq/cl_model.c, nq/cl_parse.c,
	nq/gl_rmain.c, nq/gl_rsurf.c, nq/render.h, nq/sv_main.c,
	qw/cl_model.c, qw/cl_parse.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/render.h, qw/sv_model.c, src/base/model.c,
	src/renderer/mod_alias.c, src/renderer/mod_brush.c: Renamed
	isnotmap to ismap and inverted it.
	
	Fixed some nasty bugs with model unloading that could be the cause
	of Damm's crashing.
	
	Fixed brush model frames, so when you hit a button for say, a lift,
	the color of the button changes and it stops blinking.

2002-08-14 09:12  warp

	* include/info.h, include/zone.h, nq/cl_main.c, nq/gl_draw.c,
	nq/host.c, qw/cl_main.c, qw/gl_draw.c, qw/info.c, qw/skin.c,
	src/base/model.c, src/base/zone.c: Bump the size of MAX_INFO_STRING
	to half a k.
	
	Remove memory clumps.
	
	Remove the special cases to unload the worldmodel, and make
	Mod_ClearAll unload all the brush models. (Brush models have
	persistant data.)
	
	Add reference counting for textures.
	
	Plug a memory leak with QW skins.

2002-08-11 23:17  warp

	* TODO: Some reorginising of the RC bugs, moved the driver related
	ones to a sepirate section for sanity.

2002-08-11 23:01  warp

	* TODO: Removed the RC bug about saved games, as I fixed it.

2002-08-11 22:59  warp

	* nq/pr_edict.c: When the function says Ugly, it MEANS Ugly.  This
	should fix the saved games.

2002-08-11 17:38  warp

	* qw/cl_main.c: Er, also unload the map on map change for QW, oops.

2002-08-11 17:35  warp

	* TODO, nq/cl_main.c, nq/cl_model.c, nq/cl_parse.c, nq/client.h,
	nq/common.c, nq/gl_draw.c, nq/host.c, nq/host_cmd.c, nq/server.h,
	nq/snd_dma.c, nq/sv_main.c, qw/cl_main.c, qw/cl_model.c,
	qw/cl_parse.c, qw/client.h, qw/common.c, qw/gl_draw.c, qw/server.h,
	qw/snd_dma.c, qw/sv_init.c, qw/sv_main.c, src/sound/mem.c,
	src/sound/sound.h: Some updates of the TODO file.
	
	Move the server and client zones out of the structs, and just empty
	them between maps, instead of destroying and recreating.
	
	Proper check for unloading models, whoops.
	
	Revert a debugging fix I had for tracking down tempzone leaks in
	COM_LoadFile.
	
	In gl_draw.c some strcpy->strlcpy changes, and error out on bad
	bpps instead of silently failing to upload(!!).
	
	sfx->stereo to sfx->channels change, cleaner this way.
	
	Fix when we do and do not unload the map, fixes a number of things.
	 (Including the lightmap corruption issues.)

2002-08-09 23:05  warp

	* include/common.h, include/model.h, include/zone.h, nq/cl_main.c,
	nq/cl_model.c, nq/cl_parse.c, nq/client.h, nq/common.c,
	nq/gl_draw.c, nq/gl_rmain.c, nq/host.c, nq/host_cmd.c,
	nq/net_main.c, nq/pr_edict.c, nq/server.h, nq/snd_dma.c,
	nq/sv_main.c, qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c,
	qw/client.h, qw/common.c, qw/gl_draw.c, qw/gl_rmain.c,
	qw/pr_edict.c, qw/server.h, qw/snd_dma.c, qw/sv_init.c,
	qw/sv_main.c, qw/sv_model.c, src/base/cmd.c, src/base/locs.c,
	src/base/model.c, src/base/wad.c, src/base/zone.c, src/image/pcx.c,
	src/image/qlmp.c, src/image/tga.c, src/renderer/mod_brush.c,
	src/renderer/mod_brush.h, src/sound/mem.c, src/sound/mix.c,
	src/sound/sound.h: There is a brief bright flash, and then nothing.
	
	This is the sound of a 50-kiloton explosion at medium range.
	
	There is no sound because the blast wave travels faster then the
	speed of sound.
	
	The device was attached directly to the hunk and cache code. 
	Sadly, nothing survived the blast.
	
	I apologize for Zone_AllocName, and the name of COM_LoadNamedFile.
	
	This also fixes a bug with maps, say you are on map a, switch to
	map b, then switch back to map a, you had a severe problem before,
	fixed now.

2002-08-09 19:22  havoc

	* include/model.h: get rid of the nameless union

2002-08-09 19:10  havoc

	* TODO: added a second report of the saved game bug, and a RC bug
	about not creating ~/.twilight

2002-08-06 18:59  warp

	* configure.in, include/bspfile.h, include/common.h,
	include/draw.h, include/model.h, include/zone.h, nq/Makefile.am,
	nq/cl_main.c, nq/cl_model.c, nq/common.c, nq/gl_alias.c,
	nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/host_cmd.c, nq/nq.dsp, nq/pr_cmds.c,
	nq/pr_edict.c, nq/r_part.c, nq/render.h, nq/sv_main.c,
	nq/vid_sdl.c, nq/world.c, qw/Makefile.am, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c, qw/client.h,
	qw/common.c, qw/gl_alias.c, qw/gl_draw.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_warp.c, qw/net_udp.c,
	qw/pr_cmds.c, qw/pr_edict.c, qw/qw.dsp, qw/qwsv.dsp, qw/r_part.c,
	qw/render.h, qw/skin.c, qw/sv_ents.c, qw/sv_init.c, qw/sv_model.c,
	qw/sv_send.c, qw/sv_user.c, qw/transform.c, qw/vid_sdl.c,
	qw/world.c, src/base/cmd.c, src/base/model.c,
	src/base/twilight_base.dsp, src/base/zone.c,
	src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/gl_info.c, src/renderer/gl_info.h,
	src/renderer/gl_textures.c, src/renderer/gl_textures.h,
	src/renderer/liquid.c, src/renderer/liquid.h,
	src/renderer/mod_alias.c, src/renderer/mod_alias.h,
	src/renderer/mod_brush.c, src/renderer/mod_brush.h,
	src/renderer/mod_sprite.c, src/renderer/mod_sprite.h,
	src/renderer/sky.c, src/renderer/sky.h, src/renderer/surface.c,
	src/renderer/surface.h, src/renderer/twilight_renderer.dsp,
	src/renderer/vis.c, src/renderer/vis.h: Merging in the mercury tree
	to trunk.
	
	Some changes, optimizations and bug fixes to the alias model
	renderer.

2002-08-06 10:21  warp

	* src/renderer/vis.c: file vis.c was initially added on branch
	mercury.

2002-08-06 10:21  warp

	* src/renderer/vis.h: file vis.h was initially added on branch
	mercury.

2002-08-06 10:21  warp

	* TODO, configure.in, include/common.h, include/model.h,
	include/zone.h, nq/cl_main.c, nq/cl_model.c, nq/common.c,
	nq/gl_alias.c, nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rsurf.c, nq/host_cmd.c, nq/nq.dsp, nq/pr_edict.c,
	nq/r_part.c, nq/render.h, qw/cl_ents.c, qw/cl_model.c,
	qw/cl_parse.c, qw/client.h, qw/common.c, qw/gl_alias.c,
	qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/net_udp.c, qw/pr_edict.c, qw/qw.dsp, qw/r_part.c, qw/render.h,
	qw/sv_init.c, src/base/cmd.c, src/base/zone.c,
	src/renderer/Makefile.am, src/renderer/liquid.c,
	src/renderer/mod_brush.h, src/renderer/sky.c,
	src/renderer/twilight_renderer.dsp, src/renderer/vis.c,
	src/renderer/vis.h: Merge in the changes from HEAD.
	
	The visibility stuff has been merged in src/renderer/vis.[ch]. 
	(More work to replace with something else, but now a bit easier
	anyways.)
	
	Redesign the calling of functions which draw the world and other
	brush models, renaming things, shuffling from one function to
	another.
	
	Properly handle liquids in non-world brush models.
	
	Other small tweaks.
	
	This all comes out as a decent speed gain. (~%7 in overkill)

2002-08-04 17:36  havoc

	* include/zone.h, src/base/zone.c: Goodbye Hunk_Alloc, you won't be
	missed.

2002-08-04 17:27  havoc

	* include/common.h, nq/common.c, nq/pr_edict.c, qw/common.c: made
	COM_LoadFile code identical in nq and qw, got rid of
	COM_LoadZoneFile, added COM_LoadAllocFile fixed the one use of
	COM_LoadZoneFile in nq/pr_edict.c to use COM_LoadAllocFile

2002-08-04 17:14  havoc

	* qw/gl_warp.c: changed Hunk_Alloc calls to Hunk_AllocName

2002-08-04 17:10  havoc

	* qw/: cl_model.c, gl_rsurf.c: changed Hunk_Alloc calls to
	Hunk_AllocName

2002-08-04 17:06  havoc

	* nq/: gl_rsurf.c, gl_warp.c: changed Hunk_Alloc calls to
	Hunk_AllocName

2002-08-04 16:57  havoc

	* nq/cl_model.c: changed a Hunk_Alloc to Hunk_AllocName

2002-08-04 16:52  havoc

	* src/base/cmd.c: converted command allocation to use Zone

2002-08-04 16:47  havoc

	* nq/host_cmd.c, qw/pr_edict.c, qw/sv_init.c: converted some
	Hunk_Alloc calls to Hunk_AllocName

2002-08-04 16:39  havoc

	* TODO: added a RC: savegame bug

2002-08-04 16:37  havoc

	* TODO: added a known bug for alt-tab in windows on a ATI Radeon

2002-08-03 01:17  warp

	* qw/qw.dsp, qw/qwsv.dsp, src/base/twilight_base.dsp,
	src/renderer/twilight_renderer.dsp: Should fix the windows compile.

2002-08-02 20:13  warp

	* nq/cl_main.c, nq/gl_rlight.c, qw/cl_parse.c, qw/gl_draw.c: Fix a
	bug in the mipmap code. (Had && when I needed ||, oops.)
	
	Add the corona state restoration bug fix to NQ.
	
	The muzzle flash was really bright in NQ, and barely in existence
	in QW, I put it about half way in between for both of them.

2002-08-02 19:52  warp

	* nq/gl_draw.c, qw/gl_draw.c: Rework GL_Upload32 in respect to
	mipmapping, now MUCH saner.  (I have not timed it, but I believe
	that at this point this branch loads faster then trunk.)

2002-08-02 13:00  warp

	* nq/gl_draw.c, qw/gl_draw.c, src/renderer/gl_info.c,
	src/renderer/gl_info.h: Support for GL_SGIS_generate_mipmap.

2002-08-02 10:28  warp

	* include/model.h, nq/gl_alias.c, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rsurf.c, nq/host_cmd.c, nq/pr_cmds.c, nq/sv_main.c,
	nq/world.c, qw/cl_ents.c, qw/cl_parse.c, qw/gl_alias.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/pr_cmds.c,
	qw/skin.c, qw/sv_ents.c, qw/sv_init.c, qw/sv_model.c, qw/sv_send.c,
	qw/sv_user.c, qw/world.c, src/base/model.c,
	src/renderer/mod_alias.c, src/renderer/mod_brush.c,
	src/renderer/mod_sprite.c, src/renderer/surface.c: Nothing too
	major, just removing the 'extra' in the names.
	
	Note! This is NOT standard C, but works with gcc and MSVC, feel
	free to kill the union.

2002-08-02 09:28  warp

	* src/base/zone.c: Shrink the hunk default down to 4M.

2002-08-02 09:27  warp

	* nq/cl_model.c, nq/vid_sdl.c, qw/Makefile.am, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c, qw/gl_alias.c,
	qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/pr_cmds.c, qw/render.h, qw/skin.c, qw/sv_ents.c,
	qw/sv_init.c, qw/sv_model.c, qw/sv_send.c, qw/sv_user.c,
	qw/vid_sdl.c, qw/world.c, src/base/model.c: Allocate the rest of
	the model stuff in the model's zone.
	
	Port the changes to QW.
	
	Fix the automatic width conversion with aspect ratio, oops.

2002-08-02 07:09  warp

	* src/renderer/mod_alias.c: file mod_alias.c was initially added on
	branch mercury.

2002-08-02 07:09  warp

	* src/renderer/mod_sprite.c: file mod_sprite.c was initially added
	on branch mercury.

2002-08-02 07:09  warp

	* src/renderer/mod_sprite.h: file mod_sprite.h was initially added
	on branch mercury.

2002-08-02 07:09  warp

	* src/renderer/mod_alias.h: file mod_alias.h was initially added on
	branch mercury.

2002-08-02 07:09  warp

	* include/model.h, nq/cl_model.c, nq/gl_draw.c, nq/render.h,
	nq/vid_sdl.c, qw/vid_sdl.c, src/base/model.c,
	src/renderer/Makefile.am, src/renderer/mod_alias.c,
	src/renderer/mod_alias.h, src/renderer/mod_sprite.c,
	src/renderer/mod_sprite.h: mod_alias.[ch] and mod_sprite.[ch], now
	both completely common.
	
	Fix a nasty bug with the texture deletion.
	
	Properly calculate the video mode width if only the height is
	specified.  (3/4 aspect ratio)
	
	Support model unloading, though there is currently no way to
	trigger it.

2002-08-01 12:15  havoc

	* nq/nq.dsp, qw/qw.dsp, qw/qwsv.dsp, src/base/twilight_base.dsp,
	src/renderer/twilight_renderer.dsp: fixed MSVC projects

2002-08-01 04:16  warp

	* nq/cl_model.c, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/mod_brush.c: Free the
	lightmap textures when we free brush models.  (Even for sub
	models.)
	
	Support unloading all types of models again.
	
	Minor tweaks.

2002-07-31 13:28  warp

	* include/bspfile.h, nq/gl_rsurf.c, src/renderer/mod_brush.c,
	src/renderer/mod_brush.h: Bump a limit to make cavetest2 work.
	
	Fix fullbrights.
	
	Minor tweaking.

2002-07-31 11:19  warp

	* configure.in, include/draw.h, include/model.h, nq/Makefile.am,
	nq/cl_main.c, nq/cl_model.c, nq/gl_alias.c, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/host_cmd.c, nq/pr_cmds.c, nq/render.h, nq/sv_main.c, nq/world.c,
	qw/cl_ents.c, qw/cl_parse.c, qw/client.h, qw/gl_alias.c,
	qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/net_udp.c, qw/render.h, qw/transform.c,
	src/base/model.c, src/base/zone.c, src/renderer/Makefile.am,
	src/renderer/dglfuncs.h, src/renderer/gl_info.c,
	src/renderer/gl_info.h, src/renderer/liquid.c,
	src/renderer/liquid.h, src/renderer/mod_brush.c,
	src/renderer/mod_brush.h, src/renderer/sky.c, src/renderer/sky.h,
	src/renderer/surface.c, src/renderer/surface.h: Ok! This should
	more or less work for the first map!
	
	NOTE: This is currently NQ only, and we leak memory like crazy when
	switching maps.

2002-07-31 07:46  warp

	* configure.in, nq/gl_alias.c, nq/gl_draw.c, nq/gl_rsurf.c,
	nq/gl_warp.c, qw/cl_ents.c, qw/cl_parse.c, qw/client.h,
	qw/gl_alias.c, qw/gl_draw.c, qw/gl_rsurf.c, qw/gl_warp.c,
	qw/net_udp.c: Death to the unused!

2002-07-31 05:23  knghtbrd

	* include/model.h, nq/cl_main.c, nq/gl_draw.c, nq/gl_rlight.c,
	nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c, nq/render.h,
	nq/vid_sdl.c, qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_warp.c, qw/render.h, qw/vid_sdl.c,
	src/renderer/dglfuncs.h, src/renderer/noise_textures.c: Merge from
	HEAD...

2002-07-31 03:07  warp

	* include/model.h, nq/cl_main.c, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rsurf.c, nq/render.h, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/render.h: Some int->Uint conversions.

2002-07-31 02:07  warp

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/render.h, nq/vid_sdl.c, qw/gl_draw.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_warp.c, qw/render.h, qw/vid_sdl.c,
	src/renderer/dglfuncs.h, src/renderer/noise_textures.c:
	texture_extension_number is now DEAD, again!

2002-07-31 01:21  knghtbrd

	* nq/cl_main.c, nq/r_part.c, nq/render.h, qw/cl_ents.c,
	qw/r_part.c, qw/render.h: Breaks rocket trails but puts me in a
	better position to fix them properly (and make particles nicer
	too..)

2002-07-30 15:35  knghtbrd

	* TODO: Update TODO

2002-07-30 14:31  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Brush models now have fullbrights
	again - THIS is a hack.  In fact, our whole brush model rendering
	code is a hack.  Brush models should in theory render using the
	same code that renders the world.  That's too big of a change to
	put in now, and I'm too tired to fuck with that.

2002-07-30 14:12  knghtbrd

	* include/draw.h, nq/gl_draw.c, nq/gl_rsurf.c, nq/render.h,
	qw/gl_draw.c, qw/gl_rsurf.c, qw/render.h, src/renderer/gl_info.h:
	Remember the long untracable memory corruption somewhere related to
	loading models and textures and all?  I just fixed it.	Texture
	arrays do not like to be overflowed, ne?  They're now a list. 
	Fixing this broke the horrid hack that is fullbright rendering all
	to hell though since it depended on MAX_GLTEXTURES which died. 
	Rewrote this sanely.
	
	World fullbrights are brighter than they should be (will fix) and
	brush models don't have fullbrights at all currently (same).

2002-07-30 12:11  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c, src/base/zone.c: Doesn't miraculously
	reduce load times or fix the wonderful crash I'm hunting down, but
	it does reduce memory usage and simplify debugging.  We now
	allocate gltexture_t structures rather than using an array...

2002-07-30 08:36  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Maps with no lighting data are now
	sanely lit.

2002-07-30 07:15  knghtbrd

	* configure.in, include/draw.h, include/model.h, nq/Makefile.am,
	nq/cl_ents.c, nq/cl_main.c, nq/cl_model.c, nq/cl_parse.c,
	nq/cl_tent.c, nq/client.h, nq/gl_alias.c, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/pr_cmds.c, nq/render.h, nq/sbar.c, nq/snd_dma.c, nq/sv_main.c,
	nq/sys.c, nq/vid_sdl.c, nq/world.c, qw/Makefile.am, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c, qw/cl_tent.c,
	qw/client.h, qw/gl_alias.c, qw/gl_draw.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_warp.c, qw/net_udp.c,
	qw/pmovetst.c, qw/pr_cmds.c, qw/qw.dsp, qw/qwsv.dsp, qw/r_part.c,
	qw/render.h, qw/sv_ents.c, qw/sv_init.c, qw/sv_model.c,
	qw/sv_send.c, qw/sv_sys.c, qw/sv_user.c, qw/sys.c, qw/vid_sdl.c,
	qw/world.c, src/base/Makefile.am, src/base/cmd.c,
	src/base/collision.c, src/base/cvar.c, src/base/model.c,
	src/base/twilight_base.dsp, src/base/zone.c,
	src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/dyngl.c, src/renderer/gl_arrays.c,
	src/renderer/gl_arrays.h, src/renderer/gl_info.c,
	src/renderer/gl_info.h, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/light.h,
	src/renderer/liquid.c, src/renderer/liquid.h,
	src/renderer/mod_brush.c, src/renderer/mod_brush.h,
	src/renderer/noise_textures.c, src/renderer/sky.c,
	src/renderer/sky.h, src/renderer/surface.c, src/renderer/surface.h,
	src/renderer/twilight_renderer.dsp, src/sound/sound.h: Big revert. 
	Here lies lesson one: Fuck not with that ye dost not fully
	understand.  I tried to preserve changes which did not break
	things, but several useful things (signed int to unsigned int
	conversions) were lost.  That would make lesson two: Commit thy
	cleanups seperately from thy changes if thou wishest not to lose
	these when thy bugs are reverted.
	
	I've spent several hours reverting this mess by hand and I'm not
	happy about it.  That makes lesson three: Maketh not thy commits
	too large lest Knghtbrd need to kill thee.  As much as Zeph will
	not want to hear it, I'm going to suggest that the interesting
	parts of his changes be reapplied carefully.  As for the rest, I
	think we have found his implementation to not work right.  I
	suggest we start over on this front, AFTER 0.2 is out.

2002-07-29 22:31  warp

	* configure.in, nq/gl_rmain.c, nq/gl_rsurf.c, nq/sys.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/sv_sys.c, qw/sys.c,
	src/base/cmd.c, src/base/cvar.c, src/base/zone.c,
	src/renderer/dyngl.c, src/renderer/gl_textures.c,
	src/renderer/mod_brush.c, src/renderer/mod_brush.h,
	src/renderer/surface.c: I am /exausted/ due to IRL and should be
	asleep, instead I'm commiting this.
	
	HOPEFULLY this should restore playability!
	
	Add support for dmalloc.  (FIXME: Do it right!)
	
	Some state change fixups.  (Like resetting modelorg, fixes some
	rendering bugs.)
	
	Redesign the chain allocation stuff, now three passes, but only one
	set of mallocs.
	
	Fix some REALLY stupid bugs where I was drawing the world where I
	should have been drawing a sub model.  (Fixes some major speed
	issues and corrects some rendering.)
	
	Fix knghtbrd's stupid bug which broke logging.	(FIXME: Find a
	clean way to do it!)
	
	Change some temp allocs to the tempzone.
	
	Disable the memory clumping in the zone allocator.  (FIXME: Runtime
	option perhaps?)
	
	Shrink the lightmap scraps back down to 256x256, MAJOR speedup for
	overkill.  (FIXME: Make runtime option, perhaps even variable
	depending on the model sizes?)

2002-07-29 13:47  knghtbrd

	* nq/gl_rlight.c, qw/gl_rlight.c: Coronas were too bright, fixed
	them.

2002-07-29 08:36  knghtbrd

	* include/draw.h, nq/gl_draw.c, nq/sbar.c, qw/gl_draw.c, qw/sbar.c:
	I commented out the TileClear stuff earlier in NQ debating whether
	to keep or nuke it.  Decision made, byebye TileClear!  You will
	(not) be missed!

2002-07-29 05:48  knghtbrd

	* src/base/model.c: Small cleanups to model code (which
	unfortunately don't fix anything..)

2002-07-29 05:46  knghtbrd

	* nq/sbar.c: Fixed sbars for mission packs

2002-07-28 14:39  havoc

	* src/base/cmd.c: cleaned up Cbuf_InsertFile a bit, now uses zone
	allocation instead of hunk, and has a cleaner failure structure
	(resulting in the file being closed if the allocation failed,
	rather than just posting an error and leaving it open)

2002-07-28 09:42  knghtbrd

	* nq/pr_cmds.c: Noticed there is no extension named for existance
	of sv_jumpstep and sv_stepheight yet.  Added one,
	TW_SV_STEPCONTROL.

2002-07-28 04:18  warp

	* qw/qwsv.dsp: Er, the proper fix, sorry.

2002-07-28 04:15  warp

	* qw/qwsv.dsp: And another windows compile fix.

2002-07-28 04:11  knghtbrd

	* nq/common.c: Added commments to a few lines for later...

2002-07-28 04:05  warp

	* qw/qw.dsp: Er, the real fix, sorry.

2002-07-28 04:03  warp

	* src/: base/twilight_base.dsp, renderer/twilight_renderer.dsp:
	Windows compile fix.

2002-07-28 03:32  warp

	* include/model.h, nq/Makefile.am, nq/cl_model.c, nq/gl_rlight.c,
	nq/gl_rsurf.c, qw/Makefile.am, qw/cl_model.c, qw/gl_rlight.c,
	qw/gl_rsurf.c, qw/mdfour.c, src/base/Makefile.am,
	src/base/mdfour.c, src/renderer/Makefile.am,
	src/renderer/mod_brush.c, src/renderer/mod_brush.h,
	src/renderer/surface.c: Minor redesign to reduce memory usage
	slightly. (Only by 30M or so)
	
	Reset the color after drawing the corona.
	
	Oh, and merge the brush model loader.

2002-07-27 09:51  knghtbrd

	* include/common.h, nq/cl_parse.c, nq/common.c, nq/host_cmd.c,
	nq/menu.c, nq/sbar.c, nq/sv_main.c: Cvars added: game_directory,
	game_hipnotic, game_rogue, and game_mission.  These are all hacks
	at the moment.	game_directory is set to whatever you feed -game
	(or to rogue/hipnotic if you specify one of those..)  Setting
	either of these Cvars to true will cause NQ to behave as if you'd
	specified either -rogue or -hipnotic on the cmdline.  game_mission
	controls whether or not the mission pack protocol (which supports
	more weapons/items/etc) is used.  This commit does not fix the
	model corruption, sorry.

2002-07-27 07:01  warp

	* TODO, nq/gl_rmain.c, nq/gl_rsurf.c, nq/render.h, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/render.h: Fix skybox depth drawing, kill
	currententity.

2002-07-27 05:50  knghtbrd

	* src/base/cmd.c: Whitespace - there is some really bizarre stuff
	in here that needs fixing, some of it is even my fault.  Let's
	start by cleaning up the file, though.

2002-07-26 23:48  knghtbrd

	* include/pr_comp.h, nq/host_cmd.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/pr_execprogram.h, nq/progs.h, nq/server.h,
	nq/sv_main.c, qw/pr_cmds.c, qw/pr_edict.c, qw/pr_exec.c,
	qw/progs.h, qw/server.h, qw/sv_ents.c, qw/sv_init.c, qw/sv_phys.c,
	qw/sv_user.c, qw/world.c: Progs tweaking.  Much diff reduction has
	been started and not finished.	This means lots of whitespace
	changes that will probably need changing again just because I don't
	have time to work more on this right now.  Sorry 'bout that.  We
	now support builtin 99, checkextension, in both NQ and QW.  Here's
	the currently supported extension list: DP_QC_CHANGEPITCH,
	DP_QC_ETOS, DP_QC_FINDFLOAT, DP_QC_MINMAXBOUND, DP_QC_RANDOMVEC,
	DP_QC_SINCOSSQRTPOW, DP_QC_TRACEBOX, and DP_REGISTERCVAR.  None of
	these conflict with QW.
	
	Note to anyone working on progs, QW and NQ progs are (or easily can
	be) essentially identical with the exception of QW's string
	handling and the builtin commands.  While not trivial, QW's string
	handling should be backported to NQ for 64 bit sanity anyway. 
	Merging the commands themselves require merging of things like
	edicts.  I don't think we're ready for that quite yet.

2002-07-26 08:45  warp

	* nq/cl_model.c, qw/cl_model.c: Make it work on compilers that
	don't have variable-length automatic arrays, oh what I would give
	for C99 to be /standard/.

2002-07-26 08:33  warp

	* nq/nq.dsp, qw/qw.dsp, src/renderer/twilight_renderer.dsp:
	According to damm this should fix the windows compile.

2002-07-26 08:22  warp

	* configure.in, include/draw.h, include/model.h, include/qtypes.h,
	nq/Makefile.am, nq/cl_ents.c, nq/cl_main.c, nq/cl_model.c,
	nq/cl_parse.c, nq/cl_tent.c, nq/client.h, nq/gl_alias.c,
	nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/menu.c, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c, nq/r_part.c,
	nq/render.h, nq/sbar.c, nq/snd_dma.c, nq/sv_main.c, nq/sys.c,
	nq/vid_sdl.c, nq/world.c, qw/Makefile.am, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_model.c, qw/cl_null.c, qw/cl_parse.c,
	qw/cl_tent.c, qw/client.h, qw/gl_alias.c, qw/gl_draw.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_screen.c,
	qw/gl_warp.c, qw/net_udp.c, qw/pmovetst.c, qw/pr_cmds.c,
	qw/r_part.c, qw/render.h, qw/sv_ents.c, qw/sv_init.c,
	qw/sv_model.c, qw/sv_send.c, qw/sv_user.c, qw/sys.c, qw/vid_sdl.c,
	qw/world.c, src/base/collision.c, src/base/model.c,
	src/base/zone.c, src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/gl_arrays.c, src/renderer/gl_arrays.h,
	src/renderer/gl_info.c, src/renderer/gl_info.h,
	src/renderer/gl_textures.c, src/renderer/gl_textures.h,
	src/renderer/light.h, src/renderer/liquid.c, src/renderer/liquid.h,
	src/renderer/noise_textures.c, src/renderer/sky.c,
	src/renderer/sky.h, src/renderer/surface.c, src/renderer/surface.h,
	src/sound/sound.h, src/sound/target.c: texture_extension_number is
	DEAD DEAD DEAD!
	
	Make a lot of stuff Uint instead of int.
	
	Minor redesign of how we deal with brush models, this changed a few
	little things, like a good chunk of the brush model loader, and a
	small rewrite of most of gl_rsurf.c
	
	gl_warp.c is DEAD! src/renderer/(liquid.[ch]|sky.[ch]|surface.[ch])
	now exists and is used.
	
	Killed the -Wno-unused and fixed the cases of unused params, the
	argument that disables the warnings about params does not EXIST for
	older versions of gcc, and -Wno-unused does not even warn of unused
	variables in the function!!
	
	Slightly tweak how we do the quads in r_part.c
	
	Some diff reduction.

2002-07-22 00:46  knghtbrd

	* nq/sys.c, qw/sv_sys.c, qw/sys.c: Error out if no suitable mkdir
	exists..

2002-07-21 14:25  knghtbrd

	* TODO: Our loadtimes are too long.  This needs fixing, though it's
	not quite a bug per se.

2002-07-21 14:19  knghtbrd

	* nq/cl_model.c, qw/cl_model.c: Made the broken model warning a
	DPrintf.  It bugs users and they can't really fix it anyway.

2002-07-21 14:14  knghtbrd

	* nq/nq.dsp, qw/qw.dsp: Removed conproc.[ch] from nq.dsp.  I hope I
	did this right..  Also noticed that the dsp/dsw files were not
	marked binary.	Fixed.

2002-07-21 13:34  havoc

	* include/twiconfig.h, include/win32config.h, nq/sys.c,
	qw/sv_sys.c, qw/sys.c: changed behavior regarding mkdir/_mkdir, no
	longer uses a macro (which was breaking direct.h in MSVC) in
	*config.h files, Sys_mkdir code conditionally compiles based on
	HAVE_MKDIR and HAVE__MKDIR

2002-07-20 10:38  knghtbrd

	* configure.in: This seems like a good idea..

2002-07-18 23:10  knghtbrd

	* nq/gl_rlight.c, qw/gl_rlight.c: Use VectorTwiddle for setting
	corona verts

2002-07-18 11:11  knghtbrd

	* TODO: A couple more notes for BloodBath

2002-07-18 03:45  knghtbrd

	* nq/console.c, qw/console.c: Whitespace cleanup and diff reduction
	for console code.

2002-07-17 21:44  knghtbrd

	* nq/gl_rlight.c, qw/gl_rlight.c, src/renderer/light.h: Small
	optimization to corona drawing.

2002-07-17 21:20  knghtbrd

	* TODO, nq/Makefile.am, nq/client.h, nq/conproc.c, nq/conproc.h,
	nq/console.c, nq/host.c, nq/sys.c, qw/sv_sys.c: QW/QWSV sys has
	been ported to NQ.  This fixes no input with -dedicated in Linux
	and makes -dedicated in Win32 work like QWSV.  Win32 has lost the
	cmdline options -HFILE, -HPARENT, and -HCLIENT - if anybody in the
	galaxy actually used these for anything, we'll rewrite that
	support.  The Cvar con_logname in NQ is now sys_logname to match
	QW.  NQ's default max players have been bumped to 16 with or
	without -dedicated/-listen, though these parameters can still
	override the default.  NQ now has cls.realtime.  Win32 project
	files need an update.

2002-07-17 11:57  knghtbrd

	* TODO: Big TODO update.  0.2 is just around the corner.  =)

2002-07-17 01:44  knghtbrd

	* nq/r_part.c, nq/render.h, qw/r_part.c, qw/render.h: Removal of
	cone particles..

2002-07-16 23:34  knghtbrd

	* nq/cl_tent.c, qw/cl_tent.c: Yes, this is what was missing.  The
	silly cone particle effect for teleports is dead.  Using the same
	effect I did in NQX and DP - I've held off on this for Twilight
	until we had coronas, but we've got them now.

2002-07-16 23:29  knghtbrd

	* nq/gl_rlight.c, nq/gl_rmain.c, qw/gl_rlight.c, qw/gl_rmain.c: Fix
	the coronas in NQ/QW.  They look nice, but there's something that
	still seems to be missing...

2002-07-16 12:26  knghtbrd

	* nq/gl_rlight.c, nq/gl_rmain.c, qw/gl_rlight.c, qw/gl_rmain.c,
	src/image/image.h, src/renderer/light.h: The old gl_flashblend 1
	effect is dead!  I've waited two years to rip that abomination to
	shreds and have finally had the chance!  Replacing it are coronas,
	which are drawn whether gl_flashblend is on or not, just at
	different brightnesses.  The corona effect looks much better even
	without the dynamic lightmaps.	No Cvar control currently.  Test
	run through the demos showed dismal performance on overkill, but
	removing the corona draw function entirely didn't fix it.  I've
	determined it is therefore not my code that's doing it.  Will
	investigate after I've gotten some sleep.

2002-07-16 09:26  knghtbrd

	* include/common.h, include/win32config.h, nq/snd_dma.c, nq/sys.c,
	qw/sv_sys.c, qw/sys.c, src/base/parm.c: Minor cleanups I've been
	sitting on - I intended to do other cleanups first, but these will
	have to suffice for now.  Cvar _snd_mixahead has had its default
	cut from 0.1 to 0.05 as well.  It makes for more responsive audio
	since we've got the sound painting thread.  This value is likely
	not suitable for systems without multithreading such as some old
	UNIX systems and MacOS Classic, but to my knowledge there is nobody
	even working support for such systems at this time.

2002-07-15 11:55  molivier

	* nq/cl_main.c, nq/cl_parse.c, nq/cl_tent.c, nq/host.c,
	nq/snd_dma.c, qw/cl_main.c, qw/cl_tent.c, qw/menu.c, qw/snd_dma.c:
	Added a few inclusions of stdlib.h (needed for rand() on Win32)

2002-07-15 11:18  molivier

	* twilight.dsw, nq/nq.dsp, qw/qw.dsp, qw/qwsv.dsp,
	src/base/twilight_base.dsp, src/image/twilight_image.dsp,
	src/renderer/twilight_renderer.dsp, src/sound/twilight_sound.dsp:
	Various MSVC files updates: the useless define _MBCS has been
	removed, QWSV is now a console application (thanks Damm), and
	several file lists have been updated

2002-07-09 11:56  eviltypeguy

	* qw/menu.c: Fix options menu so that user can access graphics
	options section

2002-07-09 11:53  eviltypeguy

	* nq/menu.c: Fix options menu so that user can access graphics
	options section again

2002-07-09 11:52  eviltypeguy

	* configure.in: For gcc-2.95.x it's "-Wno-unused", not
	"-Wno-unused-parameter"

2002-07-07 06:46  warp

	* qw/menu.c: Er, how the hell did this even COMPILE!?

2002-07-07 04:33  warp

	* TODO, configure.in, include/bspfile.h, include/common.h,
	include/crc.h, include/mathlib.h, include/model.h,
	include/qtypes.h, include/zone.h, nq/cl_ents.c, nq/cl_model.c,
	nq/common.c, nq/gl_alias.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/host.c, nq/host_cmd.c, nq/menu.c, nq/net.h, nq/net_bsd.c,
	nq/net_dgrm.c, nq/net_main.c, nq/net_udp.c, nq/sbar.c,
	nq/snd_dma.c, nq/sys.c, nq/vid_sdl.c, qw/cl_model.c, qw/common.c,
	qw/gl_alias.c, qw/gl_rsurf.c, qw/gl_screen.c, qw/menu.c, qw/net.h,
	qw/net_chan.c, qw/net_udp.c, qw/pmove.c, qw/pr_cmds.c, qw/sbar.c,
	qw/server.h, qw/snd_dma.c, qw/sv_main.c, qw/sv_sys.c, qw/sys.c,
	qw/vid_sdl.c, src/base/cmd.c, src/base/collision.c, src/base/crc.c,
	src/base/cvar.c, src/base/mathlib.c, src/base/zone.c,
	src/image/pcx.c, src/image/tga.c, src/renderer/dglfuncs.h,
	src/renderer/gl_arrays.h, src/renderer/gl_textures.c,
	src/renderer/noise_textures.c, src/sound/cdmusic.c,
	src/sound/sound.h, src/sound/target.c: Update the TODO file.
	
	Add some flags when we are being bitchy.
	
	Some misc clean ups, converting things to size_t.
	
	Signed->unsigned clean ups.
	
	Kill many of the random unions scattered through the engine which
	just happen to almost exactly match float_int_t.
	
	Removed some fill variables in the model loader, as I'm no longer
	searching for smashing. (Why did I commit those?)
	
	New types, Sint and Uint, signed and unsigned int.
	
	<qualifier> <type> instead of <type> <qualifier> (IE, inline void
	instead of void inline) (This is due to C standards.)
	
	Move things around in gl_alias.c, optimize a little more.
	
	Clean up the float->ub conversion with mod function slightly.
	
	Optimize out some unneeded bits in the lightmap code.
	
	Remove an unused menu option or two.
	
	Kill some of the nastier bits of the NQ network code.
	
	Rewrite the time tracking code to deal with reality better.  (Kills
	twibugs_qwsv_time_jump)
	
	Don't draw spectators from the QW scoreboard in the minihud.
	
	Kill random unused/unneeded cruft.
	
	Clean up Q_sqrt.
	
	Kill unused math funcs that just mirror the #defines.
	
	glTexParameterf -> glTexParameteri

2002-07-06 22:41  warp

	* include/model.h, include/qtypes.h, include/zone.h,
	nq/Makefile.am, nq/gl_alias.c, nq/gl_rmain.c, nq/render.h,
	nq/vid_sdl.c, qw/Makefile.am, qw/gl_alias.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/render.h, qw/skin.c, qw/vid_sdl.c,
	src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/gl_arrays.c, src/renderer/gl_arrays.h,
	src/renderer/gl_info.c, src/renderer/gl_info.h,
	src/renderer/gl_textures.c: A small little commit.
	
	Some alias model changes, split out into gl_alias.c in qw and nq.
	
	Moved the gl vertex array stuff into src/renderer/gl_arrays.[ch].
	
	qtypes.h now includes stdio.h for things like NULL.
	
	zone.h now includes qtypes.h, instead of blindly believing that
	whatever includes it will include that too.
	
	Moved stuff from vid_sdl.c to src/renderer/gl_info.[ch], this
	includes the extension checking and quirks.
	
	Taught the engine about GL_EXT_secondary_color, if it exists we
	also have a set of secondary color arrays.
	
	Taught the engine about GL_NV_register_combiners, and wrote an
	alias model renderer which uses it if it and GL_EXT_secondary_color
	are available.
	
	For QW skins, give more details about bad skins, and shrink the
	'required' skin size by 1 pixel in both directions.
	
	For the skin parsing clean things up a little bit.

2002-07-06 19:25  knghtbrd

	* nq/cl_model.c, nq/cl_parse.c, nq/gl_draw.c, nq/gl_rlight.c,
	nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_screen.c, nq/gl_warp.c,
	nq/menu.c, nq/r_explosion.c, nq/r_part.c, nq/render.h,
	nq/vid_sdl.c, qw/cl_ents.c, qw/cl_model.c, qw/cl_parse.c,
	qw/gl_draw.c, qw/gl_ngraph.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/menu.c,
	qw/r_explosion.c, qw/r_part.c, qw/render.h, qw/skin.c,
	qw/vid_sdl.c, src/renderer/Makefile.am, src/renderer/glquake.h:
	glquake.h is dead, but its legacy lives on!  In order to start
	merging the renderer, we need to be able to include the prototypes,
	which were mostly in glquake.h.  Problem is, these all use parts of
	render.h which was not even a little bit common.  As a result,
	glquake.h is now part of render.h and things that are common should
	move to src/renderer/whatever.h as needed.

2002-07-06 04:33  knghtbrd

	* nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_warp.c, src/renderer/glquake.h: entitytest.bsp
	now works as designed in Twilight.  This means that you can now
	have sky polygons in a bmodel with a skybox.  Why anybody would do
	something that terribly wrong, I can't guess.  But you can do it,
	and it will work just like it would in software Quake - except that
	software Quake had no skyboxes, of course.  =)

2002-07-05 22:58  knghtbrd

	* nq/gl_rsurf.c, nq/gl_warp.c, qw/gl_rsurf.c, qw/gl_warp.c,
	src/renderer/glquake.h: Fix for entitytest - Quake sky in a brush
	models was moving with a local transform rather than with the
	world.	This doesn't fix a non-quake sky, but I'm working on that
	one.

2002-07-05 21:43  knghtbrd

	* include/model.h, nq/cl_model.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/host.c, nq/render.h, qw/cl_main.c, qw/cl_model.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_warp.c, qw/render.h: Stuff
	already done in nqx: offsets[] is gone from texture_t.	Maps with
	bad textures (or no textures) load properly.  r_notexture_mip is
	gone, replaced with r_notexture and r_notexture_water, and
	lightmaps behave if they're provided.  The bmodel draw's special
	case for rotated models has been nuked, the code is simpler and
	correct now.  As I said, I rock!  =)

2002-07-04 22:59  knghtbrd

	* nq/cl_model.c, qw/cl_model.c: Renamed mt in Mod_LoadTextures to
	dmiptexture for sanity.

2002-07-04 21:39  knghtbrd

	* include/model.h, nq/cl_model.c, qw/cl_model.c: Got rid of
	mtexinfo_t's mipadjust member, it won't be missed without a
	software renderer.  =)

2002-07-04 17:38  knghtbrd

	* nq/gl_rmain.c, nq/host.c, nq/keys.c, qw/cl_main.c, qw/gl_rmain.c,
	qw/keys.c: R_InitTextures is no longer really required for
	dedicated servers, moved it to be called from R_Init.

2002-06-29 14:39  rain

	* bootstrap, nq/sbar.c, qw/sbar.c: Make bootstrap silent as
	originally intended, fix long-standing ammo-count-drawing bug
	(blank spaces were being drawn as (char)2 in the quake font instead
	of an actual space, which looks all bad)

2002-06-29 11:52  knghtbrd

	* .cvsignore: Added automake 1.6 droppings to .cvsignore.

2002-06-29 11:51  knghtbrd

	* nq/pr_cmds.c, nq/screen.h, qw/screen.h: Diff reduction in
	screen.h and whitespace cleanups for nq/pr_cmds.c.

2002-06-28 06:45  knghtbrd

	* src/base/cvar.c: Applied bugfix from Ben Winslow to Cvar_Get -
	Cvars were not getting their flags set before calling the callback
	function.  Also reversed the logic of the function for some minor
	extra clarity.

2002-06-24 11:35  molivier

	* twilight.dsw, qw/qwsv.dsp: Updated a couple of MSVC project files

2002-06-23 09:48  knghtbrd

	* configure.in: Oops, this needs undoing.  My bad.

2002-06-13 10:26  knghtbrd

	* bootstrap, configure.in: Fixed an automake1.6 warning.  Also,
	made bootstrap work with systems which provide automake-1.6 but not
	automake itself (this happens currently on a Debian system if you
	try to install both automake1.6 and its docs..) The scripts still
	work with older versions of automake, but if you happen to have a
	binary named automake-1.6, we'll use it instead.  So far as I know,
	the only system fucked up in this gravely retarded manner is
	Debian, at the incessant whining and bitching about compatibility
	of its more clueless developers.  In any event, we'll prefer 1.6's
	versioned binaries if you've got them.

2002-06-13 03:40  digiman

	* nq/cl_model.c, nq/gl_rlight.c, nq/gl_rsurf.c, qw/cl_model.c,
	qw/gl_rlight.c, qw/gl_rsurf.c: Optimize R_MarkLights*,
	R_AddDynamicLights, R_StainNode for axial-planes case.	Also use
	faces' precalculated maximum s and t coords more extensively.

2002-06-13 02:00  digiman

	* src/base/collision.c: Include "twiconfig.h"

2002-06-12 04:30  mercury

	* nq/cl_model.c, nq/gl_draw.c, nq/gl_rmain.c, nq/r_explosion.c,
	qw/cl_main.c, qw/cl_model.c, qw/gl_draw.c, qw/gl_rmain.c,
	qw/r_explosion.c, src/renderer/gl_textures.c,
	src/renderer/glquake.h: MAX_VERTEX_ARRAYS and MAX_VERTEX_INDICES
	are now variables controlled by ROM cvars, gl_iarray_size,
	gl_varray_size.
	
	Optimize the drawing of alias models a bit.
	
	Killed unused cvar entlatency.
	
	Killed use of local variable instead of global v_array.
	
	Interduced TWI_FtoUBMod, currently used for alias models.

2002-06-11 10:02  molivier

	* qw/qwsv.dsp: MSVC project file for qwsv is back

2002-06-10 17:36  mercury

	* nq/vid_sdl.c, qw/sbar.c, qw/vid_sdl.c: Interduced a place to put
	driver quirks.	Gave nVidia a quirk to disable CVA support. (Fixed
	the player color problem.)
	
	Allow spectators to be seen in the scores for QW. (Not perfect
	yet.)

2002-06-10 13:09  mercury

	* include/quakedef.h, nq/cl_model.c, nq/gl_draw.c, qw/cl_model.c,
	qw/gl_draw.c: Make number of fullbrights a define in quakedef.h
	Fixes twibugs_fbcolors

2002-06-10 12:54  mercury

	* include/win32config.h: We now use DYNGLENTRY instead of OGLDECL. 
	Hopefully windows will work properly again. *thwaps Knghtbrd*

2002-06-10 12:51  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: Also handle -bpp 16.  On start up and
	in gl_info give details about the video mode we have.

2002-06-08 13:03  eviltypeguy

	* nq/sys.c, qw/sv_sys.c: Be extra clean about the array we pass in
	for the backtrace

2002-06-08 12:38  eviltypeguy

	* nq/client.h, nq/menu.c, qw/client.h, qw/menu.c: Add mouse input
	smoothing to menus and fix graphics options menu breakage from last
	commit

2002-06-08 12:31  eviltypeguy

	* nq/cl_input.c, nq/menu.c, qw/cl_input.c, qw/menu.c: Add mouse
	look to options menu, and make mouse look active by default

2002-06-08 08:22  mercury

	* include/pmove.h, nq/gl_rsurf.c, qw/cl_cam.c, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_pred.c, qw/client.h, qw/gl_rsurf.c, qw/pmove.c,
	qw/pmovetst.c, qw/sv_user.c: Reworked the QW client side prediction
	code to be faster.  Also optimized GL_BuildLightmap a bit.

2002-06-08 07:49  mercury

	* qw/: cl_null.c, sv_sys.c, sys.c: Bug fixes, compiles now.  And
	does not crash with -condebug.

2002-06-08 07:17  knghtbrd

	* qw/: .cvsignore, world.c: Here's world.c, sorry all!

2002-06-08 03:01  knghtbrd

	* nq/pr_cmds.c, qw/pr_cmds.c: Make PF_Find do something sane if
	passed "".

2002-06-08 02:48  knghtbrd

	* nq/pr_exec.c: Don't Sys_Error when QuakeC dies - it does so too
	damned often, any mod developer will tell you that (just before he
	has you shot..)

2002-06-08 02:23  knghtbrd

	* Makefile.am, configure.in, include/sys.h, qw/Makefile.am,
	qw/cl_null.c, qw/common.c, qw/console.c, qw/net.h, qw/net_chan.c,
	qw/net_udp.c, qw/pr_cmds.c, qw/pr_edict.c, qw/pr_exec.c,
	qw/progdefs.h, qw/progs.h, qw/protocol.h, qw/server.h,
	qw/sv_ccmds.c, qw/sv_ents.c, qw/sv_init.c, qw/sv_main.c,
	qw/sv_model.c, qw/sv_move.c, qw/sv_nchan.c, qw/sv_null.c,
	qw/sv_phys.c, qw/sv_send.c, qw/sv_sys.c, qw/sv_user.c, qw/sys.c,
	qw/world.h: Oh my god, they killed qw-server!  (YOU BASTARDS!)
	
	Yes, that's right, qw-server is dead.  qw now builds both a client
	and a server.  The client does not have an internal server yet, but
	the framework for doing that is laid in this commit.  Cvar
	con_logname has been renamed to sys_logname, but its usage is
	unchanged.  include/sys.h now includes a few defines and a
	prototype for the type of game that's currently running, but NQ
	doesn't use it yet.

2002-06-06 10:45  knghtbrd

	* Makefile.am, nq/Makefile.am, qw/Makefile.am: This should fix
	building --without-clients for QW/QWSV.

2002-06-06 02:45  knghtbrd

	* nq/pr_edict.c: This fixes twibugs_nq_deadafterload, Shawn's bug. 
	PR_UglyValueString had been modified to make the output pretty. 
	The loader doesn't do pretty.  At all.	Made the same changes in QW
	for diff reduction purposes.

2002-06-06 02:30  knghtbrd

	* src/renderer/dyngl.c: Make the error function passed to
	DynGL_GetFunctions optional.  This is for DynGL 3's independance
	from Twilight.

2002-06-06 02:14  knghtbrd

	* include/common.h, nq/common.c, nq/host.c, nq/host_cmd.c,
	nq/net_dgrm.c, nq/server.h, nq/sv_phys.c, nq/vid_sdl.c,
	qw/common.c, qw/vid_sdl.c, src/renderer/dyngl.c,
	src/renderer/dyngl.h: DynGL now reports extension functions it
	can't find with Com_Printf.  Changed the format string of
	Com_Printf and friends to be const, and cleaned up the fallout of
	doing so.  {nq,qw}/vid_sdl.c have been reformatted in the style
	used elswehere in the engine.

2002-06-05 19:14  molivier

	* nq/vid_sdl.c, qw/vid_sdl.c: Make the SDL_PollEvent test smarter
	to work around SDL 1.2.4 bug; it should fix the NQ dedicated server

2002-06-05 17:32  molivier

	* nq/host.c: No need to waste the CPU time if the game already runs
	too fast.

2002-06-05 04:36  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: Apply a possible fix for broken
	OpenGL drivers.  If you don't specify a -bpp 24 or greater, we'll
	ask OpenGL for 111 (or better) RGB, just like GLQuake did.  This
	normally does what you want, so it's fine.

2002-06-04 21:18  knghtbrd

	* nq/: sv_main.c, sv_phys.c, sv_user.c: Changes for NQ.  QW may
	follow, but because of the differences in protocols, it won't be
	easily ported.	Added Cvars sv_jumpstep (0) and sv_stepheight (18)
	for BloodBath.	Set sv_jumpstep to 1 if you want to be able to
	climb stairs while jumping.  Quake2 and beyond have this, as does
	any engine which has implemented the hacky QW fly movement (we
	haven't, so it doesn't apply to us..)
	
	Modified the NQ physics a bit to make objects that would normally
	have fallen outside the map ... not do so.  It's still possible to
	_get_ outside the map through engine or QC bugs, but when that
	happens to a player, he's given temporary MOVETYPE_NOCLIP.  This
	will allow him to at least get back into the map, though it's
	possible for the unscrupulous to use it as a cheat.  Of course,
	they have to find such a bug and exploit it first.  =)
	
	NQ now has SV_FreeMove, a function which mimics the control of
	water movement without the friction, accelleration, etc.  If you
	look down and press forward, you'll actually move down.  This is
	now used for NOCLIP and FLY movements.	Also, while flying you will
	automatically climb stairs as if sv_jumpstep were enabled.

2002-06-04 18:28  knghtbrd

	* include/model.h, src/base/collision.c, src/base/model.c: Put
	Collision_RoundUpToHullSize back into collision.c (we don't use it
	yet though) and made the rest of the model code actually support
	it.  Moved the traceline functions to the end of that file
	(otherwise diffs get weird vs. the original in DP), and generally
	cleaned up the formatting to be more consistent with the rest of
	the engine.

2002-06-04 18:19  knghtbrd

	* nq/world.c: Bit of a cleanup to world.c in NQ - more error
	checking this way.

2002-06-04 17:02  knghtbrd

	* src/base/collision.c: *ahem*	Zeph, you need to be fwopped.  If
	allsolid is not set properly, the collision code has no clue
	whether or not we start out in solid, this causes it to joyfully
	let you ... fall out of a map.	This is not good.

2002-06-04 16:51  knghtbrd

	* nq/: world.c, world.h: SV_PointContents has been gutted. 
	SV_TruePointContents was never used and would be currently
	identical to its "fake" brother, nuked.  This does not fix the
	fall-out-of-map bug, but it wasn't expected to either. 
	SV_HullPointContents in NQ is unneeded as well, it's gone.  Still
	used in QW quite a bit, but I have more important things to worry
	about at the moment than changing that.

2002-06-04 15:41  knghtbrd

	* Makefile.am, autogen.sh, bootstrap: Someone complained about
	this: autogen.sh is supposed to run ./configure for you apparently
	because this is "standard"...  bootstrap is not supposed to. 
	Frankly the idea of either one doing so is repulsive to me, but to
	deal with the complaints, the file has been renamed.  Now stop
	whining.  Automatically running ./configure is unwise, mmkay?

2002-06-03 17:00  molivier

	* nq/nq.dsp, qw/qw.dsp, src/base/collision.c,
	src/base/twilight_base.dsp: Updated a few DSP files. Fixed a
	warning under MSVC

2002-06-03 16:00  mercury

	* configure.in, include/collision.h, include/mathlib.h,
	include/pmove.h, include/qtypes.h, nq/chase.c, nq/cl_main.c,
	nq/cl_model.c, nq/cl_parse.c, nq/cl_tent.c, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/gl_warp.c, nq/host.c, nq/menu.c, nq/pr_cmds.c, nq/r_explosion.c,
	nq/r_part.c, nq/sbar.c, nq/snd_dma.c, nq/sv_move.c, nq/sv_phys.c,
	nq/vid_sdl.c, nq/view.c, nq/world.c, nq/world.h, qw/cl_cam.c,
	qw/cl_ents.c, qw/cl_model.c, qw/cl_parse.c, qw/cl_pred.c,
	qw/cl_tent.c, qw/client.h, qw/gl_draw.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/menu.c, qw/pmove.c, qw/pmovetst.c, qw/r_explosion.c,
	qw/r_part.c, qw/sbar.c, qw/snd_dma.c, qw/vid_sdl.c, qw/view.c,
	src/base/Makefile.am, src/base/collision.c, src/base/mathlib.c,
	src/renderer/glquake.h: Just a small little commit.
	
	Or, alternatively, what happens when I don't commit before moving
	on to the next task.
	
	Make it safe to use gcc 3.1! (Even with -march=athlon!!)
	
	Steal the collision code from DP and use it for both NQ and QW. 
	(With several modifications.)
	
	Killed several functions from mathlib which did nothing but call
	the C counterparts, this is a speed gain.
	
	vec_t is now based on the GL types.  dvec_t and friends for double
	vectors, bvec_t for unsigned byte vectors.
	
	Union type float_int_t for when we have something treated as both
	an int and a float. (For instance, Q_RSqrt) (Needed for gcc 3.1)
	
	Replace some users of malloc with Zone_Alloc.
	
	We now use unsigned bytes for vertex arrays instead of floats.	(We
	also bound them properly, which should kill twibugs_evilflames)
	
	Don't draw stainmaps either if they are disabled.
	
	Some diff reduction between QW and NQ.
	
	Optimize particles to properly die, speed up and bug fix in one!
	
	Some sbar optimizations.
	
	In several places in qw and qw-server now use entity pointers
	instead of indices into an array of entities, for the collision
	code stuff.
	
	Probably a few other things too, but this is the big stuff.

2002-06-02 16:18  knghtbrd

	* nq/gl_warp.c, qw/gl_warp.c: How this got left behind is anybody's
	guess.	Killed.

2002-06-02 04:18  knghtbrd

	* nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_warp.c: You can't see the world through a
	skybox anymore.  No, not even on broken maps.  It's still possible
	to create things that break with skyboxes (see entitytest.bsp if
	you've got it), but this will have to do for now.  I'm going to
	bed.

2002-06-02 00:08  knghtbrd

	* nq/view.c: This got left behind..

2002-06-01 23:13  knghtbrd

	* nq/Makefile.am, nq/gl_rmain.c, nq/gl_rmisc.c, qw/Makefile.am,
	qw/gl_rmain.c, qw/gl_rmisc.c: gl_rmisc.c has been condemned.  The
	homeless bits of renderer which have been squatting there will have
	to find real homes now.  They're being allowed to stay with
	gl_rmain while they look for a better place, but they're not
	allowed to stay long.

2002-06-01 22:19  knghtbrd

	* nq/gl_rmain.c, nq/vid_sdl.c, qw/gl_rmain.c, qw/vid_sdl.c,
	src/renderer/glquake.h: gl_ztrick is gone.  Its loss shall not be
	mourned, except by people with Voodoo1's.  The gldepth{min,max}
	which came with it also died today.

2002-06-01 20:12  knghtbrd

	* nq/gl_screen.c, qw/gl_screen.c: Protect users from themselves. 
	Bound fov.

2002-06-01 20:05  knghtbrd

	* include/mathlib.h, nq/cl_main.c, nq/client.h, nq/gl_screen.c,
	nq/vid_sdl.c, nq/view.c, qw/cl_main.c, qw/client.h, qw/gl_screen.c,
	qw/vid_sdl.c, qw/view.c: New Cvar, v_zoom, defaults to 1.0.  Can
	scale down to 0.05 and up to 1.50 if you like.	Adjusts both fov
	and sensitivity, without altering the Cvars for either.  This makes
	it possible to get fovs which arguably are not very playable.  This
	is your problem.

2002-06-01 17:34  knghtbrd

	* include/vid.h, nq/cl_parse.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/render.h, nq/sbar.c, nq/vid_sdl.c,
	qw/cl_parse.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_screen.c,
	qw/render.h, qw/sbar.c, qw/vid_sdl.c: r_waterwarp?  Gone. 
	r_refdef.vrect?  Gone.	MYgluPerspective?  Gone. 
	vid.recalc_refdef?  Gone.  We now recalculate the refdef every
	frame, this won't hurt anything and is needed to properly handle
	other effects.	Like the replacement for waterwarp, which looks
	surprisingly similar to an effect in DarkPlaces.  Imagine that.

2002-05-29 01:24  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Moved the lightmap shift to a
	global variable.  It should be possible to make gl_colorlights a
	non-ROM Cvar as well as add a Cvar to control texenv_combine, but I
	didn't do that here.

2002-05-29 00:20  knghtbrd

	* nq/sys.c, nq/vid_sdl.c, qw/sys.c: Ported the QW backtrace code to
	NQ and QWSV.  This only works if you have execinfo.h (which means
	Linux, possibly other UNIXes as well), and it's certainly not
	TalkBack, but it is better than nothing.  If someone knows how to
	do similar in Win32, I'll add support.

2002-05-23 10:15  molivier

	* nq/gl_rsurf.c, qw/gl_rsurf.c, src/renderer/twilight_renderer.dsp:
	MSVC needs stdlib.h to get rand() prototype. Updated
	Twilight_renderer DSP file

2002-05-23 10:11  molivier

	* src/renderer/dyngl.c: Fixed a couple of mistakes with extensions
	lists in DynGL

2002-05-21 05:47  knghtbrd

	* configure.in: Fix for DynGL 3 and MingW builds..  Oops.

2002-05-20 12:54  mercury

	* nq/net_udp.c: Sanity check in case the system does not have a
	valid hostname.

2002-05-16 14:09  knghtbrd

	* src/renderer/: dglfuncs.h, dyngl.c: Added support for
	GL_EXT_draw_range_elements.

2002-05-16 13:22  knghtbrd

	* include/qtypes.h, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/vid_sdl.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_warp.c, qw/vid_sdl.c,
	src/renderer/Makefile.am, src/renderer/dglfuncs.h,
	src/renderer/dyngl.c, src/renderer/dyngl.h, src/renderer/dynogl.c,
	src/renderer/dynogl.h, src/renderer/gl_textures.c,
	src/renderer/glquake.h, src/renderer/noise_textures.c,
	src/renderer/oglfuncs.h, src/renderer/opengl.h,
	src/renderer/opengl_ext.h: DynGL, generation 3.  The whole Dynamic
	OpenGL system is now three files which are literally transplantable
	to any SDL application.  I still need to gut CheckExtensions since
	it no longer needs to check that the extensions actually work. 
	That can wait though.  I'm a little worried about how I am doing
	DYNGL_WANT's alt function since I don't know for certain I got it
	right for Win32.  Please test and let me know if it's borked.

2002-05-16 12:02  knghtbrd

	* tools/getglfunc.pl: Let's make this change right now...

2002-05-16 09:50  mercury

	* qw/cl_main.c: Fix the command packet problem, I think.

2002-05-16 09:38  mercury

	* include/common.h: Forgot to commit the header with the new
	function.

2002-05-16 09:35  mercury

	* qw/: common.c, cl_main.c: Hopefully print out a dump of the
	command packet, for debugging.	(Might not work, can't test here.)

2002-05-16 06:03  mercury

	* qw/cl_main.c: Some debugging data for command packets.

2002-05-15 07:05  lordhavoc

	* TODO: added notes for Nehahra

2002-05-15 06:44  lordhavoc

	* TODO: added some BloodBath notes

2002-05-15 02:14  knghtbrd

	* AUTHORS: Add John Popplewell to AUTHORS for the win32 message
	queue flushing, also added a little note about what AUTHORS
	contains in that file.

2002-05-15 00:53  knghtbrd

	* nq/sys.c, qw/sys.c: Win32 is supposed to get a message box on
	errors, but this does not happen frequently.  The reason this
	happens is that there may be other pending messages in the Win32
	message queue which we need to pass along to someone else to
	handle.  The fix is a little hackish as the code stands now, but I
	will improve it when I build this functionality as a PD snippet for
	other SDL programmers to use.

2002-05-14 12:44  lordhavoc

	* src/renderer/glquake.h: changed MAX_VERTEX_ARRAYS and
	MAX_VERTEX_INDICES to both be 1024, this fixes crashs on 3DFX (in
	windows) in intense fights involving lots of explosions/particles
	being batch merged to fill the old limits (1024 and 4096
	respectively), which were way too high for 3DFX

2002-05-14 10:49  lordhavoc

	* nq/nq.dsp, qw/pmovetst.c, qw/qw.dsp: updated MSVC 6 project files
	to match changed files removed include for client.h from pmovetst.c
	(was not needed)

2002-05-14 10:01  knghtbrd

	* tools/: cvs2cl.pl, getglfunc.pl: Some systems need a space after
	the #! because they treat it as a sort of signature to see "#!
	/bin/sh"..  Don't recall which ones and I doubt highly that any of
	them will be using our stuff, but it's a habit I've gotten into. 
	Also, Zeph's script is SO short, I reformatted it for a tabstop and
	shiftwidth of 4.

2002-05-14 09:52  knghtbrd

	* tools/: Makefile.am, cvs2cl.pl, getglfunc.pl: Cleaned up the
	tagging on the perl tools, added vi and vim tags, and made sure
	getglfunc is in the stuff generated by make dist.

2002-05-14 09:37  mercury

	* qw/cl_main.c: Er, oops.  This should fix the gamespy problem.

2002-05-14 09:09  mercury

	* tools/getglfunc.pl: # USAGE: ./getglfunc.pl <path to gl.h> <path
	to glext.h> <function> # Simple enough.
	
	Finds the prototype for the function in question, prints it in the
	proper format for the dynamic opengl stuff.
	
	No, it is not clean, but I'm sick and this was a quick script
	Knghtbrd wanted.
	
	Requires the C::Scan perl module, available from CPAN and as a
	Debian package.

2002-05-14 09:02  knghtbrd

	* nq/gl_screen.c, qw/gl_screen.c: This fixes twibugs_sbar - we no
	longer change the gun angle depending on the type of status bar
	displayed.  This means your gun is a little lower than it used to
	be, but for some reason nobody is complaining about this, so I
	assume that unless someone does the old glViewport hack is quite
	safely gone forever.

2002-05-14 03:17  knghtbrd

	* include/pmove.h, qw/Makefile.am, qw/pmovetst.c, qw/r_explosion.c,
	qw/r_part.c: Renoved the pmove stuff from qw-server since it's
	common to both qw targets now (this is more merging progress..) 
	This required changing how the TraceLine function works.  It's a
	little hacky but it will do just fine for now.

2002-05-02 19:50  knghtbrd

	* twilight.dsw: Make sure this file is treated as binary by CVS.

2002-05-02 13:10  molivier

	* twilight.dsw, nq/nq.dsp, qw/qw.dsp, src/base/twilight_base.dsp:
	Updated a bunch of MSVC files

2002-05-02 11:20  knghtbrd

	* src/renderer/oglfuncs.h: Added missing undef

2002-05-02 10:57  knghtbrd

	* nq/gl_rmain.c, qw/gl_rmain.c, src/renderer/glquake.h,
	src/renderer/oglfuncs.h: Removed the unused matrix variables - this
	drops us down to 50 OpenGL functions and counting.

2002-05-02 10:51  knghtbrd

	* qw/cl_main.c: Removed unused header.

2002-05-02 10:39  molivier

	* qw/net_udp.c: Fixed NET_IsLocalAddress in QW

2002-05-02 06:08  knghtbrd

	* qw/cl_null.c: This file got lost along the way...

2002-05-01 19:12  knghtbrd

	* include/host.h, nq/Makefile.am, nq/common.c, qw/Makefile.am,
	qw/net_chan.c, qw/net_udp.c: Removed the target-specific define
	symbol from the auto* setup, same change needs to be applied for
	MSVC.  A little more merging as well, qw-server now gets its mdfour
	from qw.

2002-05-01 16:29  knghtbrd

	* include/draw.h, nq/cl_main.c, nq/r_part.c, qw/Makefile.am,
	qw/common.c, qw/r_part.c: Added qw/cl_null.c, serves the same
	purpose as sv_null does.  Reduced qw and qw-server's common.c down
	to just the real differences.  Fixed the Scrag snot trail (it was
	looking like a hell-knight spike, that had to be fixed..) Removed
	NQ's resetting of a dlight color when it clears the dlight, wtf is
	that all about?  You alloc a dlight, you set its color, end of
	discussion!

2002-05-01 15:18  mercury

	* include/model.h, include/qtypes.h, nq/cl_model.c, nq/gl_rmain.c,
	nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_warp.c, nq/vid_sdl.c,
	qw/cl_model.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/vid_sdl.c, src/renderer/glquake.h,
	src/renderer/oglfuncs.h, src/renderer/opengl.h: Move the GL
	typedefs from opengl.h to qtypes.h.
	
	Reworked glpoly_t.
	
	Now render skys, water, and walls with vertex arrays exclusively.
	
	Check to make sure that we don't get absurd numbers of vertices in
	a wall poly.
	
	Remove nVidia kludge in alias model rendering.
	
	Texcoord array for the second TMU if we are using mtex.
	
	Give the vertex arrays their own memory zone.
	
	We no longer use glVertex3f, glMultiTexCoord2fARB, or glTexCoord2f.
	
	We now use glClientActiveTextureARB.
	
	FIXME: For unknown reasons this commit is a very slight speed gain
	for the mtex case, and a ~4% speed LOSS for the non-mtex case.

2002-04-30 15:06  mercury

	* src/base/locs.c: Remove some debugging Com_Printfs.

2002-04-30 13:27  knghtbrd

	* include/draw.h, nq/cl_parse.c, nq/client.h, nq/gl_draw.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/gl_warp.c, nq/r_part.c, nq/render.h, nq/sbar.c, nq/vid_sdl.c,
	qw/cl_parse.c, qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/r_part.c,
	qw/render.h, qw/sbar.c, qw/vid_sdl.c, src/renderer/glquake.h,
	src/renderer/oglfuncs.h: We only use 4f and 4fv of the glColor
	functions now.	Added whitev, a 4 float vector set to all 1.  Also
	made the entity colormap use a 4 float vector.

2002-04-30 13:11  mercury

	* include/teamplay.h, nq/teamplay.c, qw/teamplay.c: Oops, forgot to
	actually do the cvs add on these. *blush*

2002-04-30 12:45  mercury

	* include/locs.h, nq/Makefile.am, nq/cl_main.c, nq/cl_parse.c,
	nq/gl_rmain.c, qw/Makefile.am, qw/cl_main.c, qw/cl_parse.c,
	qw/client.h, qw/gl_rmain.c, src/base/Makefile.am, src/base/locs.c:
	{nq|qw}/gl_rmain.c: Fix order of CVAs locking/unlocking.  qw:
	Reworked connectionless packet handling a little bit.
	
	Oh, and the location stuff.  locs.[ch] is written from scratch by
	me.
	
	The teamplay.c is partly from QF newtree, edited.  (Origionally
	partly mine and Knghtbrds, other members of QF as well.)
	
	The location editing parts are UNTESTED, please test and report
	success or destroying your entire drive.

2002-04-30 10:51  knghtbrd

	* include/vid.h: Gutted vid.h a bit.  Crap we no longer needed.

2002-04-30 08:31  lordhavoc

	* nq/nq.dsp, qw/qw.dsp: removed gl_poly.c added info.c to qw and
	qwsv, added sv_null.c to qw  (according to knghtbrd, info.c belongs
	in it's own static library, but I don't want to do that until it is
	completely decided)

2002-04-30 06:43  knghtbrd

	* src/renderer/oglfuncs.h: The OpenGL function audit - ONLY the
	functions we use have pointers now, and we should honestly use less
	still.

2002-04-30 06:42  knghtbrd

	* src/renderer/glquake.h: gl_poly is not used anymore - why it test
	compiled without me removing this I can't imagine, but hey.

2002-04-30 05:12  knghtbrd

	* nq/Makefile.am, nq/gl_poly.c, nq/gl_poly.h, qw/Makefile.am,
	qw/gl_poly.c, qw/gl_poly.h: Removal of the (now unused) gl_poly
	system.

2002-04-29 13:44  knghtbrd

	* doc/cvar.txt, include/common.h, include/cvar.h, include/info.h,
	qw/Makefile.am, qw/client.h, qw/common.c, qw/info.c, qw/sv_null.c:
	A little work in the direction of qw/qw-server merging.  Basically,
	I pulled the info stuff out of common.c, merged it into qw/info.c,
	and did what was necessary to make it so seperate files were not
	needed for each.  This introduces $(top_builddir)/qw/libqwsv.a,
	which is a total hackjob which needs to exist just until qw-server/
	is empty.  Also created a new file for the qw client, sv_null.c,
	which is intended to contain a stub server.  There's also a doc fix
	for the Cvar system missing from the last commit.

2002-04-29 12:26  knghtbrd

	* nq/: host.c, net_dgrm.c, sv_main.c: CVAR_SEVERINFO is more
	appropriate than USERINFO for NQ's info vars..

2002-04-29 10:33  molivier

	* nq/cl_model.c, qw/cl_model.c, qw/pmove.c: Someone forgot to
	increment pframetype while reading the frames in
	Mod_LoadAliasModel. Also, both copies of pmove.c are in synch now

2002-04-29 07:20  knghtbrd

	* configure.in: Solaris doesn't have a useful id.  Figures.  ;) 
	I'm not sure this check is exactly useful for anything anymore.

2002-04-29 07:08  knghtbrd

	* autogen.sh: Some people's automake can't handle --copy for some
	reason..

2002-04-29 07:05  knghtbrd

	* acconfig.h, configure.in: Killed acconfig.h completely.  autoconf
	2.5x should have nothing to whine about now.

2002-04-29 06:26  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: i_keypadmode should be saved to
	config.cfg

2002-04-29 04:43  knghtbrd

	* nq/pr_edict.c: *WHACK!*  Take that, foul gcc warning!

2002-04-29 04:41  knghtbrd

	* nq/pr_edict.c: This is what happens when you don't notice a
	failed hunk.  Fixed.

2002-04-29 01:12  knghtbrd

	* nq/pr_edict.c: Fixed a savegame problem, patch from DarkPlaces.

2002-04-28 08:08  knghtbrd

	* TODO, acconfig.h, include/twiconfig.h, include/win32config.h: The
	inline crap in twiconfig.h belonged in win32config.h.  Moved it
	accordingly.  Also removed @TOP@ and @BOTTOM@ from acconfig.h. 
	They were there so the generated config.h would get an #ifndef
	__CONFIG_H in it.  However, as of autoconf 2.5x, using either will
	cause autoconf to scream loudly at the poor user about how they're
	doing something very bad.  It's against the tenets of GNU to
	attempt to overcome deficiencies in GNU software using other
	features of that software.  Now let's all be good little GNUbies
	and obey the commandments.  Now if you will all open your hymnals
	to page 1337, Richard has agreed to lead us in song:  o/~ Join us
	now and free the software o/~

2002-04-26 11:44  lordhavoc

	* nq/nq.dsp: added cl_ents.c

2002-04-26 09:07  knghtbrd

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/gl_rsurf.c, src/renderer/glquake.h: New Cvar,
	r_stainmaps, defaults to 1.  Set it to 0 and your lightmaps will
	not be stained.  Note that this will not clean up stains already
	made.  You will need to reload the map or reconnect to the server
	for that.

2002-04-25 14:18  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: *ahem*	I started porting this over
	with lights done one way, then decided to change that.	Never fixed
	the stuff I already ported to work with it though.  This fixes
	white lighting.

2002-04-25 14:13  knghtbrd

	* src/base/cvar.c: Fix for sizeup/sizedown - Cvar_Slide was broken.

2002-04-25 11:16  knghtbrd

	* nq/gl_rmain.c, qw/gl_rmain.c: Fixed the model dlight scaling -
	Twilight still uses 0-200, yuck.

2002-04-25 11:10  knghtbrd

	* nq/gl_rmain.c, qw/cl_tent.c, qw/gl_rmain.c: More minor tweaks to
	the, er, lighting.  =)

2002-04-25 10:32  knghtbrd

	* TODO, include/model.h, nq/Makefile.am, nq/cl_ents.c,
	nq/cl_main.c, nq/cl_model.c, nq/cl_tent.c, nq/client.h,
	nq/gl_rlight.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/r_part.c,
	nq/render.h, nq/view.c, qw/cl_ents.c, qw/cl_model.c, qw/cl_tent.c,
	qw/client.h, qw/gl_rlight.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/r_part.c, qw/render.h, qw/view.c, src/renderer/Makefile.am,
	src/renderer/light.h: More porting from DarkPlaces - rdlight stuff
	and a few other minor tweaks and cleanups.  Please test.  =)

2002-04-25 08:45  knghtbrd

	* Makefile.am, configure.in: No longer check for a system-installed
	cvs2cl, probably better to just always use our own.

2002-04-23 10:33  knghtbrd

	* TODO, nq/cl_model.c, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rsurf.c, qw/cl_model.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c: Major change to colored lighting.  Basically,
	lighting is now always done in color now.  If for some reason your
	hardware can't support this (or you really want non-colored light
	for some reason), +set gl_colorlights 0 will still work, but by
	converting the lightmaps from RGB to luma at lightmap build time. 
	This really isn't slow, I promise.  Significantly cleans up the
	light code all around though.  Noted in TODO that gl_colorlights
	can and should be made to work without +set since less requires
	recalculating on change now.

2002-04-23 08:15  knghtbrd

	* nq/render.h, qw/render.h: render.h is a little more merged than
	it was.  Not necessarily any cleaner, but not noticably much worse
	either.  Just less disparity now.

2002-04-23 02:07  knghtbrd

	* include/model.h: Cleaned up comments in the msurface structure -
	they're even correct now.

2002-04-22 11:18  knghtbrd

	* TODO: Small TODO update

2002-04-22 11:17  knghtbrd

	* nq/cl_input.c, nq/vid_sdl.c, qw/cl_input.c, qw/vid_sdl.c: Ability
	to look straight up and down.  Also added force_centerview cmd to
	the console.  Do you know what these are good for?  Yes, so do I.

2002-04-22 10:53  knghtbrd

	* nq/world.c: NQ no longer hurts players when riding lifts.  You
	can still bump your head, but you won't get hurt just for using the
	things.

2002-04-22 09:41  knghtbrd

	* nq/sv_phys.c: Teleport ball should spin, doesn't currently. 
	Fixed.

2002-04-22 08:24  knghtbrd

	* nq/common.c, qw/common.c: Okay my batting average today is about
	nil.  First I totally bork a fix for an ancient bug.  Then I bork
	the paper bag release fix.  Then when I do fix it right finally and
	make sure it's fixed, I forget to commit that fix.  Today I should
	not be using a compiler, it would seem.

2002-04-22 05:45  knghtbrd

	* nq/common.c, qw/common.c: Fix blatant fuckup with last commit. 
	Paper bag time.

2002-04-22 05:40  knghtbrd

	* TODO, nq/common.c, qw/common.c: Moved a bunch of stuff from feh's
	twibugs list to the TODO file.	Fixed the /progs/whatever.mdl load
	failure.  Note this is done with noisy warnings for now because I
	want to know what exactly is broken and what's not.  They can
	become quiet or disappear completely later.

2002-04-21 09:42  knghtbrd

	* nq/r_part.c, qw/r_part.c: Move an include - the important fix was
	already applied by Zeph.  Sorry all, I could have sworn I test
	compiled before I committed that.

2002-04-21 03:17  mercury

	* nq/r_part.c, qw/r_part.c, src/base/cmd.c: Include r_explosion.h
	in r_part.c, allows compile with -Werror again.
	
	Replaced a memcpy in cmd.c with a memmove, might fix some stuff.

2002-04-19 19:47  knghtbrd

	* autogen.sh: If someone ever wants to make packages out of CVS,
	this will help a lot.

2002-04-19 00:39  knghtbrd

	* nq/r_part.c, qw/r_part.c: Id progs (and those based on them) use
	a special case particle explosion for things like nuke boxes which
	has been lost.	This puts it back.

2002-04-17 21:10  knghtbrd

	* twilight.dsw, src/base/twilight_base.dsp,
	src/image/twilight_image.dsp, src/renderer/twilight_renderer.dsp,
	src/sound/twilight_sound.dsp: Newline fixing...

2002-04-15 00:36  knghtbrd

	* nq/pr_edict.c: fix for Sparc and other processors which can't
	handle unaligned memory access

2002-04-09 07:55  knghtbrd

	* src/renderer/glquake.h: We don't need windows.h in glquake.h
	anymore.

2002-04-09 06:50  knghtbrd

	* include/mathlib.h, include/twiconfig.h, nq/net_dgrm.c,
	nq/net_udp.c, nq/sys.c, qw/cl_main.c, qw/net_chan.c, qw/net_udp.c,
	qw/sys.c, src/renderer/glquake.h, src/renderer/opengl.h: MSVC
	defines a thousand different symbols to indicate win32.  Intel's
	compiler does not.  Changed to _WIN32, which works on both.

2002-04-09 06:45  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: Fixed both 2D resolution and the
	crosshair, as well as they are going to be fixed until 2D
	resolution is controlled seperately for HUD, console, and menu..

2002-04-09 03:49  knghtbrd

	* include/twiconfig.h: And just a minute after I chean up my mess,
	I discover that someone else cleaned it up differently.

2002-04-09 03:33  knghtbrd

	* include/twiconfig.h: This would be an oops - renamed header

2002-04-09 01:57  eviltypeguy

	* include/Makefile.am, include/win32conf.h, include/win32config.h,
	nq/nq.dsp, qw/qw.dsp: Change everything to win32config.h from
	win32conf.h, since someone already started the change

2002-04-08 10:02  knghtbrd

	* nq/gl_draw.c, nq/menu.c, qw/gl_draw.c, qw/menu.c: The 2D
	resolution stuff is a big, hairy mess.	I've broken it to fix the
	crosshair positioning.	I'll fix it just as soon as I decide which
	of the three options for fixing it are least annoying.

2002-04-08 06:34  lordhavoc

	* include/zone.h, src/base/zone.c: changed second memheader
	sentinel to be a byte rather than an int32, because some platforms
	(Sparc, etc) can not access memory unaligned

2002-04-08 05:32  lordhavoc

	* src/base/: mathlib.c, zone.c: cleaned up mis-use of long casts
	relating to pointers (breaks on 64bit CPUs)

2002-04-08 05:17  knghtbrd

	* src/base/mathlib.c: Stray #define

2002-04-08 04:52  knghtbrd

	* autogen.sh: Use -f instead of -e for test.

2002-04-07 12:01  knghtbrd

	* include/mathlib.h, src/base/mathlib.c: LordHavoc's
	RotatePointAroundVector, it's faster and it doesn't have to disable
	the optimizer for MSVC.

2002-04-07 11:18  knghtbrd

	* acconfig.h, include/Makefile.am, include/compat.h,
	include/mathlib.h, include/twiconfig.h, include/win32conf.h,
	nq/chase.c, nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c,
	nq/cl_model.c, nq/cl_parse.c, nq/cl_tent.c, nq/common.c,
	nq/conproc.c, nq/console.c, nq/gl_draw.c, nq/gl_poly.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/host.c, nq/host_cmd.c, nq/keys.c,
	nq/menu.c, nq/net.h, nq/net_bsd.c, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/r_explosion.c, nq/r_part.c, nq/sbar.c,
	nq/snd_dma.c, nq/sv_main.c, nq/sv_move.c, nq/sv_phys.c,
	nq/sv_user.c, nq/sys.c, nq/vid_sdl.c, nq/view.c, nq/world.c,
	qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_input.c,
	qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c, qw/cl_pred.c,
	qw/cl_tent.c, qw/common.c, qw/console.c, qw/gl_draw.c,
	qw/gl_ngraph.c, qw/gl_poly.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/keys.c, qw/mdfour.c, qw/menu.c, qw/net_chan.c, qw/net_udp.c,
	qw/pmove.c, qw/pmovetst.c, qw/r_explosion.c, qw/r_part.c,
	qw/sbar.c, qw/skin.c, qw/snd_dma.c, qw/sys.c, qw/vid_sdl.c,
	qw/view.c, src/base/buildnum.c, src/base/cmd.c, src/base/crc.c,
	src/base/cvar.c, src/base/mathlib.c, src/base/model.c,
	src/base/parm.c, src/base/strlib.c, src/base/wad.c,
	src/base/zone.c, src/image/image.c, src/image/jpeg.c,
	src/image/pcx.c, src/image/qlmp.c, src/image/tga.c,
	src/renderer/dynogl.c, src/renderer/gl_textures.c,
	src/renderer/noise.c, src/renderer/noise_textures.c,
	src/renderer/opengl.h, src/renderer/pointers.c,
	src/renderer/transform.c, src/sound/cdmusic.c, src/sound/mem.c,
	src/sound/mix.c, src/sound/target.c: Removed the ifdef mess
	surrounding the config header from each file and put it in
	twiconfig.h to simplify matters.  Just #include "twiconfig.h" now
	instead of all of that mess.

2002-04-06 13:45  knghtbrd

	* src/base/model.c: Allow up to 4096 models.  If you're running
	out, you've got problems.

2002-04-06 11:45  knghtbrd

	* nq/cl_model.c, qw/cl_model.c, src/base/model.c: Made Mod_FindName
	a bit safer by porting more DP code.  Might help Damm's problem.

2002-04-06 09:52  knghtbrd

	* include/common.h, nq/cl_model.c, nq/common.c, qw/cl_model.c,
	qw/common.c, src/base/model.c, src/base/zone.c: Made a few changes
	to get rid of COM_FileBase.  This may indirectly help the problems
	Damm was seeing, but it's not a final fix for certain.

2002-04-06 05:31  knghtbrd

	* nq/common.c, nq/conproc.c, nq/console.c, nq/console.h,
	nq/vid_sdl.c, qw/cl_main.c, qw/common.c, qw/console.c,
	qw/console.h, qw/gl_screen.c, qw/vid_sdl.c, qw/view.c: Killed
	Com_SafePrintf - used in exactly one place.  Killed the support
	code for Com_SafePrintf which did not make sense in even the case
	it was used.  Reduced the vid_sdl diff to two lines.

2002-04-05 06:48  knghtbrd

	* nq/r_explosion.c, qw/r_explosion.c: Changed the explosions
	significantly, they look much nicer now.  I can't imagine where I
	got the changes from.  Must be divine revalation - or just
	DarkPlaces.

2002-04-05 06:36  knghtbrd

	* nq/r_explosion.c: [no log message]

2002-04-05 01:14  knghtbrd

	* nq/cl_tent.c, qw/cl_ents.c, qw/cl_tent.c: DLight colors have been
	altered to be a little closer to the original.	The lightmaps no
	longer need it and flash bubbles have always looked silly with
	them.

2002-04-04 15:54  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: Synced up the qw and nq vid_sdl.c.
	
	Added the SDL driver name to the 'Video mode %dx%d initialized'
	message.  (The QW part of that was done accidently in the last
	commit.)

2002-04-04 15:42  mercury

	* nq/cl_main.c, nq/cl_tent.c, nq/gl_rmisc.c, nq/r_part.c,
	nq/render.h, qw/cl_ents.c, qw/r_part.c, qw/render.h, qw/vid_sdl.c:
	Particle code cleanup!
	
	Nuked the tube particle code which was disabled, can be retrieved
	from CVS if needed later.
	
	There are now particle cvars which actually work:    
	r_base_particles, r_cone_particles, and r_beam_particles.      They
	contain the max number of particles for that type.	0 means
	that type of particles is disabled.
	
	Now allocate the vertex arrays with the zone stuff dynamicly.
	
	Some general cleanup and design tweaking.
	
	Redesigned how we handle trails, MUCH better now.
	
	And I am /finally/ back down to one working tree with no
	modifications!

2002-04-04 15:28  mercury

	* qw/: cl_parse.c, client.h, sbar.c: sbar fixes and optimizations. 
	(Saner now.)

2002-04-04 15:19  mercury

	* include/model.h, nq/cl_model.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/pr_cmds.c, nq/progs.h, nq/sv_phys.c, nq/world.c, qw/cl_model.c,
	qw/gl_rmain.c, qw/gl_rsurf.c: The great physics port.  Bringing
	over the interesting bits of the DP physics stuff for NQ.  Made QW
	work with it, but did not change the QW physics.  (QW physics may
	or may not follow.)
	
	Please test heavily for changes which should not be there.

2002-04-04 15:17  mercury

	* qw/common.c, nq/common.c: Removed the unused malloc alloc type
	from COM_LoadFile.

2002-04-04 02:16  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: While not commonly supported by X
	config files, 320x240 is common enough for win32 that it is a safe
	minimum for all of our stuff, particularly 2D resolution stuff.

2002-04-04 00:47  knghtbrd

	* nq/vid_sdl.c: Erm, syncing NQ with my accidental vid_sdl commit -
	this adds the legacy cmdline parameter -winsize, as well as
	cleaning up the parameter parsing a little bit.  This isn't
	finished, but it works.

2002-04-04 00:44  knghtbrd

	* qw/: sys.c, vid_sdl.c: SDL was not quitting properly in QW. 
	Fixed.

2002-04-03 18:47  fingolfin

	* nq/Makefile.am, qw/Makefile.am, src/base/Makefile.am,
	src/image/Makefile.am, src/renderer/Makefile.am,
	src/sound/Makefile.am: fixed build system to allow builds outside
	the srcdir

2002-04-01 13:13  lordhavoc

	* twilight.dsw: removed libjpeg

2002-03-31 11:38  mercury

	* include/mathlib.h, nq/console.c, nq/pr_edict.c,
	src/base/mathlib.c: nq/pr_edict.c:     Reworked ED_Print, maybe a
	little slower, but it should actually	  work instead of printing
	garbage to the front of the string, and is     obvious what it does
	too!
	
	nq/console.c: Use zones instead of malloc.
	
	mathlib:     AngleVectorsFLU, gives forward left up instead of
	forward right up.      sq, squares the number.

2002-03-31 06:59  mercury

	* nq/sv_model.c: Unused, confusing, and GONE!

2002-03-29 06:14  knghtbrd

	* doc/olddoc/: INSTALL, README: These serve absolutely no purpose,
	whatsoever.

2002-03-29 06:11  knghtbrd

	* configure.in, nq/Makefile.am, qw/Makefile.am,
	src/image/Makefile.am, src/image/image.c, src/image/jpeg.c,
	src/image/jpeg.h: Whee, big commit, very little accomplished.  We
	decided against JPEG loading and concluded that PNG was more
	trouble than it was worth to us overall.  JPEG save code will
	probably be implemented without the whole libjpeg at some point in
	the hopefully near future.  On the plus side, we need not mess with
	the evil that exists and is called zlib.  =p

2002-03-27 04:18  lordhavoc

	* qw/gl_rmain.c: removed a debugging line

2002-03-25 00:41  lordhavoc

	* qw/gl_rmain.c: temporary debugging test of r_colormiplevels for
	damm

2002-03-24 06:34  lordhavoc

	* nq/nq.dsp, qw/qw.dsp: Damm updated the project files to build to
	output to nq, qw, and qw-server dirs rather than \quake

2002-03-24 02:40  lordhavoc

	* nq/gl_draw.c, nq/sys.c, nq/vid_sdl.c, qw/gl_draw.c, qw/sys.c,
	qw/vid_sdl.c, src/base/zone.c, src/renderer/glquake.h: fixed
	Sys_Error so it will show an error message before shutting down SDL
	(by way of modifying VID_Shutdown to not call SDL_Quit, and making
	Sys_Quit call SDL_Quit like it should) fixed buffer overflow
	problems in texture upload code (and now the buffers are
	dynamically resized) r_colormiplevels looks a bit different now
	(cycles red, green, blue, skipping alpha, and is now
	endian-independent)

2002-03-22 02:20  knghtbrd

	* Makefile.am, configure.in, src/Makefile.am: --without-servers and
	--without-clients support added to auto* - using both at the same
	time is a patently dumb idea at the moment, but is there for the
	future.

2002-03-22 01:28  knghtbrd

	* nq/sys.c, nq/vid_sdl.c, qw/sys.c, qw/vid_sdl.c: New oldschool
	cmdline parameter, -noparachute.  Use it to disable the SDL careful
	shutdown parachute.  +command happens after right now, so it could
	not be a CVAR_ROM.  Didn't want to mess with that now.

2002-03-15 13:40  knghtbrd

	* qw/console.c: fix console.c commit that should not have been.

2002-03-15 13:25  knghtbrd

	* qw/: console.c, gl_draw.c, gl_screen.c: [no log message]

2002-03-13 15:46  knghtbrd

	* Makefile.am, configure.in: Er, I should have committed more than
	just *.qc shouldn't I?	Yeah, I should have.

2002-03-13 10:03  molivier

	* nq/menu.c, qw/menu.c: Updated graphics options menus

2002-03-12 23:37  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: New Cvar, r_colormiplevels, defaults
	to 0 for off.  This is a debugging feature and pending the new
	texture system must be +set on the cmdline.  You probably don't
	want to play a game with this on unless you're on an acid trip at
	the time.

2002-03-12 17:34  knghtbrd

	* nq/r_part.c, qw/r_part.c: Do not taunt happy fun gcc.  Says the
	function is too big for inlining, so I've removed that.

2002-03-12 16:53  mercury

	* nq/gl_rmain.c, nq/r_part.c, qw/gl_rmain.c, qw/r_part.c,
	src/base/mathlib.c, src/renderer/noise_textures.c:
	{nq|qw}/gl_rmain.c: Optimization,
	s/VectorNormalize/VectorNormalizeFast/ mathlib.c: Same.
	
	noise_textures.c:     Use the correct variable for the beam
	texture.      Smooth out the beam texture some more.
	
	r_part.c:     If 'inside' the diameter of a beam segment don't draw
	it.	 Instead we generate a smokering at the center of the
	segment.      FIXME: This makes beam particles VERY smoketrail
	specific.

2002-03-12 13:57  mercury

	* nq/r_part.c, qw/r_part.c: Some major work on beam particles:	  
	Instead of rendering each beam as a quad render as two triangles.
	
	    Match the ends better, this requires the first otherwise we
	could
	    get non-plainer quads, which are not valid in GL.
	
	    If we are looking almost exactly along the path of a trail
	don't
	    draw it. (This gets rid of some nasty artifacts.)
	
	    As beams fade reduce the rstep, so they scroll slower.

2002-03-12 09:32  mercury

	* nq/r_part.c, qw/r_part.c: Oops, did not mean to make that last
	commit, anyways this should make the trails look less, static.

2002-03-12 09:27  mercury

	* qw/: r_part.c, vid_sdl.c: [no log message]

2002-03-12 09:09  mercury

	* nq/r_part.c, nq/vid_sdl.c, qw/r_part.c, qw/vid_sdl.c,
	src/renderer/noise_textures.c: First off, beam particles! Rocket
	trails are now beam particles instead of tube particles.  (Needs
	tweaking.)
	
	Generate gamma ramps differently, once someone comes up with cvar
	names we will get contrast and brightness control.
	
	New smoke texture to go along with the new trails.

2002-03-11 18:48  knghtbrd

	* nq/menu.c: We need to update the screen twice when drawing the
	modal message if we want users to actually see it, eh?

2002-03-11 12:31  lordhavoc

	* nq/nq.dsp, qw/qw.dsp: changed output files again, so debug builds
	are \quake\tw-nq-debug.exe, and so on, to avoid overwriting release
	builds

2002-03-10 17:04  knghtbrd

	* nq/menu.c, qw/menu.c: Removed the quit Copyright info from QW and
	from Win32 in NQ.  This information needs to be somewhere, but the
	quit text isn't the right place for it.  My last commit, which had
	a botched commit message, swapped the brown and grey text colors in
	the menus.  They look MUCH nicer now.

2002-03-10 16:50  knghtbrd

	* nq/menu.c, qw/menu.c: [no log message]

2002-03-10 16:42  knghtbrd

	* nq/menu.c, qw/menu.c: gcc 3.0 likes this..

2002-03-10 11:20  lordhavoc

	* qw/cl_ents.c: changed INVALID FRAME to Com_DPrintf (again), and
	made it check all models, not just alias ones

2002-03-10 11:08  lordhavoc

	* nq/nq.dsp, qw/qw.dsp: changed MSVC6 project files to be a bit
	more generally useful (now puts executables in \quake instead of
	d:\quake)

2002-03-10 11:03  lordhavoc

	* qw/cl_ents.c: changed INVALID FRAME warning back to Com_Printf

2002-03-10 10:57  lordhavoc

	* nq/sys.c, qw/sys.c: workaround for PATH_MAX not being defined in
	win32 compiling

2002-03-10 10:55  lordhavoc

	* qw/cl_ents.c: make INVALID FRAME warnings only appear if
	developer is on

2002-03-10 04:00  eviltypeguy

	* nq/gl_screen.c, qw/gl_screen.c, src/image/tga.c: The screenshot
	counter was incrementing properly, however when Sys_Filetime was
	called only the filename instead of the fullpath and filename were
	being passed hence making the screenshot never exist causing it to
	believe it could continually write to the tw0000.tga, I found that
	TGAWrite was *wrongly* automatically writing any tga file to
	com_gamedir directory, I removed this behavior and made sure that
	any place that called TGAWrite was made responsible for attaching
	it's own desired path, that fixed the problem since the full path
	and filename then were passed into to Sys_Filetime...

2002-03-10 00:26  eviltypeguy

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/menu.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/menu.c, src/renderer/glquake.h: Removal of
	deprecated r_lightlerp

2002-03-10 00:18  eviltypeguy

	* nq/menu.c, nq/vid_sdl.c, qw/menu.c, qw/vid_sdl.c: 2D Resolution
	Width/Height & Text Scale controls added to Options Menu

2002-03-09 14:49  digiman

	* src/base/mathlib.c: Fix Q_asin (though it is not used). Thanks to
	Tomaz for submitting the bug.

2002-03-05 06:16  eviltypeguy

	* nq/menu.c, qw/menu.c: QW menus corrected to use fvalue instead of
	ivalue, minor formatting changes, possible fixes to NQ menus...
	
	NQ menus are working, QW menus are still jacked, the sliders don't
	seem to have the right lange limits, but I've compared the two
	sections of code that handle the menus and I don't see why they
	don't work right :/

2002-03-04 06:02  raineth

	* include/win32conf.h: This should fix compiles on Win32.

2002-03-04 05:47  mercury

	* src/renderer/dynogl.c: Fix up the wrapper to not break under (the
	really fscked up) Windows.

2002-03-03 02:19  knghtbrd

	* nq/sys.c, qw/sys.c: Sys_ExpandPath now supports Win00/XP
	multi-user instead of just the plain %WINDIR% for your user
	configs.  I assume this also works for NT4, and it might work with
	a multi-user Win9x as well.  Would greatly appreciate it if someone
	with mutl-user Win9x can test it for me.  Open a console and type
	"echo %USERPROFILE%" at the prompt.  If you get something
	meaningful back, this works for you too.  Else it doesn't.

2002-03-03 02:09  knghtbrd

	* include/common.h, nq/host.c, qw/cl_main.c, src/base/cmd.c: I have
	regained my senses since I rewrote Cbuf_InsertFile and re-rewritten
	it so that the thing actually works.  I've also taken a moment to
	apply a Sys_ExpandPath to the places we call it to fix the other
	outstanding bug with it.

2002-03-01 21:38  knghtbrd

	* nq/gl_screen.c, qw/gl_screen.c: You can now have more
	screenshots.

2002-03-01 10:13  mercury

	* src/renderer/: dynogl.c, oglfuncs.h, opengl.h: OGL_NEED_BUT, last
	argument is a function to call if the needed function is not
	available, used for glDrawRangeElements for now.
	
	FIXME: Put the fake/wrapper functions in their own file.

2002-02-28 06:09  knghtbrd

	* src/base/cmd.c: Fix the case where between a Cbuf_InsertText and
	a Cbuf_Execute, something tries to do a Cbuf_AddText.

2002-02-27 15:21  knghtbrd

	* nq/sys.c, qw/sys.c: Win32 seems to not give a MessageBox in at
	least some cases.  Because I do not know why not, and because the
	stderr printf DOES work, I'm making sure both happen for win32. 
	This may help Kai tell us which function his Kyro drivers are
	breaking on in win32.

2002-02-27 13:19  mercury

	* nq/gl_screen.c, qw/gl_screen.c, src/renderer/oglfuncs.h: Actually
	make LH's stuff compile.  (He could not test before committing.)

2002-02-27 13:12  lordhavoc

	* nq/gl_screen.c: reorganized SCR_UpdateScreen to do
	GL_EndRendering at start of function and glFlush at end of function
	(this lets the GPU keep rendering while the CPU thinks about the
	next frame)

2002-02-27 12:57  mercury

	* include/draw.h, include/vid.h, nq/client.h, nq/console.c,
	nq/console.h, nq/gl_draw.c, nq/gl_screen.c, nq/menu.c, nq/sbar.c,
	nq/sys.c, nq/vid_sdl.c, nq/view.c, qw/cl_main.c, qw/client.h,
	qw/console.c, qw/console.h, qw/gl_draw.c, qw/gl_ngraph.c,
	qw/gl_rmain.c, qw/gl_screen.c, qw/menu.c, qw/sbar.c, qw/skin.c,
	qw/sys.c, qw/vid_sdl.c, qw/view.c, src/base/cmd.c: Runtime
	adjustable 2D resolution!   Controlled by the width_2d and
	height_2d cvars.    -1 means figure it out automagicly.    (For
	width set to video mode, for height set for a 3/4 aspect ratio.)
	
	Separate from the 2D resolution is the run time adjustable text
	scale.	  Controlled by the text_scale cvar.	1 is normal, 2 is
	twice normal size, 0.5 is half normal size.    NOTE: This does NOT
	alter text from the sbar or the menu for now.	 (Two rat's nests
	of code which I don't want to redesign right now!)
	
	Both QW and NQ how have a cl.colormap, cl.colormap->top and
	cl.colormap->bottom are the top and bottom colors as vec3_t's.
	
	Setting your crosshair color to 255 will make it use your bottom
	color for the crosshair color.

2002-02-27 12:09  lordhavoc

	* qw/gl_screen.c: reorganized SCR_UpdateScreen to get a speed
	boost, by doing things in this order: finish begin draw return	(so
	client/server code occurs during rendering, to let CPU and hardware
	overlap)

2002-02-26 00:30  mercury

	* include/quakedef.h: Knghtbrd really needs to get some sleep...

2002-02-25 23:45  knghtbrd

	* include/mathlib.h, nq/gl_draw.c, qw/gl_draw.c: The sine wave used
	to flash the cursor is now clipped at 0.  That means hud_chflash
	0.2 will only brighten the crosshair, and -0.2 will only make it
	darker.  This really looks much better.

2002-02-25 23:27  knghtbrd

	* src/renderer/: pointers.c, pointers.h: Made the horizontal of
	crosshair 1 thinner (just as it was with Quake) and added crosshair
	9, the thin version of DarkPlaces crosshair 1.

2002-02-25 22:59  knghtbrd

	* include/common.h, include/quakedef.h, include/zone.h,
	src/base/cmd.c: Er, the potential fro breakage here is kinda high. 
	My bad.

2002-02-25 18:46  knghtbrd

	* Makefile.am, configure.in: Removal of the Debian stuff as
	discussed on list and irc.

2002-02-25 17:21  knghtbrd

	* nq/menu.c, qw/menu.c: Removed my menu playground, it has served
	its purpose - I know what to do with the menus now, but I'm not
	prepared to commit a public test.  Also, this fixes the menus with
	-conwidth.

2002-02-24 10:24  knghtbrd

	* nq/sys.c, qw/sys.c: Make sure SDL shuts down in the error
	condition.

2002-02-24 10:07  knghtbrd

	* qw/vid_sdl.c: A little bit of QW video debugging, this should go
	into NQ as well, but I want to make a few more changes before I
	port it across.

2002-02-21 16:13  molivier

	* src/renderer/twilight_renderer.dsp: Updated libtwilight_renderer
	DSP file

2002-02-21 15:30  knghtbrd

	* src/renderer/: Makefile.am, pointers.c, pointers.h: Didn't expect
	to need the header more than once, did I?  Well, I do.

2002-02-21 12:11  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: Crosshair fixes.	First, -conwidth
	other than your current resolution would cause the crosshair to be
	drawn both the wrong size and the wrong place.	Both are fixed. 
	Somehow cl_crossx and cl_crossy were forgotten with the new
	Draw_Crosshair, they work again.  Also, support has been added (but
	remains commented out pending Zeph's commit) for using your team's
	color in the crosshair if you set crosshaircolor to 255.

2002-02-20 16:00  knghtbrd

	* nq/menu.c, qw/menu.c: Removed support for the video menu.  The
	menu code is ugly enough without optional ugliness we don't
	actually use.  Since I decided to do this after I began a new empty
	menu for tinkering purposes, NQ has a useless menu in Options
	called "KB's Thingy(TM)".  It's temporary and will die sooner than
	later.

2002-02-20 09:44  molivier

	* src/renderer/twilight_renderer.dsp: Updated libtwilight_renderer
	DSP file

2002-02-20 07:00  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: By request, disabling the flash by
	default (hud_chflash 0), it doesn't look right with the original Id
	default crosshaircolor of 79 at all.

2002-02-19 18:45  knghtbrd

	* include/draw.h, include/mathlib.h, nq/gl_draw.c, qw/gl_draw.c,
	src/renderer/Makefile.am, src/renderer/gl_textures.h,
	src/renderer/pointers.h: Significant changes to crosshair code. 
	There are now eight crosshairs to choose from and four new Cvars. 
	hud_chsize (default 0.5 for 16x16, the crosshairs are all 32x32
	now, so you can use 1.0 if you have use an insane resolution)
	controls how big the crosshair is on your screen.  hud_chalpha
	(default 1.0) lets you lower the crosshair's alpha if you want. 
	I've also borrowed the crosshair flash from DarkPlaces since it's a
	cool effect.  Use hud_chflash and hud_chspeed (defaults 1.0 and 1.5
	respectively) to control it.  You can still use crosshaircolor to
	control how the crosshair looks, we don't use your team color yet. 
	Note also that crosshair 1 is no longer that silly + character in
	the console font.

2002-02-19 04:43  mercury

	* nq/cl_main.c, nq/cl_model.c, nq/cl_parse.c, nq/gl_rmain.c,
	nq/render.h, qw/cl_model.c: Fix a few little bugs, including one
	which results in a segfault.

2002-02-18 10:19  molivier

	* configure.in, twilight.dsw, nq/Makefile.am, qw/Makefile.am,
	src/image/Makefile.am, src/image/image.c, src/image/jpeg.c,
	src/image/jpeg.h, src/image/twilight_image.dsp: Added JPEG support

2002-02-18 10:16  molivier

	* nq/menu.c, nq/net_udp.c, qw/menu.c, qw/net_udp.c: You must close
	your winsocks with closesocket, not close. Fixed incorrect binding
	display in the menu.

2002-02-18 06:49  raineth

	* nq/gl_screen.c, nq/screen.h, qw/gl_screen.c, qw/screen.h: Added
	cl_avidemo (takes the number of fps as a param).  I tried to keep
	this fast, however qglReadPixels is very slow for me, so I'm not
	certain that it is.

2002-02-18 01:52  knghtbrd

	* doc/cvar.txt, include/cvar.h, nq/chase.c, nq/cl_input.c,
	nq/cl_main.c, nq/cl_model.c, nq/cl_parse.c, nq/client.h,
	nq/common.c, nq/console.c, nq/gl_draw.c, nq/gl_rlight.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/gl_warp.c, nq/host.c, nq/host_cmd.c, nq/keys.c, nq/menu.c,
	nq/net_dgrm.c, nq/net_loop.c, nq/net_main.c, nq/net_udp.c,
	nq/pr_cmds.c, nq/pr_edict.c, nq/pr_exec.c, nq/r_explosion.c,
	nq/r_part.c, nq/sbar.c, nq/snd_dma.c, nq/sv_main.c, nq/sv_phys.c,
	nq/sv_user.c, nq/sys.c, nq/vid_sdl.c, nq/view.c, qw/cl_cam.c,
	qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c, qw/cl_model.c,
	qw/cl_parse.c, qw/cl_pred.c, qw/client.h, qw/common.c,
	qw/console.c, qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/keys.c, qw/menu.c,
	qw/net_chan.c, qw/r_explosion.c, qw/r_part.c, qw/sbar.c, qw/skin.c,
	qw/snd_dma.c, qw/sys.c, qw/vid_sdl.c, qw/view.c, src/base/cmd.c,
	src/base/cvar.c, src/sound/cdmusic.c, src/sound/mem.c,
	src/sound/mix.c, src/sound/target.c: Big Cvar Update (of Doom!) 
	Cvars now have an integer component, ivalue, it works just as you'd
	expect.  Also, the float is now fvalue and the string svalue. 
	Massive changes all around to make these changes compile.

2002-02-17 20:16  mercury

	* include/common.h, include/draw.h, include/mathlib.h,
	include/model.h, include/quakedef.h, nq/cl_main.c, nq/cl_model.c,
	nq/cl_parse.c, nq/cl_tent.c, nq/client.h, nq/gl_draw.c,
	nq/gl_poly.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/r_explosion.c, nq/r_part.c, nq/render.h, nq/sbar.c, nq/view.c,
	qw/cl_ents.c, qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c,
	qw/client.h, qw/common.c, qw/gl_draw.c, qw/gl_ngraph.c,
	qw/gl_poly.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_screen.c, qw/menu.c, qw/r_explosion.c, qw/r_part.c,
	qw/render.h, qw/sbar.c, qw/skin.c, src/base/strlib.c,
	src/renderer/Makefile.am, src/renderer/gl_textures.c,
	src/renderer/gl_textures.h, src/renderer/glquake.h,
	src/renderer/oglfuncs.h, src/renderer/texture.h: The really fscking
	HUGE commit.
	
	gl_textures.[ch]: New texture management stuff.
	
	Redesigned and rewrite how we deal with vertex arrays.	Redesigned
	and rewrote the alias model loader.  Redesigned and rewrote the
	alias model renderer.  Redesigned and rewrote how we track skins in
	QW.  Redesigned and rewrote how to handle colormapping for QW and
	NQ.
	
	Added VectorMultiply, multiplys two vertex arrays into a third.
	
	For QW use PORT_ANY instead of PORT_CLIENT for client port, allows
	more then one client from the same system.
	
	Added Com_PrintHex, gives a rough hexdump.
	
	In QW handle how we tell if a file exists differently. (FIXME: Port
	to NQ)
	
	WritePCXfile in QW no longer writes images upside down and no
	longer trashes memory. (FIXME: Port to NQ)
	
	For va allow calling nested up to 8 times. STILL BE VERY VERY
	CAREFUL.

2002-02-17 11:54  knghtbrd

	* nq/.indent.pro, qw/.indent.pro: Die evil indent.pro's!

2002-02-11 03:42  lordhavoc

	* include/zone.h, src/base/zone.c: added Zone_CheckSentinelsZone
	function, to check all sentinels in allocations belonging to a
	specific zone (this can be much faster than CheckSentinelsGlobal)

2002-02-11 03:40  lordhavoc

	* qw/net_chan.c: added explanation of how net_chan 'cleartime'
	works

2002-02-09 19:27  eviltypeguy

	* nq/gl_rmain.c, qw/gl_rmain.c: Removal of debug messages that kill
	performance

2002-02-09 08:43  eviltypeguy

	* qw/gl_rmain.c: Removal of debug line that sucks performance dry

2002-02-08 19:30  mercury

	* src/base/zone.c: Remove the bit to crash instead of error.
	
	It was there because I was debugging things in gdb and accidently
	committed it...

2002-02-08 18:38  digiman

	* include/model.h, nq/nq.dsp, qw/cl_ents.c, qw/qw.dsp,
	src/base/twilight_base.dsp, src/base/zone.c: Make Twilight at least
	compile on win32.  Remove some unused stuff.  Update workspaces.

2002-02-08 04:53  eviltypeguy

	* src/base/cmd.c: This isn't the formatting change you're looking
	for, move along

2002-02-07 20:43  eviltypeguy

	* src/base/cmd.c: Blah, I should have done what zinx did, I just
	wasn't sure, as such removing lameass hack check to prevent crash
	in cmd.c

2002-02-07 20:38  zinx

	* nq/cl_main.c, nq/client.h, qw/cl_main.c, qw/client.h,
	src/base/cmd.c: 
	Moved cl_warncmd init to src/base/cmd.c. Fixes warncmd segfault in
	qw-server.

2002-02-07 18:36  eviltypeguy

	* src/base/cmd.c: Missed some small difference in QW/QWSV/NQ cmd.c
	last night, this should fix things up for the cases where the
	command doesn't exist...

2002-02-07 08:27  eviltypeguy

	* nq/Makefile.am, nq/cmd.c, qw/Makefile.am, qw/cmd.c,
	src/base/Makefile.am, src/base/cmd.c: cmd.c was *identical* for
	NQ/QW/QW-Server, why maintain 3 identical copies?
	
	It has been moved to src/base as that makes a lot more sense...

2002-02-07 07:02  eviltypeguy

	* include/sbar.h, nq/cl_demo.c, nq/cl_main.c, nq/client.h,
	nq/host.c, nq/menu.c, nq/sbar.c, nq/sv_model.c, nq/vid_sdl.c,
	qw/cl_demo.c, qw/cl_main.c, qw/client.h, qw/menu.c, qw/sbar.c:
	Misc. formatting cleanups, unused function removal, moved cl_sbar
	cvar stuff to sbar.c where IMO it should be...

2002-02-06 07:41  eviltypeguy

	* nq/: server.h, sv_phys.c: Sync'd our physics code with
	LordHavoc's latest, yes this breaks the little spikey ball on
	end.bsp but it fixes many other annoyances, there are two behaviors
	I have left commented out that lordhavoc 'fixed' since they break
	bug-for-bug compatability. I *need* to know if any of this commit
	causes certain expected 'physics' behaviors in the original quake
	from not happening anymore. (Things that would affect 'rocket'
	tricks or other things in maps, etc...) I am trying my best to make
	sure that we stay bug-for-bug compatible with the older quake.
	
	Hopefully LordHavoc/Vic can help figure out a way to fix the spikey
	teleport ball on end.bsp soon, otherwise I am not aware of any
	problems with this code with all the single player testing i've
	done...

2002-02-05 20:26  lordhavoc

	* nq/: cl_main.c, sv_move.c, world.c, world.h: Replaced
	SV_RecursiveHullCheck with a new much faster and less buggy (no
	sticking on slopes now) version, which also has the optional
	ability to collide on any content change (collide on water
	boundaries, etc), and uses double precision math for everything for
	a lot more accuracy.

2002-02-04 05:55  eviltypeguy

	* nq/r_part.c, qw/r_part.c: superflous formatting changes, brought
	to you by Because I Should(TM)

2002-02-04 00:43  mercury

	* include/model.h, nq/cl_model.c, nq/gl_rmain.c, nq/render.h,
	qw/cl_ents.c, qw/cl_model.c, qw/gl_rmain.c, src/base/model.c,
	src/base/zone.c, src/renderer/glquake.h: Rewrite of the alias model
	loader, more or less.  Remove all the shit involved in meshing the
	models, render as triangles.  (Speed bonus!)
	
	Tweaked the lerping in QW, removed /ALL/ the lerping that was in
	the NQ renderer for now. I don't care if some people don't like
	that I did it.
	
	Removed a large number of completely and utterly unused fields in
	the NQ entity struct.
	
	Fix the qw-server to not crash if -cheats is passed as an argument.
	
	Doubled the size of the vertex arrays so we can render all alias
	models in one pass.
	
	In a moment I will revert one line in zone.c which makes it
	segfault instead of call Host_Error on error, was there to aid
	debugging and I just don't want to retype this whole commit log to
	undo the change.

2002-02-03 23:54  eviltypeguy

	* nq/: cl_input.c, cl_main.c, common.c, host.c, host_cmd.c,
	pr_cmds.c, pr_edict.c, pr_exec.c, pr_execprogram.h, progs.h,
	server.h, sv_main.c, sv_move.c, sv_phys.c, sv_user.c, view.c,
	world.c: GetEdictFieldValue has been replaced with a speedier macro
	called GETEDICTFIELDVALUE which gets fields based on already known
	fieldoffsets, according to LordHavoc this optimization from DP can
	dramatically reduce the CPU usage of some mods that rely on
	constant changes, status checks of certain variables like gravity,
	etc. Thanks to LordHavoc for his help in porting this from DP. At
	some point in the future this should be ported to QW...

2002-02-03 23:52  eviltypeguy

	* include/: common.h, mathlib.h: New ANGLEMOD macro, and
	STRUCT_FROM_LINK was optimized, as well as addition of
	Com_LoadZoneFile (to go along with Com_LoadHunkFile) that uses the
	new Zone system to alloc memory...

2002-02-03 23:51  eviltypeguy

	* qw/: cl_ents.c, cl_input.c, view.c: Use more efficient macro for
	EDIT_FROM_AREA, etc. And use ANGLEMOD macro instead of ANGLEMOD
	function (faster)

2002-02-03 06:03  eviltypeguy

	* nq/chase.c, nq/cl_demo.c, nq/client.h, qw/cl_cam.c, qw/cl_demo.c,
	qw/client.h: superflous formatting changes, brought to you by I
	Don't Care if You Don't Like Them, Because I Do(TM)

2002-02-03 04:56  eviltypeguy

	* src/: base/buildnum.c, sound/cdaudio.h, sound/cdmusic.c: misc.
	foramtting changes

2002-02-03 04:50  eviltypeguy

	* include/bspfile.h: unsigned and short are not datatypes, they are
	modifiers, while the compiler likes shorthand, it's kinda wrong,
	plus got rid of some extreme tabbage and cleanly formatted other
	things

2002-02-03 04:09  eviltypeguy

	* configure.in: -Wpointer-arith has proved it's worthlessnes, and
	as such is being given the boot

2002-02-01 18:18  lordhavoc

	* src/base/zone.c: Zone_Alloc now reports the size when given a
	bogus size <= 0

2002-02-01 18:13  lordhavoc

	* src/base/zone.c: most zone errors now report the zone now

2002-02-01 18:00  lordhavoc

	* src/base/zone.c: made size == 0 an error in Zone_Alloc

2002-02-01 17:39  lordhavoc

	* include/cmd.h, include/quakedef.h, include/zone.h, nq/common.c,
	nq/host.c, nq/host_cmd.c, nq/snd_dma.c, nq/sys.c, qw/cl_main.c,
	qw/common.c, qw/snd_dma.c, qw/sys.c, src/base/zone.c: added Zone
	memory system (a zone is a pool of allocations, it can be emptied
	or freed as a whole, and has good tracking (zonelist/zonestats
	commands) and excellent corruption detection)

2002-02-01 06:18  raineth

	* THANKS: I do not like mailman.

2002-02-01 06:11  raineth

	* THANKS: Dummy commit (do I finally have things working?)

2002-02-01 06:00  raineth

	* AUTHORS: Dummy commit, testing list settings

2002-02-01 05:37  raineth

	* AUTHORS: Dummy commit, testing list settings.

2002-02-01 05:36  raineth

	* AUTHORS: Dummy commit to make sure that messages can still be
	posted (sorted AUTHORS by last name instead of first)

2002-01-30 12:22  knghtbrd

	* nq/gl_rmisc.c, qw/gl_rmisc.c: Yes, gl_clear 0 is a better default
	because of Quake's snow problems.

2002-01-30 11:16  digiman

	* nq/cl_main.c: Use Lerp_Vectors and Lerp_Angles for lerping, don't
	handle it 'by hand'.

2002-01-30 06:29  raineth

	* nq/: gl_rlight.c, gl_rmisc.c: Fixed[*] the flashblend colors for
	the quad damage, etc.; Made gl_clear CVAR_ARCHIVE since my drivers
	apparently suck, and setting it every time I start is a nuisance.
	(Perhaps this should be "0" by default.)
	
	[*] The colors were being multiplied by 0.5 which for some reason
	was giving completely bogus colors when rendered (although the
	values looked fine.)  I simply took out the multiply, which looks
	fine but may not be the best way to fix this.
	
	This is the same fix as the previous commit, but in nq.

2002-01-30 06:26  raineth

	* qw/: gl_rlight.c, gl_rmisc.c: Fixed[*] the flashblend colors for
	the quad damage, etc.; Made gl_clear CVAR_ARCHIVE since my drivers
	apparently suck, and setting it every time I start is a nuisance.
	(Perhaps this should be "0" by default.)
	
	[*] The colors were being multiplied by 0.5 which for some reason
	was giving completely bogus colors when rendered (although the
	values looked fine.)  I simply took out the multiply, which looks
	fine but may not be the best way to fix this.

2002-01-30 03:06  fingolfin

	* nq/common.c, qw/cmd.c, src/image/qlmp.c: malloc() has been and
	always will be, in stdlib.h. Malloc.h, despite its name, is a non
	portable system header found on e.g. Linux but is not part of POSIX
	nor the std C lib. Never use it, please.

2002-01-30 03:04  fingolfin

	* qw/net_udp.c: struct timeval is in sys/time.h over here; also,
	why not use HAVE_SYS_* flags if we have them anyway? :)

2002-01-29 13:22  knghtbrd

	* include/draw.h, nq/cl_model.c, nq/gl_draw.c, nq/gl_rmisc.c,
	nq/r_explosion.c, qw/cl_model.c, qw/gl_draw.c, qw/r_explosion.c,
	src/renderer/Makefile.am, src/renderer/glquake.h,
	src/renderer/texture.h: New header texture.h, contains only a few
	flags for now, but eventually it will hold the new texture manager.
	 {R,GL}_LoadTexture and GL_Upload{8,32} have been modified to use
	texture flags rather than the traditional mipmap and alpha
	parameters.  For now TEX_FBMASK implies TEX_ALPHA, but you can
	expect that will eventually change when fbmasks are changed to
	render as additive rather than alpha.

2002-01-29 08:37  lordhavoc

	* nq/sys.c, qw/sys.c: fix for one more thing in
	Sys_CheckClipboardPaste (win32)

2002-01-29 08:28  lordhavoc

	* nq/sys.c, qw/sys.c: added some externs for
	Sys_CheckClipboardPaste (win32)

2002-01-29 08:16  lordhavoc

	* nq/sys.c, qw/sys.c: added variables I forgot to declare in
	Sys_CheckClipboardPaste (win32)

2002-01-29 07:16  lordhavoc

	* include/sys.h, nq/keys.c, nq/sys.c, qw/keys.c, qw/sys.c: added
	back (untested) win32 clipboard paste support, someone please test
	this on win32 (note: the code is in sys.c and has an empty stub for
	non-win32, ready to be filled in for X11 or whatever)

2002-01-28 12:46  knghtbrd

	* nq/gl_draw.c, nq/gl_warp.c, qw/gl_draw.c, qw/gl_ngraph.c,
	qw/gl_warp.c, src/renderer/glquake.h: gl_filter_max is not quite
	correct, changed it to gl_filter_mag.  Also did a little cleanup of
	GL_Upload32.  I'm planning to rewrite texture uploads completely,
	but I wanted to commit this change before I forgot I made it.

2002-01-28 04:30  knghtbrd

	* nq/common.c, qw/common.c: This was here for debugging, long since
	not needed.

2002-01-28 04:22  knghtbrd

	* nq/sys.c, qw/sys.c: More reasonable default.

2002-01-28 04:20  knghtbrd

	* qw/gl_draw.c: Er, this is the correct fix for QW - I forgot this
	somehow.

2002-01-27 23:05  digiman

	* include/pmove.h, nq/cl_main.c, nq/cl_parse.c, nq/client.h,
	nq/cmd.c, nq/console.c, nq/host.c, nq/pr_exec.c, qw/cl_ents.c,
	qw/cl_main.c, qw/cl_pred.c, qw/client.h, qw/cmd.c, qw/console.c,
	qw/net_udp.c, qw/pmove.c, qw/view.c: Fix gamespy support.  Clean
	things up: remove functions that are not used at all, replace some
	with something more sane.  Move global variables onground,
	waterlevel and watertype to playermove_t struct.  Add cl_warncmd to
	NQ.

2002-01-27 15:52  mercury

	* nq/view.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_tent.c, qw/client.h,
	qw/gl_rmain.c, qw/render.h, qw/view.c: First off, handle the case
	of cl_bobcycle 0.
	
	Second really minor thing, redesigned and rewrote the QW lerp and
	entity code. Much cleaner now.
	
	And Vic gets to clean up the fact that some weapons that should not
	be lerped are being lerped, like the nailgun. He broke it a while
	back.

2002-01-27 15:42  mercury

	* qw/r_part.c: In R_RocketTrail don't trash the vec3_t's given to
	us.

2002-01-27 15:41  mercury

	* qw/: gl_draw.c, gl_ngraph.c: The charset is 8bpp, not 32bpp.	And
	-raw_CharToNetGraph is never used.

2002-01-27 12:57  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c, src/image/image.h, src/image/pcx.c,
	src/image/qlmp.c, src/image/tga.c: image_t now supports an image
	type (sortof) - currently allowed types are IMG_QPAL and IMG_RGBA. 
	Guess what they do.

2002-01-27 12:25  knghtbrd

	* include/draw.h, nq/gl_draw.c, qw/gl_draw.c: Temporary function
	R_LoadTexture, it's basically a GL_LoadTexture for an image_t. 
	This is good enough for what I need to do next, but it is not in
	any way the right solution.

2002-01-27 04:28  eviltypeguy

	* nq/console.c, qw/console.c: Console properties were not being
	initialized to sane defaults during Con_Init causing a crash when
	using debug builds in win32

2002-01-27 03:26  digiman

	* src/image/twilight_image.dsp: ahh, forgot one important thing.

2002-01-27 03:23  digiman

	* twilight.dsw, nq/nq.dsp, qw/qw.dsp, src/base/twilight_base.dsp,
	src/renderer/twilight_renderer.dsp: Add twilight_image workspace
	and fix old ones.

2002-01-27 02:40  knghtbrd

	* nq/Makefile.am, qw/Makefile.am, src/image/Makefile.am,
	src/image/image.c, src/image/image.h, src/image/pcx.c,
	src/image/pcx.h, src/image/qlmp.c, src/image/qlmp.h,
	src/image/tga.c, src/image/tga.h, src/renderer/Makefile.am,
	src/renderer/image.c, src/renderer/image.h, src/renderer/pcx.c,
	src/renderer/pcx.h, src/renderer/qlmp.c, src/renderer/qlmp.h,
	src/renderer/tga.c, src/renderer/tga.h: The image stuff is now in
	src/image.

2002-01-27 00:54  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c, src/base/wad.c: Draw_PicFromWad now
	does the SwapPic, not W_LoadWadFile.  The reason for this is that
	QLMP_Load does its own SwapPic by hand and doing it twice on
	big-endian machines is just wrong.

2002-01-27 00:44  knghtbrd

	* src/: base/Makefile.am, base/wad.c, renderer/Makefile.am,
	renderer/wad.c: wad.c does not need to be in the renderer -
	removed.

2002-01-27 00:37  knghtbrd

	* src/Makefile.am: Forgot this.

2002-01-27 00:36  knghtbrd

	* configure.in, src/image/.cvsignore, src/image/Makefile.am: And
	this fixes configure, image stuff to move to src/image soon.

2002-01-26 12:16  digiman

	* src/renderer/: qlmp.c, twilight_renderer.dsp: Windows compiling
	fix.  Update twilight_renderer workspace.

2002-01-26 10:32  knghtbrd

	* nq/gl_draw.c, nq/gl_warp.c, qw/gl_draw.c, qw/gl_warp.c,
	src/renderer/image.c, src/renderer/image.h: I've been regretting
	the choice of IMG_Load since I was reminded SDL_image uses that
	name for some time now, but Forest also has complaints about it, so
	I've resolved to change it while there's only one function name
	used in not many places to change.

2002-01-26 09:13  knghtbrd

	* configure.in, nq/gl_draw.c, qw/gl_draw.c, src/renderer/wad.c:
	libpng's Makefile is now made, though it is not compiled by
	default.  I have also made the wad lookups return NULL rather than
	simply dying with an error.  It's up to the caller to deal or die. 
	Every pre-existing use of wad data (all three of them, in total)
	will die.  IMG_Load will deal gracefully with the not found case,
	though the caller may not.

2002-01-26 07:06  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c, src/renderer/pcx.c,
	src/renderer/qlmp.c, src/renderer/tga.c: QLMP_Load will now get
	lmps out of the wad.  Fix for braindamage in the loops in the lmp
	loaders (what WAS I thinking?)	First testcase of using IMG_Load
	for something other than a skybox: conchars.  You may not supply a
	conchars.{tga,pcx,lmp} of your choice.

2002-01-26 06:24  knghtbrd

	* nq/gl_screen.c, nq/gl_warp.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/skin.c, src/renderer/Makefile.am, src/renderer/image.c,
	src/renderer/image.h, src/renderer/pcx.c, src/renderer/pcx.h,
	src/renderer/qlmp.c, src/renderer/qlmp.h, src/renderer/tga.c,
	src/renderer/tga.h: IMG_Load now returns an image_t type.  So do
	the PCX and Targa loaders.  A lmp reader has been added, but it
	only knows how to read lmps outside of wads for the time being. 
	image_t is currently RGBA only, so it is not used by QW skins and
	general 2D art yet.

2002-01-26 04:43  knghtbrd

	* include/zone.h, nq/common.c, qw/common.c, src/base/strlib.c:
	Finished removing the CacheFile loadtype.  Also put the structures
	in place for Forest's memory pool system, which will eventually
	replace the other types of memory we use now.

2002-01-26 01:15  knghtbrd

	* include/common.h, nq/common.c, qw/common.c: LoadCacheFile is
	unused - removing it.

2002-01-25 11:06  molivier

	* nq/cl_parse.c: Replaced Com_Printf calls by Host_Error calls in
	CL_ParseServerInfo. A couple strncpy -> strlcpy replacements

2002-01-24 10:48  lordhavoc

	* nq/gl_rmain.c, qw/gl_rmain.c: fix for polyblend on ATI Radeon
	drivers

2002-01-23 02:18  digiman

	* include/model.h, nq/cl_model.c, nq/gl_rmain.c, qw/cl_model.c,
	qw/gl_rmain.c: Add FLAG_DOUBLESIZE keeping FLAG_EYES. Should make
	everyone happy again.

2002-01-23 00:24  digiman

	* nq/cl_model.c, qw/cl_model.c: Fix autodetection of models that
	can't be interpolated.

2002-01-22 01:40  digiman

	* qw/: cl_ents.c, gl_rmain.c: Girlz want the bugs to be fixed. I
	need to be more careful next time.

2002-01-22 00:18  digiman

	* qw/: net.h, net_udp.c: This should fix the gamespy problem.

2002-01-21 22:52  digiman

	* include/model.h, nq/cl_model.c, nq/gl_rmain.c, qw/cl_model.c,
	qw/gl_rmain.c: FLAG_DOUBLESIZE is gone. Replace it with FLAG_EYES
	and precalculate scale_origin and scale for eyes.mdl.

2002-01-21 00:11  digiman

	* qw/: cl_ents.c, gl_rmain.c, view.c: Prevent interpolating frames
	of two different models.

2002-01-20 03:43  digiman

	* qw/cl_parse.c: I hope this fixes the 'lagging from skin rebuilds'
	problem.

2002-01-17 23:51  digiman

	* nq/gl_warp.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_model.c,
	qw/cl_parse.c, qw/cl_tent.c, qw/gl_draw.c, qw/gl_rmain.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/keys.c,
	qw/snd_dma.c, qw/view.c: NQ: Add experimental multitexture skies. 
	QW: Use Host_EndGame instead of Sys_Error in most cases.

2002-01-17 18:18  digiman

	* nq/nq.dsp, qw/cmd.c, qw/qw.dsp, src/base/twilight_base.dsp:
	Update win32 workspaces and fix compile warning in qw/cmd.c.

2002-01-17 16:51  knghtbrd

	* include/cvar.h, src/base/cvar.c: A few Cvar improvements.  First,
	the initialization value (first Cvar_Get) is now remembered.  No
	matter how you change a Cvar, you can now restore it to that value
	with the reset command.  Cvar_Show (which tells you what the
	current value of a Cvar is) has been updated to show the default as
	in Q3A, and to list the Cvar's flags in the [] to the left.  Flags
	you may see are: (a)rchive, (r)om, (u)ser/(t)emp, and (i)nfo (user
	or server).  I may change i to two seperate flags when we merge
	that stuff together, but it's fine for now.

2002-01-17 16:02  knghtbrd

	* qw/: cmd.c, common.c: A little diff reduction

2002-01-17 13:31  knghtbrd

	* nq/Makefile.am, nq/cvar.c, qw/Makefile.am, qw/cvar.c,
	src/base/Makefile.am, src/base/cvar.c: cvar.c is in src/base now.

2002-01-17 10:04  molivier

	* nq/host.c: If the current frame time would be below 0.001 sec,
	wait until the next frame. Nothing good can possibly come from
	artificially adding time to the frame. This should fix the "NQ
	dedicated server under cafeine" bug

2002-01-16 09:56  molivier

	* nq/gl_rmisc.c, qw/gl_rmisc.c: More graphics cvars archived

2002-01-15 17:00  digiman

	* qw/: cl_main.c, net_udp.c: Tweak net_udp a bit.  Cleanup.

2002-01-14 20:53  digiman

	* include/cmd.h, nq/cl_main.c, nq/cmd.c, nq/host.c, qw/cl_main.c,
	qw/cmd.c, qw/qw.dsp: Diff reduction in cmd.c.  We WILL move it to
	twilight/base someday. :)

2002-01-14 15:19  molivier

	* nq/gl_rmisc.c, qw/gl_rmisc.c: gl_flashblend is now archived

2002-01-14 14:47  knghtbrd

	* include/common.h, nq/cl_demo.c, nq/cl_model.c, nq/cmd.c,
	nq/common.c, nq/gl_draw.c, nq/host.c, nq/pr_edict.c, nq/r_part.c,
	qw/cl_demo.c, qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c, qw/cmd.c,
	qw/common.c, qw/gl_draw.c, qw/r_part.c, qw/skin.c,
	src/renderer/pcx.c, src/renderer/tga.c, src/renderer/wad.c,
	src/sound/mem.c: Forest suggested a complain flag to silence
	warnings when files cannot be found in cases such as IMG_Load where
	it really doesn't matter if any one format of image cannot be
	found.	I've also begun a process of cleaning up the format of the
	code in qw-server.  Unfortunately, this has all been by hand since
	I'm looking for more than just disagreeable style.  It's slow and
	painstaking work, and it had many conflicts when updated.  Best to
	commit what I have now before there get to be too many to commit.

2002-01-14 10:06  molivier

	* nq/: common.c, host_cmd.c: A couple of NQ fixes: fixed a
	potential crash in Host_Name_f, and added a missing inclusion
	(stdarg.h) in common.c

2002-01-14 01:06  digiman

	* include/cmd.h, nq/Makefile.am, nq/nq.dsp, nq/zone.c,
	qw/Makefile.am, qw/qw.dsp, qw/zone.c, src/base/Makefile.am,
	src/base/twilight_base.dsp, src/base/zone.c: Move zone.c to
	twilight_base.

2002-01-14 00:55  digiman

	* include/cmd.h, nq/cl_main.c, nq/cmd.c, nq/cmd.h, qw/cl_main.c,
	qw/cl_parse.c, qw/cmd.c, qw/cmd.h: Move cmd.h to include directory.

2002-01-13 23:44  digiman

	* include/common.h, nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c,
	nq/cl_model.c, nq/cl_parse.c, nq/cl_tent.c, nq/cmd.c, nq/common.c,
	nq/conproc.c, nq/console.c, nq/console.h, nq/cvar.c, nq/gl_draw.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c, nq/host.c,
	nq/host_cmd.c, nq/keys.c, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/r_explosion.c, nq/r_part.c, nq/snd_dma.c,
	nq/sv_main.c, nq/sv_phys.c, nq/sv_user.c, nq/vid_sdl.c, nq/view.c,
	nq/world.c, nq/zone.c, qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c,
	qw/cl_input.c, qw/cl_main.c, qw/cl_model.c, qw/cl_parse.c,
	qw/cl_pred.c, qw/cl_tent.c, qw/cmd.c, qw/common.c, qw/console.c,
	qw/console.h, qw/cvar.c, qw/gl_draw.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/gl_screen.c, qw/keys.c, qw/net_chan.c,
	qw/net_udp.c, qw/pmove.c, qw/pmovetst.c, qw/r_explosion.c,
	qw/r_part.c, qw/skin.c, qw/snd_dma.c, qw/vid_sdl.c, qw/zone.c,
	src/sound/cdmusic.c, src/sound/mem.c, src/sound/target.c:
	Con_Printf -> Com_Printf Con_DPrintf -> Com_DPrintf Con_SafePrintf
	-> Com_SafePrintf
	
	From now on, NO references to Con_*Printf are allowed, except for
	common.c.  Use Com_ functions instead.	We are getting closer and
	closer to merging QW and QWSV.

2002-01-13 21:49  digiman

	* nq/cl_main.c, nq/cl_tent.c, nq/client.h, nq/gl_rmain.c,
	nq/render.h, nq/view.c, qw/cl_ents.c, qw/cl_tent.c, qw/client.h,
	qw/gl_rmain.c, qw/render.h, qw/sbar.c, qw/view.c: cl_visedicts and
	cl_numvisedicts are gone. Move them to refdef_t and rename to
	num_entities and entities.  Also, fix intermission screen showing
	single player stats when playing teamplay games.

2002-01-13 18:39  digiman

	* qw/net_udp.c: QW and QWSV compile on non win32 again.

2002-01-13 17:11  digiman

	* nq/gl_rmain.c, qw/cl_ents.c, qw/gl_rmain.c, qw/gl_rsurf.c: Add
	1/d*d falloff dlights on entities.  Also, fix qwsv refusing to load
	qwprogs.dat after playing single player, setting deathmatch to and
	starting a new map.

2002-01-13 03:21  digiman

	* nq/gl_rmisc.c, qw/cl_ents.c, qw/cl_main.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/menu.c, qw/net_chan.c, qw/render.h,
	src/renderer/glquake.h: Add movement interpolation to QW (things
	look incredibly now!).	Also, fix demo playback (it was b0rked).

2002-01-13 01:43  digiman

	* qw/: cl_ents.c, cl_parse.c, client.h, gl_rmain.c: Fix bug when
	gun model was not animated in twqw.  Move CL_BoundDlight to
	cl_main.c.

2002-01-12 21:57  digiman

	* qw/: cl_main.c, cl_parse.c, client.h, net.h, net_udp.c, sbar.c:
	Add NET_Sleep to net_udp.  Set high priority to qwsv in win32, so
	it there's no packet loss when client is connected to server
	running on a same machine.  Fix 'slow rockets' bug on linux servers
	running for several weeks.  Add single player support to QW. QWSV
	tries to load spprogs.dat if deathmatch is set to 0. An example
	spprods.dat can be downloaded from
	http://zquake.frag.ru/eng/download/.

2002-01-11 15:51  digiman

	* qw/net_chan.c: Another diff reduction.

2002-01-11 15:17  digiman

	* qw/: net_chan.c, net_udp.c: Diff reduction of qw and qw-server
	net_chan.c and net_udp.c.

2002-01-11 14:07  digiman

	* qw/: net.h, net_chan.c, net_udp.c: Remove unused global variable
	net_socket in qw-server.  Also, make net_local_adr do something
	useful.

2002-01-11 02:50  zinx

	* qw/: net.h, net_udp.c: 
	Make twilight compile on non-win32-msvc.

2002-01-11 01:01  digiman

	* include/common.h, include/host.h, include/quakedef.h,
	nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c, nq/client.h, nq/cmd.c,
	nq/common.c, nq/console.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/host.c, nq/menu.c, nq/net_main.c, nq/nq.dsp, nq/sv_main.c,
	nq/sys.c, nq/view.c, qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c,
	qw/cl_input.c, qw/cl_main.c, qw/cl_parse.c, qw/cl_pred.c,
	qw/client.h, qw/common.c, qw/console.c, qw/gl_rsurf.c,
	qw/gl_screen.c, qw/menu.c, qw/net.h, qw/net_chan.c, qw/net_udp.c,
	qw/qw.dsp, qw/sbar.c, qw/sys.c, src/sound/cdmusic.c: This one is
	BIG.  Remove realtime and add host_realtime (NQ), cls.realtime
	(QWCL) and svs.realtime (QWSV).  NQ: Remove SZ_Alloc and SZ_Free. 
	Some Q2 stuff below.  Add SZ_Init to all targets.  Start merging
	QWCL and QWSV. Make net_udp and net_chan to use different sockets
	for client and server (NS_CLIENT and NS_SERVER).  Add code for
	loopback connection.

2002-01-08 04:49  digiman

	* include/mathlib.h, nq/cl_main.c, nq/common.c, nq/gl_rmain.c,
	qw/cl_ents.c, qw/cl_pred.c, qw/common.c, qw/gl_rmain.c,
	src/base/mathlib.c: Rename VectorInterpolate to Lerp_Vectors and
	AngleInterpolate to Lerp_Angles.  Add Q_rint macro, which rounds
	negative values correctly in all situations.

2002-01-06 17:31  mercury

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/render.h, qw/gl_draw.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/gl_rsurf.c, qw/gl_warp.c, qw/render.h,
	src/renderer/glquake.h: Diff reduction.
	
	Killed two completely unused cvars (r_maxedges and r_maxsurfs).
	
	Fix a rendering problem in NQ where water textures on non-world
	bmodels would be rendered incorrectly. (Fixed in QW and forgot to
	do NQ until now.)

2002-01-05 02:25  knghtbrd

	* nq/common.c, qw/common.c: Forest suggested I add a plain malloc
	type to COM_LoadFile's allocation types.  Seems like a reasonable
	idea.

2002-01-03 21:15  mercury

	* nq/: gl_rmain.c, sbar.c: Fix NQ's sbar code to actually work
	properly, it was really really broken.
	
	Don't call transpolyrender, as we have no transpolys calling it is
	just a speed hit due to state changes.

2002-01-03 09:47  mercury

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/r_part.c, nq/render.h,
	nq/vid_sdl.c, qw/gl_rmain.c, qw/r_part.c, qw/render.h,
	src/renderer/oglfuncs.h: Some particle changes:     Killed the
	pressure on particles.	    Split the movement and drawing of
	particles. (Needed for next)  More r_wireframe settings:     2
	draws the walls, then the wireframe on top of it, obscuring walls  
	  behind walls.
	
	    3 draws the walls, then the wireframe of everything with depth
	tests
	    disabled.
	
	Changed the NQ clear color to be darker, should do the same for QW.
	
	Thats about it.

2002-01-03 06:36  mercury

	* nq/gl_rmain.c, nq/gl_rmisc.c, src/renderer/glquake.h:
	r_wireframe, works for everything including particles.
	
	Rocket trails look quite nice like this actually.

2002-01-02 14:50  molivier

	* nq/console.c, qw/console.c: Added a couple of tests before the
	creation of the console log

2002-01-02 13:49  mercury

	* nq/gl_poly.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/r_explosion.c, nq/vid_sdl.c, qw/gl_poly.c,
	qw/gl_rsurf.c, qw/gl_warp.c, qw/r_explosion.c, qw/r_part.c,
	qw/vid_sdl.c, src/renderer/glquake.h, src/renderer/oglfuncs.h:
	s/qglTexEnvf/qglTexEnvi/g. (Very very very minor speedup.)
	
	Nuked r_showtris, will do it right later.
	
	Reworked EmitWaterPolys to not have the nasty if, oh, and to not
	have a rather nasty and unpredictable buffer overflow. (Was reading
	only, not writing, still nasty and unpredictable.)
	
	Refuse to compile r_explosion.c if the vertex arrays are too small
	for the explosions.
	
	v_hwgamma cvar is now CVAR_NONE instead of CVAR_ARCHIVE.
	
	Fixed a case in non-world bmodels where water surfaces would not be
	correctly rendered. (Not aware of ANY models which actually have
	water surfaces, but still.) (QW only, poke to remind me about NQ if
	I don't commit first.)
	
	Minor particle code tweaks, no actual changes to how it behaves.
	(QW only, poke to remind me about NQ if I don't commit first.)

2001-12-31 19:52  lordhavoc

	* nq/r_explosion.c, qw/r_explosion.c: made explosion color
	customizable (r_explosioncolor_r, etc) during game

2001-12-31 19:00  lordhavoc

	* nq/r_explosion.c, qw/r_explosion.c: made the explosion effect not
	so blinding, now you can see the sprite clearly

2001-12-31 14:55  digiman

	* nq/cl_model.c, qw/cl_model.c: Autodetect models that should not
	be interpolated.  Make aliasbboxmin and aliasbboxmax floats.

2001-12-31 01:13  eviltypeguy

	* qw/cl_model.c: Same thing I did for nq/cl_model.c (whitespace
	cleanup) has been done to this one, to ignore these changes use
	diff -b

2001-12-31 01:07  eviltypeguy

	* nq/cl_model.c: Clean up formatting *ugh* (sorry but I really
	couldn't help but do this some parts were really *BAD*) if this
	bothers you, use diff -b to ignore this pure whitespace change :)

2001-12-31 00:41  zinx

	* nq/cl_model.c, qw/cl_model.c: Cleanup after Vic.

2001-12-30 23:07  digiman

	* nq/cl_model.c, qw/cl_model.c, src/renderer/image.c,
	src/renderer/twilight_renderer.dsp: Some tweaks in image.c and
	cl_model.c.

2001-12-30 17:43  knghtbrd

	* nq/gl_warp.c, qw/gl_warp.c: We check env now for skyboxes before
	gfx/env.

2001-12-30 17:12  knghtbrd

	* nq/gl_warp.c, qw/gl_warp.c, src/renderer/Makefile.am,
	src/renderer/image.c, src/renderer/image.h, src/renderer/pcx.c,
	src/renderer/tga.c: Implemented IMG_Load.  Still kinda half-assed,
	but if we do this in a set of stages it will be easier for
	everyone.  IMG_Load takes the same args as either TGA_Load or
	PCX_Load except that you don't supply the extension on the
	filename.  It then tries to load both, in that order.  This is only
	used for skyboxes now, but more support will be added soon.  Fixed
	a very dumb bug in tga/pcx.c I added a few days ago as well.

2001-12-30 10:30  knghtbrd

	* nq/keys.c, qw/keys.c: Still more console editing improvements. 
	K_HOME and K_END now do what you would expect with the input line
	unless the input line is empty.  In that case, they still scroll
	all the way to the top and bottom as is normal for Quake--I believe
	some QSG tutorial does similar.  While I'm at it, I added ctrl-a,
	ctrl-e, and ctrl-u.  These are home, end, and erase line.  Yeah, I
	know ctrl-u isn't quite what it should be, but it's good enough.

2001-12-30 09:28  eviltypeguy

	* nq/r_part.c, qw/r_part.c: New particle physics system, turned off
	by default you can enable it by r_particle_physics 1
	
	It will be cleaned up a little more and optimized a little more
	soon once I split out particle types so that I only do physics on
	shotgun/nail particles...

2001-12-30 04:34  eviltypeguy

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_warp.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_warp.c, src/renderer/glquake.h:
	Thanks to knghtbrd, I've managed to finish porting LordHavoc's
	r_waterripple effect to twilight

2001-12-30 01:46  eviltypeguy

	* nq/gl_poly.h: We don't have byte, but Uint8 is an equivalent data
	type

2001-12-29 09:26  knghtbrd

	* nq/console.c, nq/keys.c, qw/console.c, qw/keys.c: Basic console
	editing works properly once again.

2001-12-29 07:37  knghtbrd

	* nq/console.c, qw/console.c: Closer examination yields the two
	problems.  First an off-by-one error in the code, and second an
	over-estimation of strncpy's intelligence which caused me to not
	consider the real source of the problem.

2001-12-29 07:12  knghtbrd

	* nq/console.c, qw/console.c: This fixes a problem with tab
	completion.  Apparently strlcpy and strncpy do not do things the
	same way.  We can debate what the problem is and how to fix it
	later.

2001-12-29 05:42  knghtbrd

	* nq/keys.c, qw/keys.c: New Cvar, cl_chatmode, default 0.  To get
	the QW default to dispatch any unknown command as a say message,
	turn this on.  If people complain I'll make it the default.  In
	either event, if you're not connected to a server and you type a
	non-command, it'll give you some feedback.

2001-12-29 03:24  knghtbrd

	* nq/console.c, qw/console.c: Removed the addition of the / prefix
	from tab completion.  I was mistaken, it is never needed in our
	engine, even in QW, and we've agreed that we do not want to add any
	feature which would change that.  You can still type it, but
	completion will strip it if you do and it really does mean nothing
	to the Cmd processor.  Really.

2001-12-29 02:56  knghtbrd

	* nq/host.c, nq/sys.c, qw/cl_main.c, qw/sys.c: New Cvar
	sys_asciionly, default 0.  I'd turn this on by default if it were
	not essentially a hack.  This cleans up Sys_Printf output by
	mapping the Quake font characters to their nearest approximate
	ASCII characters.  It obviously isn't smart enough to know what to
	map to when using a custom font, hence the hackish nature and the
	reason it's not on by default.

2001-12-29 02:25  knghtbrd

	* nq/gl_screen.c, qw/gl_screen.c: New Cvar, scr_logcprint, defaults
	to 0.  Turn it on for centerprints to be logged to the console ala
	Quake 2.  I've been meaning to code this for two years now - never
	did because it would cause the the centerprints on a map like start
	to be logged over and over if you just stand there.  Q2 doesn't do
	anything special to prevent that.  Neither do we.

2001-12-29 02:01  knghtbrd

	* Makefile.am, src/renderer/pcx.c, src/renderer/pcx.h,
	src/renderer/tga.c, src/renderer/tga.h: The pcx and targa loaders
	now return something useful.  Currently not at all used, but soon. 
	make ChangeLog now doesn't fail if it can't delete a ChangeLog.bak
	which doesn't exist.

2001-12-28 12:09  knghtbrd

	* nq/cl_parse.c, nq/client.h, nq/gl_rmisc.c, nq/gl_warp.c,
	qw/cl_parse.c, qw/client.h, qw/gl_rmisc.c, qw/gl_warp.c,
	src/renderer/glquake.h: Significant skybox changes.  {r_,}skybox is
	now r_skyname, since the only other engine to use a Cvar for
	skyboxes (QuakeForge) uses that name and will attempt to set the
	Cvar over the network if so configured.  Added the loadsky dummy
	command for further compatibility.  Also, if a map contains any of
	the three known entity keys for a skybox, the client will load that
	if it can find it without help from the server.  r_skyname is also
	cleared upon map change since the mods which use skyboxes expect
	that behavior.

2001-12-28 07:37  eviltypeguy

	* nq/: gl_rsurf.c, gl_warp.c: Ok, this should be *a bit* more
	optimized for CPU limited people, and should keep any slowdowns
	from occuring when not using r_showtris

2001-12-28 07:05  eviltypeguy

	* nq/gl_rsurf.c, nq/gl_warp.c, src/renderer/glquake.h: This should
	make r_showtris faster for non-geforce users (hopefully)

2001-12-28 06:16  knghtbrd

	* include/quakedef.h, nq/console.c, nq/keys.c, qw/console.c,
	qw/keys.c: MAXCMDLINE removed from both keys.c and console.c,
	MAX_INPUTLINE has been added to quakedef.h to replace it.

2001-12-28 04:27  knghtbrd

	* nq/console.c, qw/console.c: Prefix completed lines with a /
	(expecially important for QW)

2001-12-28 04:15  knghtbrd

	* nq/console.c, qw/console.c: Partial complete works properly.

2001-12-28 02:23  zinx

	* nq/conproc.c, nq/gl_screen.c, nq/gl_warp.c, nq/r_part.c,
	qw/gl_rmisc.c, qw/r_part.c: 
	Fixes to make twilight compile with mingw + -Werror again

2001-12-27 11:03  knghtbrd

	* nq/console.c, qw/console.c: Setting con_logname to "" now does
	what it should.  Also, you should no longer provide the extension
	to con_logname as .log shall be appended to it to prevent the
	possibility that it be used to append nastiness to any of your
	config files.  Note that we don't strip your con_logname at all,
	you may place your logs in a subdirectory if you like, just make
	sure it exists first.

2001-12-27 10:39  knghtbrd

	* nq/console.c, qw/console.c: Retire the unused con_main/con_chat
	seperation.  If ever there were plans to make it something useful,
	they have long since been abandoned.  As it does stand now, they
	added confusion alone.	Another nice feature, you may now set
	con_logfile to whatever name you like, whenever you like.  Set it
	to "" to disable logging (this is the default.)  The use of
	-condebug is still supported and will set con_logfile to
	"qconsole.log", as expected.

2001-12-27 10:22  knghtbrd

	* nq/gl_warp.c: v = v = ETG needs to be thwacked.

2001-12-26 07:07  eviltypeguy

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_warp.c,
	src/renderer/glquake.h: r_showtris added to NQ, not to QW since I
	don't know of anyway to implement without someone complaining that
	"it's cheating." Yeah, whatever :)
	
	However, in NQ, r_showtris only actually works when !cl.maxclients
	> 1, translation: when you're playing singler player quake and not
	netquake :>
	
	Limitations: r_showtris doesn't affect models, I have no idea how
	to implement that.  This will be *slow* on TNT cards because I'm
	adding to the triangle setup count, but there is *no* noticeable
	slowdown at all on my GeForce card.

2001-12-26 01:28  digiman

	* include/mathlib.h, src/base/mathlib.c: Forgot to commit
	AngleInterpolate... Sorry :(

2001-12-26 01:12  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Fix -nomtex for water surfaces -
	good eye zinx!

2001-12-26 00:50  knghtbrd

	* nq/gl_draw.c, nq/gl_rsurf.c, nq/zone.c, qw/gl_draw.c,
	qw/gl_rsurf.c, qw/zone.c: Doubled zone in NQ/QW.  Changed how
	conchars are drawn (you won't see any differences).  Also set the
	color to 1 after drawing water surfaces if we were using alpha.

2001-12-25 22:14  digiman

	* qw/cl_ents.c: Add angles/origin interpolation to QW (needs
	testing, but seems to me it works).

2001-12-24 08:08  eviltypeguy

	* nq/: cl_main.c, client.h, host.c: Added cl_maxfps functionality
	to NQ, default value is 0 which causes the framerate to be uncapped
	if playing singleplayer Quake, and to use 30 fps if playing
	NetQuake...

2001-12-24 06:20  eviltypeguy

	* nq/net_main.c: Hmmm, I don't think we support modem gaming
	anymore :)

2001-12-24 06:00  zinx

	* nq/gl_warp.c: 
	Oops, forgot NQ.  GL_POLYGON -> GL_TRIANGLE_FAN Make this optional
	if it's a big speed hit.

2001-12-24 05:55  zinx

	* qw/gl_warp.c: 
	GL_POLYGON is apparently broken with at least TNT2's and nVidia's
	2313 drivers for Linux.  Reverting to GL_TRIANGLE_FAN for now.

2001-12-24 01:55  eviltypeguy

	* README: Spelling correction, minor grammar change, captilization
	change

2001-12-23 03:47  lordhavoc

	* include/model.h, nq/gl_rsurf.c, qw/gl_rsurf.c: fixed lightmap
	alignment code, don't know how it managed to work before, may be
	faster now.  lightmap internalformat for GL_RGBA is 3 (RGB) now, as
	it should be (we don't use alpha).

2001-12-22 19:15  digiman

	* nq/nq.dsp: win32 compile fix.

2001-12-22 11:50  mercury

	* nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/r_explosion.c,
	nq/r_part.c, qw/cl_pred.c, qw/client.h, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/r_explosion.c, qw/r_part.c: Render
	non-translucant water at the same time as walls.
	
	Change the setting/unsetting of the blend mode for translucant
	objects.
	
	Use cl.time - cl.oldtime in places instead of host_frametime, added
	cl.oldtime to QW.

2001-12-22 11:16  mercury

	* include/model.h, nq/Makefile.am, nq/cl_main.c, nq/cl_parse.c,
	nq/cl_tent.c, nq/client.h, nq/gl_draw.c, nq/gl_refrag.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/r_explosion.c, nq/r_explosion.h, nq/r_part.c,
	nq/render.h, nq/vid_sdl.c, qw/cl_ents.c, qw/cl_tent.c,
	qw/gl_draw.c, qw/gl_ngraph.c, qw/gl_poly.c, qw/gl_poly.h,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/r_explosion.c, qw/r_part.c, qw/vid_sdl.c,
	src/base/model.c, src/renderer/glquake.h, src/renderer/oglfuncs.h:
	BIIIG set of changes. (Unless otherwise noted, done to both QW and
	NQ.) Removed efrags from NQ. (Already gone from QW.) Added
	r_explosion.[ch] to NQ. (Already in QW.)
	
	Tweaked explosions quite a bit, also now use them instead of
	particle explosions.
	
	Removed all users of transpoly, now render all translucent objects
	additively instead of with alpha, needs no sorting among each
	other.
	
	Split water rendering out of DrawTextureChains, now rendered in
	R_DrawWaterTextureChains, which is called at the same time as the
	other translucent rendering.
	
	Play interesting tricks with vertex arrays.
	
	Added TWI_PreVDrawCVA, TWI_PostVDrawCVA, TWI_PreVDraw, and
	TWI_PostVDraw, they are inline functions called before and after
	each render from vertex arrays, the CVA versions lock the array
	first if possible. These may do a lot more in the future.
	
	Draw sprite models quite differently now, a /lot/ closer to how
	they were done before transpolys, with alpha test.
	
	Kill some particles a hair sooner then before, when the alpha or
	scale hits 0, instead of when they get below it.
	
	New global int, gl_tmus, contains the number of texture managing
	units, displayed on start.
	
	Now do things a little more interesting with dlights on models,
	handle colors more sanely among other things.
	
	Not enough for you? What do you mean not enough for you?

2001-12-22 10:59  eviltypeguy

	* TODO: Removed old schtuff from TODO

2001-12-18 10:06  knghtbrd

	* nq/cmd.c, nq/net_udp.c, qw/cmd.c, src/base/parm.c: Removed -noudp
	from NQ, use -nolan if you want that.  Removed the unused
	Cmd_CheckParm.	Also updated -safe.

2001-12-14 21:05  digiman

	* nq/cl_model.c, qw/cl_model.c: Remove unused variables and
	redesign a bit.

2001-12-14 15:20  knghtbrd

	* nq/cl_model.c, qw/cl_model.c: Mercury goofed.

2001-12-14 15:04  knghtbrd

	* TODO, nq/cl_model.c, qw/cl_model.c: This floodfill code ... never
	worked.  Mercury says it changed exactly three pixels (except that
	it didn't even do that much..)	If someone else happens to notice
	this, we can put it back.

2001-12-13 05:13  knghtbrd

	* include/Makefile.am, include/pcx.h, include/tga.h,
	qw/Makefile.am, qw/client.h, qw/gl_screen.c, qw/skin.c,
	src/renderer/Makefile.am, src/renderer/pcx.c, src/renderer/pcx.h,
	src/renderer/tga.h: Moving a few things around, a little sanity in
	qw/client.h

2001-12-12 23:08  digiman

	* nq/view.c, qw/view.c: More 'view' tweaking.

2001-12-12 21:42  digiman

	* nq/cmd.c: Fix aliases.

2001-12-12 13:15  digiman

	* nq/cl_tent.c: Vector2Angles here.

2001-12-12 12:20  digiman

	* nq/view.c, qw/cl_pred.c, qw/view.c: Cleanup, remove some unused
	code.

2001-12-11 15:21  molivier

	* include/Makefile.am, nq/Makefile.am, qw/Makefile.am,
	src/renderer/Makefile.am: Updated some "Makefile.am". They probably
	need some additional cleanings though.

2001-12-10 03:21  knghtbrd

	* src/base/mathlib.c: Before I did this, gcc3 refused to compile
	the file.  Guess it likes its last line of a file to have a
	newline.

2001-12-07 20:49  lordhavoc

	* nq/sv_phys.c: Rewrote most of pusher code, redesigned for good
	rotation + movement support, and pushers work again, rotation is
	untested however

2001-12-07 20:47  lordhavoc

	* include/mathlib.h: added VectorNegate (same as VectorCopy except
	it negates while doing so)

2001-12-07 20:46  lordhavoc

	* nq/world.h: added SV_HullForEntity prototype

2001-12-07 06:44  eviltypeguy

	* nq/: console.c, console.h, gl_screen.c, keys.c: NQ now has QW's
	console with a few slight modifications to maintain NQ
	compatability

2001-12-05 21:25  digiman

	* nq/cl_main.c, nq/gl_rmain.c, qw/gl_rmain.c: DAMN! I'm tired of
	fixing such things (IM_FORM is not the same as IM_ANIM)! Crucified
	zombies are now interpolated too.

2001-12-05 18:29  digiman

	* nq/gl_rmain.c, nq/sbar.c, qw/gl_rmain.c: Interpolation tweaking
	again.	Fix 'old status bar' mode in NQ.

2001-12-05 17:06  digiman

	* nq/r_part.c: A quick bugfix.

2001-12-05 16:11  digiman

	* include/mathlib.h, nq/cl_input.c, nq/cl_parse.c, nq/cl_tent.c,
	nq/gl_rmain.c, nq/gl_warp.c, nq/pr_cmds.c, nq/protocol.h,
	nq/r_part.c, nq/render.h, nq/view.c, qw/cl_cam.c, qw/cl_tent.c,
	qw/gl_rmain.c, qw/gl_warp.c, qw/r_part.c, src/base/mathlib.c: Add
	TE_RAILTRAIL (15) to NQ.  Replace realtime with cl.time and
	host_frametime with cl.time - cl.oldtime in most cases.  Add
	Vector2Angles.

2001-12-04 23:35  knghtbrd

	* nq/r_part.c, qw/r_part.c: This merge with NQ was brought to you
	by sed.  We don't have ent->cur in NQ just yet.

2001-12-04 19:00  mercury

	* qw/cl_ents.c: Fixed a really really stupid mistake which could
	lead to segfaults.

2001-12-04 15:47  mercury

	* qw/r_part.c: More tweaking, thanks to knghtbrd.

2001-12-04 15:19  mercury

	* qw/r_part.c, src/renderer/noise_textures.c: Some more tweaking,
	this, looks nice.

2001-12-04 11:57  mercury

	* qw/r_part.c, src/renderer/noise_textures.c: More tweaking.

2001-12-04 11:36  mercury

	* include/mathlib.h, nq/r_part.c, qw/gl_rmain.c, qw/r_part.c,
	src/renderer/noise_textures.c: Completely new rocket trails. (qw
	only, will do nq soon) Altered VectorTwiddle a little bit,
	considdering removing VectorTwiddleS.

2001-12-03 07:07  eviltypeguy

	* nq/r_part.c: [no log message]

2001-12-03 04:21  knghtbrd

	* qw/r_explosion.c: Someone forget a strlib?

2001-12-02 22:48  digiman

	* qw/: qw.dsp, r_explosion.c: Update workspace and friends.

2001-12-02 22:46  digiman

	* nq/gl_rmain.c, qw/gl_rmain.c: Hm... A slight improvement to the
	previos commit.

2001-12-02 22:06  mercury

	* nq/r_part.c: Update nq's r_part.c to match QW's.

2001-12-02 21:48  mercury

	* include/draw.h, nq/chase.c, nq/cl_model.c, nq/gl_draw.c,
	nq/world.c, qw/Makefile.am, qw/cl_model.c, qw/cl_tent.c,
	qw/gl_draw.c, qw/gl_poly.h, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/pmovetst.c, qw/r_explosion.c, qw/r_explosion.h, qw/r_part.c: Big
	set of changes.
	
	Move TraceLine to world.c in nq, and added to pmovetst.c in qw. 
	Improved traceline to give the normal as well.
	
	GL_LoadTexture now takes an additional argument, bpp.  For all
	existing cases it is 8, it may also be 32.
	
	Tweaked the rocket trails, longer cones, fewer of them.
	
	Reduced the number of particles from an explosion from 1024 to 512.
	
	Grabbed the explosion effect from DP for qw, but I have it
	disabled.  (It looks nice, but is much slower then the particle
	explosions now.)

2001-12-02 15:53  digiman

	* nq/gl_rmain.c, qw/gl_rmain.c, qw/qw.dsp: A slight interpolation
	fix.

2001-12-02 14:40  mercury

	* qw/Makefile.am: Add common.c to the list, oops.  Reformat again.

2001-12-02 14:24  mercury

	* include/host.h, nq/host.c, qw/Makefile.am, qw/cl_demo.c,
	qw/cl_ents.c, qw/cl_main.c, qw/cl_parse.c, qw/cl_tent.c,
	qw/client.h, qw/gl_refrag.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/protocol.h, qw/r_part.c, qw/render.h,
	qw/transform.c, qw/view.c: host.c host.h cl_main.c: Host_Frame now
	takes a double instead of a float.  qw/Makefile.am:   Reformatted
	the file list.	    Removed gl_refrag.c.  Everything else:  The
	great entity rewrite!	    I killed efrags, completely.

2001-12-02 14:06  knghtbrd

	* src/renderer/Makefile.am: Add the new files to Makefile.am

2001-12-02 14:01  knghtbrd

	* nq/gl_rlight.c, qw/cl_ents.c, qw/gl_rlight.c: Revert slight
	breakage regarding what min and max are, part of a change made in
	error a week or two ago.

2001-12-02 13:58  digiman

	* nq/pcx.c, nq/tga.c, nq/transform.c, nq/transform.h, nq/wad.c,
	qw/pcx.c, qw/tga.c, qw/transform.c, qw/transform.h, qw/wad.c,
	src/renderer/pcx.c, src/renderer/tga.c, src/renderer/transform.c,
	src/renderer/transform.h, src/renderer/wad.c: Ooops, forgot these
	(sorry everyone).

2001-12-01 22:07  digiman

	* include/mathlib.h, nq/cl_main.c, nq/gl_rmain.c, qw/cl_pred.c,
	qw/gl_rmain.c, src/base/mathlib.c: Add VectorInterpolate.  Fix
	animation interpolation (it was not working due to someone's typo).

2001-12-01 20:26  digiman

	* nq/Makefile.am, nq/nq.dsp, qw/Makefile.am, qw/qw.dsp,
	src/renderer/twilight_renderer.dsp: Move pcx.c and tga.c to
	src/renderer.

2001-12-01 18:39  digiman

	* nq/Makefile.am, nq/gl_rlight.c, nq/gl_rsurf.c, nq/nq.dsp,
	nq/transform.c, nq/transform.h, qw/Makefile.am, qw/gl_rlight.c,
	qw/gl_rsurf.c, qw/qw.dsp, src/renderer/Makefile.am,
	src/renderer/glquake.h, src/renderer/twilight_renderer.dsp: Move
	transform stuff and wad.c to src/renderer. As a part of the commit
	- rewrite transform a bit.  Fix view blending in gl_rlight.c. 
	Remove double warnings disabling.

2001-12-01 02:22  knghtbrd

	* nq/Makefile.am, qw/Makefile.am, src/renderer/Makefile.am: Forgot
	these.

2001-12-01 02:18  knghtbrd

	* nq/Makefile.am, nq/console.c, nq/gl_poly.c, nq/gl_rlight.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_screen.c,
	nq/gl_warp.c, nq/glquake.h, nq/host.c, nq/menu.c, nq/protocol.h,
	nq/r_part.c, nq/sbar.c, nq/screen.h, nq/transform.c,
	nq/transform.h, qw/cl_parse.c, qw/console.c, qw/gl_poly.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_screen.c,
	qw/gl_warp.c, qw/glquake.h, qw/menu.c, qw/r_part.c, qw/sbar.c,
	qw/screen.h, qw/transform.c, qw/transform.h,
	src/renderer/glquake.h: This is the big one.  QW and NQ have had
	their renderers merged again.  Do not unmerge them or I will have
	to hurt you.  That is all.  =)

2001-12-01 01:13  knghtbrd

	* AUTHORS: Added Jason Wilkins (fenix) to AUTHORS since our
	interpolation is based on his code.

2001-11-30 16:46  molivier

	* nq/cmd.c, qw/qw.dsp, src/renderer/dynogl.c,
	src/renderer/noise_textures.c, src/renderer/opengl.h: Fixed a
	couple of things for the Win32 version

2001-11-29 21:35  mercury

	* include/mathlib.h, qw/cl_ents.c, qw/cl_tent.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/r_part.c: mathlib.h:	   VectorTwiddle and
	VectorTwiddleS (S is for simple).      The names are actually
	descriptive of what we do with them. (by accident!)  cl_ents.c: A
	little cleanup of how we use time_left, and cl_numvisedicts. 
	gl_rmain.c:	Killed the particletexture variable.	  Some
	tweaking (0 actual effect) to the torch stuff.	gl_rmisc.c:
	R_InitParticleTexture is gone.	r_part.c:     Some clean up.	 
	No longer use the old particle texture.      Use quads with a MUCH
	nicer dot texture.	Properly center in all cases, try to
	remember to LART Vic.

2001-11-29 10:10  mercury

	* qw/: cl_main.c, gl_rmain.c, gl_rmisc.c, gl_rsurf.c, r_part.c:
	cl_main.c: Some debugging for server timed out cases.  gl_rmain.c: 
	   Make many functions static.	    Torch changes, time_left is
	handled here instead of the particle	   system, and we don't
	cull them based on if we can see them anymore.	gl_rmisc.c: Make
	some functions static.	gl_rsurf.c: Actually draw bmodel lightmaps.
	 r_part.c:     The functions for adding particles now return a
	boolean instead of	a pointer to the new particle (if any),
	this should reduce abuse.      Cleaned up the torch incursion code
	quite a bit.

2001-11-29 09:45  knghtbrd

	* qw/r_part.c: Nice improvement to the rocket trail.  Basically,
	there's a bit more fade between the red and the smoke, the smoke is
	a little darker, and because of the additive blending less
	overpowering.  Nice effect, distracts from the individual cones a
	bit.

2001-11-29 08:50  knghtbrd

	* qw/: gl_rsurf.c, r_part.c: rocket trails live longer again (10)
	and no longer segfault when you run out of particles.  They still
	look to coney from the side, but I'm working on that.

2001-11-28 22:09  knghtbrd

	* nq/vid_sdl.c, qw/gl_rsurf.c, qw/vid_sdl.c: Fix my own fuckup in
	vid_sdl.c - we now once again define both gl_mtex and
	gl_mtexcombine if you have them both, but we also make sure that
	combine can't be enabled without mtex.	Appropriate changes to
	gl_rsurf were made, we still have fullbright bmodels and I'll be
	damned if I can see why.

2001-11-28 10:01  knghtbrd

	* nq/: gl_poly.h, transform.h: *sigh*  Partial commits suck.

2001-11-28 09:46  knghtbrd

	* qw/Makefile.am, qw/gl_poly.h, qw/transform.h,
	src/renderer/gl_poly.h, src/renderer/transform.h: Man did I jump
	the gun with this...  A LOT more has to happen before this belongs
	in src/renderer...

2001-11-28 09:29  knghtbrd

	* qw/client.h: Let's use the value from quakedef, it's bigger.	=)

2001-11-28 08:57  knghtbrd

	* include/quakedef.h: And so did this.	=(

2001-11-28 05:51  knghtbrd

	* include/Makefile.am, nq/console.c, nq/gl_warp.c, nq/host.c,
	nq/host_cmd.c, nq/menu.c, nq/net.h, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/quakedef.h, nq/sbar.c, nq/server.h, nq/sv_main.c,
	nq/sv_phys.c, nq/sv_user.c, qw/net.h, qw/quakedef.h,
	include/model.h: quakedef.h is merged.	Amazing, no?

2001-11-28 02:20  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: Implemented gl_info command, more
	useful than spitting out a whole bunch of debugging info crap which
	interferes with seeing important messages.

2001-11-28 02:04  knghtbrd

	* src/renderer/: Makefile.am, gl_poly.h, transform.h: Last commit
	was borked, here's the fix

2001-11-28 02:00  knghtbrd

	* include/view.h, nq/cl_model.c, nq/gl_draw.c, nq/gl_refrag.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/glquake.h, nq/menu.c, nq/r_part.c,
	nq/render.h, nq/vid_sdl.c, qw/client.h, qw/gl_draw.c,
	qw/gl_ngraph.c, qw/gl_poly.h, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/glquake.h, qw/r_part.c, qw/transform.h, qw/vid_sdl.c,
	src/base/mathlib.c: A little progress on merging, not much. 
	glquake.h is basically the same for both engines now, with a minor
	exception or two.  This involves a few externs at the top of files
	that will go away as more merging happens.  I also fixed bugs with
	extension checking and made other small changes.

2001-11-27 22:31  digiman

	* nq/host.c, nq/r_part.c, qw/r_part.c, src/base/mathlib.c: Replace
	Q_rand() with rand() (temporary, until solution to a problem is
	found).  Also, base particles are centered if p->scale > 0.

2001-11-27 21:35  knghtbrd

	* configure.in: Er, let's still default to /etc for a --prefix of
	/usr, hmm?

2001-11-27 21:08  knghtbrd

	* configure.in: CFLAGS is now set bitchy AFTER everything else so
	configure doesn't trip over itself.  We now honor sysconfdir, which
	means people using the unix defaults need to be aware the global
	config is now in /usr/local/etc.  As always, --sysconfdir will
	override that.

2001-11-27 01:10  knghtbrd

	* qw/r_part.c: Improved teleport splash color

2001-11-26 15:56  knghtbrd

	* nq/gl_screen.c, qw/gl_screen.c: Fix (probably) screenshot bug for
	Voodoo2.

2001-11-26 07:58  eviltypeguy

	* TODO: Updated todo

2001-11-26 06:51  mercury

	* qw/: gl_rlight.c, gl_rmain.c, r_part.c: Use the global v_index
	and i_index variables for vertex arrays instead of local variables.
	
	Reworked the torch particles to be base particles, and all base
	particles are now rendered as additive.
	
	I'm not sure if that stays though.

2001-11-26 06:47  mercury

	* nq/: gl_draw.c, net.h: A few cleanups of unused global variables.

2001-11-26 05:28  eviltypeguy

	* nq/cl_input.c, nq/cl_main.c, nq/client.h, qw/cl_input.c: These
	small changes were long overdue on my part, I should have made them
	a long time ago when I changed the rest of the _Init _Init_Cvars
	scheme

2001-11-26 04:50  eviltypeguy

	* qw/cl_input.c: Doh, missed these last time around, these should
	be cvar_archive too as well

2001-11-26 04:48  eviltypeguy

	* nq/cl_input.c: I suppose these should be cvar_archive as well

2001-11-26 04:46  eviltypeguy

	* qw/cl_input.c: Erm...freelook isn't cvar_archive, who smoketh the
	crack?

2001-11-26 04:18  lordhavoc

	* qw/gl_poly.c: fix for fullbrights on transpolys, and fix for
	disabling color array

2001-11-26 04:11  knghtbrd

	* nq/gl_rmisc.c, qw/gl_rmisc.c, qw/r_part.c: Minor changes

2001-11-26 03:46  eviltypeguy

	* qw/r_part.c: This makes for 2fps faster timedemos in QW, slight
	performance improvement to the r_draw_base_particles loop

2001-11-26 03:18  eviltypeguy

	* nq/r_part.c: Don't draw dead particles, that lead to particle
	overload, causing bizarre effects such as all active particles
	disappearing every 8-16 seconds...

2001-11-26 03:07  eviltypeguy

	* qw/r_part.c: Don't draw dead particles, that lead to particle
	overload, causing bizarre effects such as all active particles
	disappearing every 8-16 seconds...

2001-11-26 03:04  raineth

	* nq/net_dgrm.c: One byte fix to make netplay work again if you
	create a game from the menus, I'm still working on making
	-dedicated work again...

2001-11-26 01:08  eviltypeguy

	* qw/: cl_ents.c, cl_parse.c: Make setting of ent->time_left more
	sane

2001-11-26 00:34  lordhavoc

	* qw/: gl_poly.c, gl_rmain.c: redesigned transpolyrender and
	changed where transpolyclear/transpolyrender are called, also
	converted sprites to use transpoly

2001-11-25 22:37  eviltypeguy

	* qw/r_part.c: These are better settings for the torches, the wall
	torches are almost *perfect* IMO, but the torches used for the
	braziers, etc. need some more tweaking. The other problem is that
	after about 8 seconds, all the particles used for torches die :/
	And I don't know why...

2001-11-25 21:51  eviltypeguy

	* qw/r_part.c: particle torches work again, they do *need* some
	tweaking, currently each torch looks like a miniature bonfire :>
	But at least they're functional ;>

2001-11-25 21:50  eviltypeguy

	* qw/gl_poly.c: Minor formatting change

2001-11-25 20:47  eviltypeguy

	* qw/: gl_poly.c, gl_rmain.c: Fix particles so that they get
	rendered last, and remove some (possibly unnecessary) state changes
	from transpolyrender

2001-11-25 20:31  eviltypeguy

	* qw/r_part.c: A more sane default for rocket trail particle life
	and size

2001-11-25 20:16  digiman

	* qw/: qw.dsp, r_part.c: Update workspace.  Also fix compile
	warings (man, someone was trying to return void R_RocketConeTrail
	from void R_RocketTrail - kill him!)

2001-11-25 20:12  eviltypeguy

	* configure.in, qw/gl_rsurf.c: --enable-bitchiness=yes for
	devel_releases by default, a fix for gl_rsurf to compile under
	this...

2001-11-25 06:08  mercury

	* qw/: gl_rlight.c, gl_rmisc.c, gl_rsurf.c, glquake.h, r_part.c,
	vid_sdl.c: gl_cva variable, true if we have the compiled vertex
	array extension.  -nocva goes with it.
	
	We now have gl_mtex and gl_mtexcombine variables, note that gl_mtex
	is false when gl_mtexcombine is true, this is instead of
	gl_mtexable and gl_mtexable_combine_(arb_ext).
	
	MAX_VERTEX_INDICES is now 4x the number of vertices, instead of 3x.
	
	As LordHavoc accidently committed my new particle system this is an
	update to it, the r_particles cvar was moved to R_InitParticles,
	r_cone_particles and r_base_particles were also added as cvars. 
	(NOTE: They don't actually /DO/ anything yet.)
	
	Rewrote the mtex and mtexcombine extension detection code.

2001-11-25 05:48  lordhavoc

	* qw/: gl_rsurf.c, r_part.c: removed duplicate lightmap update on
	bmodels

2001-11-25 02:16  eviltypeguy

	* qw/gl_poly.c: Added our standard header, tacked on a copyright
	for LordHavoc, and added the necessary includes since string
	library functions are being used...

2001-11-25 02:09  lordhavoc

	* qw/: gl_poly.c, gl_poly.h, transform.c, transform.h: forgot to
	add these before, software transform code, and transpoly (sorted
	transparent polygon system)

2001-11-25 01:46  lordhavoc

	* include/model.h, nq/gl_rmisc.c, nq/glquake.h, nq/r_part.c,
	qw/Makefile.am, qw/gl_draw.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/gl_rsurf.c, qw/gl_warp.c, qw/glquake.h,
	qw/r_part.c, src/renderer/oglfuncs.h: redesigned surface rendering
	to upload lightmaps more efficiently (better texsubimage updates)
	and much sooner (before surfaces are processed for real)
	restructured surface processing to minimize state changes combined
	all DrawTextureChains-like code into just DrawTextureChains added
	r_particles cvar to particle rendering to allow disabling particles
	(benchmarking reasons)

2001-11-24 22:13  digiman

	* nq/gl_rmain.c, nq/render.h, nq/vid_sdl.c, qw/gl_rmain.c,
	qw/render.h, qw/vid_sdl.c: Do not interpolate between frames of 2
	different models.  Store hardware gamma to config files.

2001-11-24 06:55  eviltypeguy

	* nq/gl_rmisc.c, qw/gl_rsurf.c, qw/menu.c, qw/sbar.c, qw/snd_dma.c:
	This allows qw and qw-server to compile under enable-bitchiness=yes

2001-11-24 05:50  eviltypeguy

	* nq/gl_rmisc.c, qw/gl_rmisc.c: Seems I accidentally left
	GL_COLOR_ARRAY enabled, shame on me...(although I have no idea what
	it does :>)

2001-11-23 10:08  raineth

	* nq/gl_draw.c, qw/gl_draw.c: Query the default value for
	gl_max_size from GL (3dfx Voodoo cards return the correct value
	(256) here)

2001-11-23 10:07  raineth

	* nq/cvar.c, qw/cvar.c: Only write CVAR_ARCHIVE variables to the
	config file.

2001-11-23 08:56  knghtbrd

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/glquake.h,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c, qw/glquake.h:
	gl_keeptjunctions is gone - there is no longer a choice. 
	T-junctions are enough of a problem without inviting superfluous
	bug reports of "snow" as a result of using it.	It doesn't fix 3dfx
	users' problem since for them it happens in pretty much
	everything..  Anyone else seeing the problems from here on has
	found a bug either in a map or our code.

2001-11-20 20:48  digiman

	* nq/host.c, qw/cl_main.c, qw/cl_parse.c, qw/client.h: Add
	"writeconfig" cmd to QW and fix compiling.

2001-11-20 19:27  digiman

	* include/host.h, nq/cl_main.c, nq/host.c, nq/host_cmd.c: Randomize
	rotation of models.  Add 'writeconfig' cmd to NQ.

2001-11-20 19:24  zinx

	* nq/gl_draw.c, qw/gl_draw.c, qw/gl_rmisc.c: 
	gl_max_size fixes, diff reduction in gl_draw.c

2001-11-20 09:45  raineth

	* nq/gl_draw.c, nq/gl_rlight.c, qw/cl_ents.c, qw/gl_draw.c:
	Actually, in all these cases you had min() where you really meant
	max(), which is why they weren't working at all as you expected..

2001-11-20 08:02  eviltypeguy

	* nq/gl_rlight.c, qw/cl_ents.c, qw/gl_rmain.c: Is min broken or is
	there something deeper going on here, this fixes a few small cases
	as well, and again I don't know why, it just works this way.

2001-11-20 07:32  eviltypeguy

	* nq/gl_draw.c, qw/gl_draw.c: Don't fscking ask me why this fixes
	our problem, but it does, gcc or soemthing else is MEGA b0rked :>

2001-11-19 23:16  eviltypeguy

	* TODO: Added my TODO's to the list so that people know that I'm
	working on certain items so they don't start on the same tangent
	duplicating already in progress work...

2001-11-19 23:02  digiman

	* nq/menu.c, qw/menu.c: Add particle torches to gfx menu and
	improve it a bit.

2001-11-19 19:50  digiman

	* nq/cl_model.c, qw/cl_model.c: New torches (progs/fire.mdl) don't
	cast shadows now.

2001-11-19 16:01  digiman

	* nq/cl_model.c, qw/cl_model.c: Cleanup.

2001-11-19 14:53  knghtbrd

	* nq/gl_draw.c, nq/gl_rmain.c, qw/gl_draw.c, qw/glquake.h: NQ no
	longer has GL_SelectTexture.  Went to check the diff between the
	two gl_draws to make sure that was the last major difference only
	to discover that the files were extremely different, courtesy of
	EvilTypeGuy.  Undid about half his formatting changes to return the
	high SNR of the diff.  Now is NOT a great time to go making a whole
	bunch of gratuitous changes in an uneven fashion because you don't
	like the code's format.  Given the amount of time I've spent
	putting things back in shape, I will be quite upset if I have to do
	similar again in the near future.  I'm going to bed.

2001-11-19 13:28  knghtbrd

	* include/common.h, include/vid.h, qw/cl_model.c, qw/common.c,
	qw/console.c, qw/gl_draw.c, qw/gl_rmain.c, qw/glquake.h, qw/keys.c,
	qw/keys.h: Hardly complete, but this begins the work for making QW
	build with the --enable-bitchiness option.

2001-11-19 08:09  eviltypeguy

	* nq/client.h: Removed an unnecessary include, and reformatted the
	file sanely

2001-11-19 07:23  eviltypeguy

	* nq/chase.c: clean up some formatting, and removed unnecessary
	#include's

2001-11-19 07:19  eviltypeguy

	* src/: base/buildnum.c, sound/cdmusic.c: Some sanity formatting
	changes, plus elimination of unnecessary include files...

2001-11-19 02:01  knghtbrd

	* nq/wad.c, qw/wad.c: Warning fix

2001-11-19 02:00  knghtbrd

	* configure.in: Added DEVEL_RELEASE and VERSION as soon in
	configure.in as it'd let me, I know AM_INIT_AUTOMAKE does VERSION
	but it's easier to read this way.  Also added --enable-werror
	(defaults to $DEVEL_RELEASE) and --enable-bitchiness (defaults to
	no..)  The latter is not as bitchy as it could be, but it is as
	bitchy as I wanna fight with at the moment.

2001-11-19 01:56  digiman

	* nq/: Makefile.am, model.c: Ooops, forgot these two.

2001-11-19 01:52  digiman

	* include/bspfile.h, include/model.h, nq/bspfile.h, nq/cl_model.c,
	nq/nq.dsp, nq/sv_model.c, qw/Makefile.am, qw/bspfile.h,
	qw/cl_model.c, qw/gl_mesh.c, qw/gl_model.c, qw/qw.dsp,
	src/base/Makefile.am, src/base/model.c, src/base/twilight_base.dsp:
	Merge model loading code for all targets where possible.

2001-11-19 01:19  eviltypeguy

	* nq/cl_model.c, nq/client.h, nq/cmd.c, nq/common.c, nq/console.c,
	nq/console.h, nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/gl_rsurf.c, nq/gl_warp.c, nq/glquake.h, nq/host.c,
	nq/host_cmd.c, nq/keys.c, nq/keys.h, nq/menu.c, nq/model.c,
	nq/net.h, nq/net_dgrm.c, nq/net_main.c, nq/pr_cmds.c,
	nq/pr_edict.c, nq/progs.h, nq/sbar.c, nq/server.h, nq/snd_dma.c,
	nq/sv_main.c, nq/sv_phys.c, nq/sv_user.c, include/model.h,
	qw/gl_model.c, qw/sbar.c: It's fun to commit lots of code :> This
	allows NQ to compile under: -Wall -Wpointer-arith -Wcast-qual
	-Wsign-compare -Werror -Winline, QW will come when I feel like
	going through this pain again...

2001-11-18 06:01  eviltypeguy

	* qw/gl_mesh.c: ansify comments

2001-11-18 05:50  eviltypeguy

	* qw/gl_draw.c: ansify comments

2001-11-18 05:45  eviltypeguy

	* qw/gl_rsurf.c: use (possibly?) faster shifts instead of
	multiplies during calculations for powers of 2...

2001-11-18 05:34  eviltypeguy

	* qw/gl_rsurf.c: ansify comments

2001-11-18 01:14  digiman

	* include/host.h, nq/common.c, nq/sys.c, qw/common.c: Remove unused
	msg_suppress_1.  Also, add the missing flush command calls to the
	end of all Sys_Printf (NQ).

2001-11-17 22:09  digiman

	* nq/sv_phys.c: Fix bmodels again!

2001-11-17 11:04  knghtbrd

	* src/renderer/: dynogl.c, dynogl.h: Maybe it's nothing and maybe
	it's not, I just feel more comfortable having the snprintfs there
	instead of the calls to va.  You just never know when someone's
	gonna use va at a higher level.  I'm suspecting it's a function we
	should simply not have.

2001-11-17 02:08  knghtbrd

	* src/renderer/oglfuncs.h: We don't actually need
	glDrawRangeElements.

2001-11-17 00:58  knghtbrd

	* nq/gl_rsurf.c, nq/vid_sdl.c, qw/vid_sdl.c: A partial fix for sky
	stuff from QW, and cleaning up an fprintf to behave a bit more like
	the rest of the engine.

2001-11-17 00:01  raineth

	* nq/: Makefile.am, sys.c: I swear I made these win32 fixes before.
	 Even so, I can't believe MSVC doesn't complain about some of these
	things...

2001-11-16 23:31  raineth

	* src/renderer/noise_textures.c: Seems we need windows.h as well

2001-11-16 23:29  raineth

	* src/renderer/noise_textures.c: Fixed config.h inclusion (mingw32
	builds weren't possible)

2001-11-15 06:37  mercury

	* qw/gl_rsurf.c: Better way of dealing with the combine case and
	skys.  Need to do it for the others too now that I look.

2001-11-15 06:36  eviltypeguy

	* nq/vid_sdl.c, qw/vid_sdl.c: Added -nomtexcombine option, now
	there's no excuse for a developer on a card with env_combine
	extension to NOT check the mtex without env_combine case...

2001-11-15 06:23  knghtbrd

	* nq/gl_warp.c, qw/gl_warp.c: Mercury swears he fixed this already.
	 EmitBothSkyLayers now disables TMU1 if we're in multitexture and
	re-enables it afterward.  R_DrawSkyChain now uses EmitBothSkyLayers
	to cut down the redundant code.  This seemed very slow to me until
	I realized that I had r_novis on to try and work the draw code a
	bit earlier.  Oops.

2001-11-15 05:12  eviltypeguy

	* nq/model.c: If you use string functions, including memset/memcpy,
	etc. YOU MUST include strlib.h, I've had to do this WAY too many
	times

2001-11-15 03:44  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Since Mercury is busy playing with
	particles, someone had to fix bmodels.	That would be me.  I didn't
	test the mtex+nocombine case, but I think I recall Mercury telling
	me that he didn't do overbright for that case for all the reasons
	we agreed that it should be done with texenv combine.

2001-11-15 03:40  knghtbrd

	* nq/glquake.h: This'll learn me to test-compile before I commit!

2001-11-15 02:51  knghtbrd

	* TODO, nq/gl_draw.c, nq/gl_warp.c, qw/gl_warp.c: A little diff
	reduction for gl_warp mostly.  gl_rmain is the only thing we have
	which still uses GL_SelectTexture in NQ.

2001-11-14 20:45  eviltypeguy

	* qw/gl_rsurf.c: Add mercury's fix for NQ/gl_rsurf.c
	
	"Fix a small mistake in the mtex non-combine wall renderer."

2001-11-14 20:23  eviltypeguy

	* src/renderer/noise_textures.c: Change all GL_LUMINANCE_ALPHA
	generated textures to GL_RGBA textures, since apparently
	GL_LUMINANCE_ALPHA is buggy for some GL drivers, generally not
	supported in hardware if it supported (it's supported through
	drivers) and as such is not an optimized path, this appears to
	work, but I'm sure I may have b0rked it...

2001-11-14 02:27  mercury

	* nq/gl_rmain.c, nq/gl_rmisc.c, qw/gl_rmisc.c: Fix some state
	stuff.	Also fix timerefresh.

2001-11-13 21:22  mercury

	* nq/gl_rsurf.c: Fix a small mistake in the mtex non-combine wall
	renderer.

2001-11-13 20:08  mercury

	* qw/gl_rmisc.c, src/renderer/noise_textures.c: Fixed vic's
	breaking of noise textures. *grumble*

2001-11-13 14:39  digiman

	* nq/cl_model.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/glquake.h,
	nq/host_cmd.c, nq/model.c, nq/sv_model.c, qw/gl_model.c,
	qw/gl_rmisc.c, src/renderer/noise_textures.c,
	src/renderer/twilight_renderer.dsp: cl_model.c sv_model.c and
	model.c header cleanup. We can move model.c to a shared directory
	now (as soon as I fix QW and QWSV).  Update twilight_renderer, and
	fix compile warnings in noise_textures.c Comment TNT_Init in
	gl_rmisc.c - it crashes the game (total fuck up).

2001-11-13 09:31  mercury

	* qw/gl_rsurf.c: Erk, and a fix.

2001-11-13 09:29  mercury

	* qw/gl_rsurf.c: A little faster, oops.

2001-11-13 09:16  mercury

	* qw/gl_rsurf.c: Optimize the two mtex wall rendering cases for QW.

2001-11-13 07:57  mercury

	* qw/gl_rmisc.c, src/renderer/Makefile.am,
	src/renderer/noise_textures.c: Noise textures!

2001-11-13 07:32  eviltypeguy

	* nq/view.c: Put the old v_calcbob back, fixes constant bobbing of
	player while in midair with oonsole up....

2001-11-13 07:21  eviltypeguy

	* nq/gl_screen.c: Ansify comments

2001-11-13 06:56  eviltypeguy

	* qw/r_part.c: NQ's particle system appears to work right, QW's
	does not, hence QW gets NQ's particles...

2001-11-13 06:07  eviltypeguy

	* nq/r_part.c, qw/r_part.c: One line fix to ensure that particle
	system resets color to white when done so text on the UI/console
	isn't JACKED, (i.e. changes color based on what the particle system
	has pulled out of it's bag)

2001-11-13 05:56  eviltypeguy

	* nq/gl_draw.c: Move along, there's nothing to see here, these
	aren't the formatting changes you're looking for

2001-11-13 04:07  mercury

	* include/mathlib.h, include/qtypes.h, qw/gl_rlight.c: A few minor
	things done for the new particle system.
	
	Also made gl_rlight use the real sin and cos for generation of its
	tables, makes things actually render correctly.
	
	This does NOT include the new particle system though, that is
	still, being tweaked.

2001-11-13 00:25  digiman

	* src/renderer/twilight_renderer.dsp: Update twilight_renderer
	workspace.

2001-11-13 00:19  knghtbrd

	* src/renderer/: Makefile.am, noise.c: Mercury wanted this.  =)

2001-11-12 22:57  knghtbrd

	* nq/gl_rsurf.c, nq/gl_screen.c, nq/menu.c, qw/gl_rsurf.c,
	qw/gl_screen.c: Some diff reduction in gl_rsurf which is now once
	again identical.  Some in gl_screen to fix r_contrast, more can be
	done here.  Moved the menu quit Y/N box to menu.c since it belongs
	there even though it mucks with guts of gl_screen..

2001-11-12 21:53  digiman

	* nq/: cl_parse.c, gl_rmain.c, r_part.c: NQ will try to load
	progs/fire.mdl and draw it instead of progs/flame.mdl.	Also
	particle torches look a bit better now.

2001-11-12 18:52  knghtbrd

	* nq/r_part.c, qw/r_part.c: Vic changed the blendfunc to
	GL_SRC_ALPHA, GL_ONE for drawing the particle torches.	He uses
	software brightness, so when he forgot to change it back it didn't
	seem to bother him much.  It bothers everyone else, I can assure
	you it does.  =)  Seems r_brightness > 1 causes texture corruption
	in NQ still, this is probably attributed to the halfassed state
	change reduction in NQ - I'm betting there's a GL_BLEND that's
	getting turned on in there and then not turned off again.

2001-11-12 10:31  molivier

	* src/sound/twilight_sound.dsw: Forgot to remove this useless DSW

2001-11-12 10:28  molivier

	* nq/nq.dsp, src/sound/target.c: Updated MSVC6 project files. Also,
	we mustn't provide a pointer to SDL sound thread until its
	structure is completely initialized

2001-11-12 10:21  eviltypeguy

	* nq/bspfile.h, src/sound/cdaudio.h, src/sound/cdmusic.c: Minor
	formatting changes, plus more ansi C commentification

2001-11-12 09:43  eviltypeguy

	* nq/vid_sdl.c, qw/vid_sdl.c: Don't need these, since they're
	included by other files...

2001-11-12 09:28  eviltypeguy

	* qw/vid_sdl.c: Don't need strlib or mathlib

2001-11-12 09:28  eviltypeguy

	* nq/vid_sdl.c: Don't need strlib here...

2001-11-12 09:20  eviltypeguy

	* nq/vid_sdl.c, qw/vid_sdl.c: kill the old ispermedia variable,
	since it's not used anywhere, and reformat the code comments ansi C
	style...

2001-11-12 08:16  eviltypeguy

	* qw/gl_rsurf.c: Minor formatting changes

2001-11-12 07:34  eviltypeguy

	* nq/view.c, qw/view.c: diff reduction of view.c in preparation for
	a move of all common view functions to src/renderer/view.c
	possibly...

2001-11-12 07:33  eviltypeguy

	* nq/host.c: added && cl.maxclients > 1 to allow uncapped framerate
	when playing singleplayer quake, possible NetQuake breakage,
	although a simple test of starting a local NetQuake game doesn't
	show any...

2001-11-12 04:25  eviltypeguy

	* include/view.h, qw/view.c: Removal of ancient deprecated lcd_x
	cvars for lcd shutter glasses...

2001-11-12 03:42  eviltypeguy

	* nq/r_part.c, qw/r_part.c: Temporary fixes to give the particle
	system some sanity again, plus some minor code formatting changes
	so that the changed code fit in more with the rest of the code
	(formatting wise)

2001-11-12 01:41  digiman

	* nq/r_part.c, qw/r_part.c: Particle torches do not look brown
	anymore.

2001-11-12 01:04  mercury

	* qw/gl_rsurf.c: 0-4 lightmap range for the mtex combine case.

2001-11-12 00:19  knghtbrd

	* nq/r_part.c, qw/r_part.c: Upped the number of particles.  I can't
	say the first attempt at particle torches came out looking good
	(they look brown!), but at least they will not crash anymore. 
	Tested with a sack of grenades and a map with r_novis turned on.

2001-11-11 23:47  eviltypeguy

	* qw/gl_rlight.c: You need to #include "strlib.h" if you use
	memcpy/or other string functions

2001-11-11 23:30  digiman

	* include/model.h, nq/cl_model.c, nq/cl_parse.c, nq/gl_rmain.c,
	nq/gl_rmisc.c, nq/glquake.h, nq/r_part.c, nq/render.h,
	qw/cl_ents.c, qw/cl_parse.c, qw/gl_model.c, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/glquake.h, qw/r_part.c, qw/render.h: Add particle
	torches (cvar 'gl_particletorches' toggles them on/off). Be aware -
	 there still can be maximum of 2048 particles on the screen! NQ:
	sprite drawing uses vertex arrays now.

2001-11-11 23:04  knghtbrd

	* qw/cl_parse.c, src/base/mathlib.c: Couple warnings squashed.

2001-11-11 19:49  knghtbrd

	* nq/: gl_draw.c, glquake.h: gl_draw diff reduction, Mk II.

2001-11-11 19:37  digiman

	* nq/cl_main.c, nq/sv_phys.c, qw/cl_parse.c, src/base/mathlib.c:
	Fix bmodels movement again (I hope this is the last time).  As a
	part of a fix I had to disable usage of Q_sin and Q_cos in
	AngleVectors- it was a disaster.

2001-11-11 19:36  knghtbrd

	* TODO, nq/console.c, nq/gl_rmain.c, nq/gl_screen.c, nq/keys.c,
	nq/keys.h, nq/vid_sdl.c, qw/gl_rmain.c, qw/gl_screen.c,
	qw/vid_sdl.c: diff reduction for vid_sdl.c.  Of course, this caused
	many problems, so a number of other things had to be done as well
	such as keys, a little for gl_screen and gl_rmain.  Also made a few
	cleanups besides.

2001-11-11 18:21  digiman

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/glquake.h,
	nq/vid_sdl.c, qw/gl_draw.c, qw/gl_rsurf.c: Ported new gl_rsurf.c
	from QW to NQ (including other misc changes).  GL_MODULATE in
	GL_Set2D.

2001-11-11 17:52  digiman

	* qw/: gl_rmain.c, gl_rsurf.c, glquake.h, r_part.c: Removed
	'r_entorigin' and 'modelorg'.

2001-11-11 17:14  mercury

	* qw/gl_rsurf.c, qw/glquake.h, qw/vid_sdl.c, src/renderer/opengl.h,
	src/renderer/opengl_ext.h: Just a few little things, we now
	actually include the extension defines.  (That would be
	opengl_ext.h.) We now have a 0-2 lightmap range in all but one
	case.  (The one case is mtex without combine, I'm not sure it will
	EVER happen.) Cleaned up some lightmap problems.  -bpp no longer
	decides if we use 3 byte or 4 byte lightmaps.  We now use
	gl_colorlights 2 to say we want a 4 byte lightmap.

2001-11-11 06:42  mercury

	* include/mathlib.h, qw/gl_rlight.c, qw/gl_rmisc.c, qw/glquake.h,
	src/base/mathlib.c: VectorVectors, and slight improvements for
	varray indices.  (Neither used in current code, some used in my
	particle toys.)

2001-11-10 23:01  knghtbrd

	* include/draw.h, nq/common.c, nq/gl_draw.c, nq/gl_rmisc.c,
	nq/glquake.h, nq/menu.c, nq/sbar.c, nq/vid_sdl.c, qw/common.c,
	qw/gl_draw.c, qw/gl_rsurf.c, qw/menu.c, qw/sbar.c, qw/vid_sdl.c:
	This is what you call diff reduction for gl_draw.c - Had to
	implement the basis for vertex arrays in NQ, also made a few other
	small cleanups to reduce dead code.  More to follow.

2001-11-10 16:16  knghtbrd

	* TODO, qw/gl_draw.c: A little cleanup after Mercury - just a pair
	of GL_BLEND's he forgot after he did the big state cleanup is all. 
	One less bug before release!

2001-11-09 20:14  digiman

	* twilight.dsw, include/common.h, nq/cl_model.c, nq/gl_rsurf.c,
	nq/glquake.h, nq/model.c, nq/nq.dsp, nq/pr_cmds.c, nq/sv_model.c,
	nq/sv_phys.c, nq/world.c, qw/qw.dsp, src/sound/target.c,
	src/sound/twilight_sound.dsp, src/sound/twilight_sound.dsw: Add
	twilight_sound.  Bmodels can move and rotate and the same time
	(fixes misc_teleporttrain movement on end.bsp) (NQ).  Moved
	gl_subdivide_size from model.c to cl_model.c (NQ).  Other misc
	changes.

2001-11-07 06:43  knghtbrd

	* include/Makefile.am, include/cdaudio.h, include/sound.h,
	nq/Makefile.am, nq/cd_sdl.c, nq/snd_mem.c, nq/snd_mix.c,
	nq/snd_sdl.c, qw/Makefile.am, qw/cd_sdl.c, qw/snd_mem.c,
	qw/snd_mix.c, qw/snd_sdl.c, src/sound/Makefile.am,
	src/sound/cdaudio.h, src/sound/cdmusic.c, src/sound/mem.c,
	src/sound/mix.c, src/sound/sound.h, src/sound/target.c: Sound is
	moved to src/sound now, with the exception of the old snd_dma, as
	close as we'll ever come to src/sound/sound.c.	I cheated with
	console and cmd prototypes which are common even though the rest of
	those subsystems aren't yet.  They're FIXME'd and at the top of the
	file.  If you care that much, fix it - it's not hard.  snd_dma is
	because it's got its gr grubby mitts on way too much.  If you want
	to finish it, be my guest.  Beware, snd_dma is evil.

2001-11-05 20:41  digiman

	* nq/gl_rmain.c, qw/gl_rmain.c: Heh, fov 90 is back (thanx Tonik).

2001-11-04 17:37  knghtbrd

	* TODO, include/sound.h, nq/snd_dma.c, nq/snd_sdl.c, qw/snd_dma.c,
	qw/snd_sdl.c: The sound-won't-die-on-crash bug has been worked
	around.  SDL's sound is usually a seperate thread.  This means that
	when you want to muck around with the sound buffers, you need to
	lock things to prevent concurrency issues.  (Think waiting for
	retrace in graphics so you don't get tearing.) When I did SDL sound
	for Project Twilight, I looked at QF's stuff and saw they basically
	locked audio immediately.  I asked some people about this and was
	told that was necessary and got incoherent mumbling about threads
	for a reason.  It most certainly is not required, it's even a bad
	idea.
	
	The way things were happening, the sound was always locked until
	just after S_PaintChannels, in SNDDMA_Submit which unlocked and
	relocked the audio, perhaps giving the sound callback a chance to
	run if it needed to, but perhaps not.  (This would explain MacOS X
	sound problems, I'm amazed it works at all actually!)  The trick is
	to leave them unlocked until you hit S_Update and lock it then,
	unlocking it afterward.  Would probably also work if you lock only
	in S_PaintChannels.
	
	Except that the audio callback basically calls S_PaintChannels
	again in the audio callback.  If you lock audio in the audio
	thread, BAD THINGS will happen, okay?  Until tonight I really
	didn't understand the callback, I just used the one from QuakeForge
	as noted elsewhere.  The callback will try to fill the SDL buffer
	completely this way, except that it doesn't actually work out that
	way.  Solution?  Remove S_PaintChannels from the callback.  You
	lose the benefit of the thread this way, but we never had that
	benefit anyway.  You also are still using more memory than you need
	to, but ridding ourselves of the shm structure would involve a
	rewrite of the entire sound subsystem and isn't likely anytime
	soon.

2001-11-04 15:02  digiman

	* nq/cl_parse.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/pr_edict.c,
	qw/cl_demo.c, qw/gl_model.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/qw.dsp: Cleanup.

2001-11-01 03:49  knghtbrd

	* TODO, include/sys.h, nq/sys.c, nq/tga.c: sys.h is now completely
	merged, nq's sys.c has had things we don't need anymore removed,
	nq/tga.c is now identical to QW's.

2001-10-31 23:18  knghtbrd

	* configure.in: Software development is a constant race between
	coders idiotproofing the code, and nature producing better idiots. 
	It was possible, if you didn't read the docs to get the default
	opengl library to be "yes" or "no".  No longer.  There are a
	million other ways to shoot yourself in the foot with autoconf, but
	this is no longer one of them.

2001-10-31 23:14  knghtbrd

	* qw/cmd.c: New command, crash.  Requires developer.  Use it to
	segfault twilight, w00t!  Added for testing how SDL copes with
	having the rug pulled out from under it.

2001-10-31 02:55  knghtbrd

	* include/common.h, nq/common.c, nq/quakedef.h, qw/common.c: Little
	more diff reduction for common.c

2001-10-31 01:50  knghtbrd

	* nq/Makefile.am, nq/r_part.c, nq/sys.c, nq/sys.h, qw/Makefile.am,
	qw/cl_input.c, qw/cl_pred.c, qw/cl_tent.c, qw/console.c,
	qw/gl_draw.c, qw/gl_mesh.c, qw/gl_model.c, qw/gl_ngraph.c,
	qw/gl_refrag.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/hash.c, qw/hash.h,
	qw/keys.c, qw/mdfour.c, qw/menu.c, qw/pmove.c, qw/pmovetst.c,
	qw/quakedef.h, qw/sbar.c, qw/skin.c, qw/snd_dma.c, qw/snd_mem.c,
	qw/snd_mix.c, qw/sys.c, qw/sys.h, qw/vid_sdl.c, qw/view.c,
	include/Makefile.am, include/common.h, include/sys.h: A little
	rearranging, hopefully I'm not forgetting anything.

2001-10-30 21:17  knghtbrd

	* TODO, include/Makefile.am, include/bothdefs.h, include/common.h,
	qw/Makefile.am, qw/cd_sdl.c, qw/cl_cam.c, qw/cl_demo.c,
	qw/cl_ents.c, qw/cl_main.c, qw/cl_parse.c, qw/cmd.c, qw/common.c,
	qw/gl_mesh.c, qw/net_chan.c, qw/net_udp.c, qw/pmove.c,
	qw/pmovetst.c, qw/quakedef.h, qw/r_part.c, qw/zone.c: Return of
	quakedef.h for qw, basically for diff reduction reasons.  We now
	-I$(top_srcdir)/qw for qw-server which will help with merging the
	sources a bit.	Significant changes in TODO.

2001-10-30 20:57  mercury

	* include/mathlib.h, include/qtypes.h, src/base/mathlib.c: Some
	cleanup, moved fixed*_t to qtypes.h.  Actually include qtypes from
	mathlib.h.
	
	Don't include common.h in mathlib.c.

2001-10-30 05:13  eviltypeguy

	* src/base/crc.c: Hmm...strlib.h is important if you actually want
	to use memcpy :)

2001-10-28 02:16  mercury

	* qw/: gl_draw.c, gl_ngraph.c, gl_rlight.c, gl_rmain.c, gl_rmisc.c,
	glquake.h, keys.c, r_part.c: Switch from interleaved vertex arrays
	to separate arrays.  Now draw flashblend dlights as vertex
	triangles, instead of as triangle fans, means we can dump them to
	GL all at once.
	
	Oh, and fix a slight oops, I somehow removed pause from the list of
	keys, sorry.

2001-10-26 13:25  mercury

	* qw/: gl_draw.c, gl_screen.c: Center crosshair and center prints
	properly when conwidth or conheight is different from the video
	mode.  Fixed Draw_Fill, oops.

2001-10-26 11:33  mercury

	* nq/cl_parse.c, nq/client.h, qw/cl_parse.c, qw/client.h: Removed
	cl.teamfortress.  Remind me to LART Vic repeatedly.

2001-10-26 07:03  mercury

	* configure.in, include/mathlib.h, include/vid.h, qw/cl_input.c,
	qw/console.c, qw/gl_draw.c, qw/gl_ngraph.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c, qw/gl_screen.c,
	qw/gl_warp.c, qw/glquake.h, qw/keys.c, qw/keys.h, qw/r_part.c,
	qw/sbar.c, qw/sys.c, qw/vid_sdl.c, src/renderer/oglfuncs.h: 10:47P
	<Mercury> Oh, yes, CVS commit needs to happen! 10:48P <Knghtbrd>
	uhoh.  10:48P <Knghtbrd> Mercury: what'd you do?  =) 10:50P
	<Mercury> Knghtbrd: Lets see, vertex arrays, particle code,   
	8tofloattable, -conwidth and -conheight.  10:50P <Mercury>
	Knghtbrd: Uhm, lets see what else.  10:51P <Mercury> Minor lightmap
	change optimizations.  10:52P <Mercury> Knghtbrd: Mouse
	wheel/button changes.  10:53P <Mercury> Better keypad binding
	support.  10:53P <Mercury> Key numbers are now an enum and not
	#defines.  10:55P <Mercury> Oh yes, also backtrace under linux when
	we do Sys_Error.  10:56P <Mercury> Changing the v_hwgamma cvar will
	update gamma for the rare    cases.  10:58P <Mercury> The death of
	scr_width and scr_height, we now just set the	 items in the vid.
	structure.  10:58P <Mercury> I think thats the full list.  10:59P
	<Knghtbrd> cool 10:59P <Mercury> Just a few small things, really!
	10:59P <Knghtbrd> heh

2001-10-24 19:24  digiman

	* nq/sys.c: Oops, forgot this one last time.

2001-10-24 18:42  digiman

	* include/common.h, include/crc.h, nq/Makefile.am, nq/buildnum.c,
	nq/cl_main.c, nq/cl_parse.c, nq/host_cmd.c, nq/nq.dsp, nq/sys.c,
	qw/Makefile.am, qw/buildnum.c, qw/cl_ents.c, qw/cl_input.c,
	qw/cl_main.c, qw/common.c, qw/qw.dsp, qw/sys.c,
	src/base/Makefile.am, src/base/buildnum.c, src/base/crc.c,
	src/base/twilight_base.dsp: Move buildnum.c to src/base. Do not
	take local time into account when building version number - it was
	weird (quake uses 4 digits for that, we could easily have 7-8). 
	Fix dynamic lights.  QW client printed version Twilight version as
	0 - fixed.  Move COM_BlockSequenceCRCByte to crc.c

2001-10-24 00:37  digiman

	* nq/buildnum.c, nq/cl_parse.c, qw/buildnum.c, qw/gl_rmisc.c: Code
	cleanup and change comments in buildnum.c (move it src/base ?).

2001-10-23 01:13  digiman

	* nq/cl_main.c, qw/cl_ents.c: Added if-condition, so we won't check
	effects if there aren't any.  Added EF_BLUE and EF_RED effects to
	NQ and removed bullshit code from CL_NewDlight.  Also removed
	model.h from qw-server directory.

2001-10-22 18:44  digiman

	* nq/cl_parse.c, nq/client.h, qw/cl_parse.c, qw/client.h: Added
	cl.teamfortress. I hope to make it more functional someday :)

2001-10-22 18:37  digiman

	* nq/gl_rlight.c, qw/gl_rlight.c: Optimize calculations.

2001-10-22 00:52  zinx

	* nq/common.c, qw/common.c: 
	Fixed COM_StripExtension, we overwrite out instead of in now :)

2001-10-20 23:39  digiman

	* qw/view.c: Fix bobbind in QW.

2001-10-18 15:21  molivier

	* include/Makefile.am, nq/menu.c, nq/nq.dsp, nq/sys.c,
	qw/gl_rmisc.c, qw/qw.dsp: Fixed NQ options menu and covered Vic's
	tracks	;o)

2001-10-17 22:08  digiman

	* include/gl_model.h, include/mathlib.h, include/model.h,
	include/pmove.h, nq/Makefile.am, nq/chase.c, nq/cl_main.c,
	nq/cl_model.c, nq/cl_parse.c, nq/cl_tent.c, nq/gl_mesh.c,
	nq/gl_model.c, nq/host.c, nq/host_cmd.c, nq/model.c, nq/nq.dsp,
	nq/pr_cmds.c, nq/render.h, nq/snd_dma.c, nq/sv_model.c, nq/sys.c,
	nq/world.h, qw/cl_main.c, qw/cl_parse.c, qw/cl_tent.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/pmove.c, qw/pmovetst.c,
	qw/render.h, qw/snd_dma.c, src/base/mathlib.c: Split NQ gl_model.c
	into 3 parts in: cl_model.c (brush models+alias models+sprite
	models), model.c - common part, sv_model.c - brush models.  This is
	the very first step towards dedicated server.  Also fixed win32
	dedicated server.

2001-10-17 10:05  molivier

	* twilight.dsw, nq/nq.dsp, qw/qw.dsp, src/base/twilight_base.dsp,
	src/renderer/dynogl.c, src/renderer/twilight_renderer.dsp: Updated
	MSVC6 project files. Included 'windows.h' in 'dyngol.c' for
	APIENTRY. Removed incluion of 'sys/time.h' in 'qw-server/sys.c'
	because MSVC6 just doesn't have it (I hope it's no used by some
	cross-compilers).

2001-10-16 18:58  molivier

	* nq/host.c: NQ dedicated server works better when isDedicated is
	initialized...

2001-10-16 16:06  knghtbrd

	* include/common.h, nq/common.c, nq/quakedef.h, qw/common.c,
	src/base/Makefile.am, src/base/parm.c: src/base/parm.c contains
	COM_InitArgv and COM_CheckParm now.  I left them as Id wrote them
	for now, and left the prototypes in common.h.  I do plan to rewrite
	these to use a new, more complete API at some point.  For the time
	being though, it's good just to get these functions out of
	common.c!

2001-10-16 05:08  knghtbrd

	* TODO, acconfig.h, configure.in, include/Makefile.am,
	include/TGL_defines.h, include/TGL_funcs.h,
	include/TGL_funcs_list.h, include/TGL_types.h, include/win32conf.h,
	nq/Makefile.am, nq/gl_funcs.c, nq/glquake.h, nq/vid_sdl.c,
	qw/Makefile.am, qw/gl_funcs.c, qw/gl_ngraph.c, qw/glquake.h,
	qw/vid_sdl.c, src/renderer/Makefile.am, src/renderer/dynogl.c,
	src/renderer/dynogl.h, src/renderer/oglfuncs.h,
	src/renderer/opengl.h: Dynamic OpenGL binding is now the first
	occupant of src/renderer!  We no longer define APIENTRY to nothing
	on non-win32, instead we define OGLDECL to nothing everywhere
	except win32, which gets it set to APIENTRY.  This lets us add new
	platforms' import decls painlessly.  Dynamic OpenGL has become more
	self-contained and is almost documented now.  It uses strlib and
	qboolean, otherwise it's completely reusable.	GL-using things
	just include opengl.h from src/renderer and things will work. 
	vid_sdl has been updated to also include dynogl.h which contains a
	pile of DGL functions to do the dirty work.  gl_funcs.c is now
	src/renderer/dynogl.c.	Extensions are now checked for in a sane
	fashion using DGL_HasExtension.  Oh, and I updated the TODO file
	while I was at it.  Rerunning autogen/configure is needed, as is
	updating DSW/DSP files for MSVC.

2001-10-16 00:11  digiman

	* nq/gl_model.c, nq/glquake.h, nq/menu.c, nq/snd_mem.c,
	nq/vid_sdl.c, qw/cl_parse.c, qw/menu.c, qw/vid_sdl.c: Remove unused
	texture_mode.  Fixed mouse bug in windowed mode.

2001-10-15 22:03  digiman

	* TODO: Updated the TODO: we've already fixed 1 bug :)

2001-10-15 20:32  digiman

	* include/common.h, include/host.h, nq/cl_parse.c, nq/client.h,
	nq/gl_mesh.c, nq/glquake.h, nq/quakedef.h, nq/r_part.c,
	nq/render.h, nq/snd_mem.c, qw/client.h, qw/gl_mesh.c,
	qw/gl_rmisc.c, qw/glquake.h, qw/r_part.c, qw/render.h,
	qw/snd_mem.c, src/base/strlib.c: Code, headers cleanup.

2001-10-15 15:52  knghtbrd

	* include/common.h, nq/common.c, nq/view.c, qw/common.c,
	include/strlib.h, src/base/strlib.c: moved va to strlib where it
	belongs.

2001-10-15 02:12  knghtbrd

	* nq/pr_exec.c: gcc 2.91 on win32 borks on these things, fixed.

2001-10-14 23:46  digiman

	* nq/r_part.c, qw/r_part.c: Use realtime instead of cl.time for
	particles.

2001-10-14 23:24  digiman

	* nq/cd_sdl.c, nq/snd_dma.c, nq/sys.c, qw/cd_sdl.c, qw/cl_parse.c,
	qw/cl_tent.c, qw/client.h, qw/snd_dma.c, qw/sys.c: Do not include
	"sdl_main.h" - sdl.h does the job.  Bgmvolume has a callback
	function (moved the code from CDAudio_Update).	Reduced diffs in
	snd_dma.c of NQ and QW (added cl.viewentity in QW which is equal to
	cl.playernum+1).  In sys.c (QWSV) use SDL_Delay instead of
	OS-dependant sleep.  #undef main macro in QWSV in win32, since it
	is a console application and main is reserved for OS-usage. 
	Sys_DoubleTime cleanup.

2001-10-14 20:07  knghtbrd

	* nq/Makefile.am, nq/UNNEEDED_Linux, nq/r_part.c, nq/sys_linux.c,
	nq/sys_win.c, nq/sys_wind.c, qw/UNNEEDED_Linux, qw/r_part.c: Tree
	cleanup

2001-10-14 19:27  digiman

	* nq/cl_main.c, nq/client.h, nq/gl_draw.c, nq/gl_screen.c,
	nq/menu.c, nq/sbar.c, nq/view.c, qw/cl_main.c, qw/gl_screen.c,
	qw/menu.c, qw/screen.h: Added hud ala QW to NQ (it doesn't work
	very well in with hipnotic and rogue).	Cleanup in gl_screen.c

2001-10-14 14:40  digiman

	* nq/cl_parse.c, qw/cl_parse.c: Fix usage of COM_StripExtension.

2001-10-14 13:26  digiman

	* nq/cl_main.c, nq/cl_parse.c, nq/client.h, nq/host_cmd.c,
	nq/r_part.c, qw/cl_main.c, qw/cl_parse.c, qw/client.h, qw/r_part.c:
	Merged particle systems of NQ and QW.

2001-10-14 03:13  digiman

	* include/common.h, nq/cl_main.c, nq/cl_tent.c, nq/client.h,
	nq/common.c, nq/host_cmd.c, nq/pr_cmds.c, nq/progdefs.h,
	nq/protocol.h, nq/render.h, nq/server.h, nq/sv_main.c,
	nq/sv_move.c, nq/sv_phys.c, nq/world.c, qw/common.c: Removed
	Quake2-related stuff from the code.  Cvar-related bugfix in
	host_cmd.  Also, added a message which prints usage of 'map'
	command (do not try to load .bsp file).  Added COM_CheckFile
	function. It checks if file actually exists (used in
	COM_CheckRegistered,  possible future use - in 'map' command).

2001-10-14 02:19  digiman

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/glquake.h, nq/menu.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/glquake.h, qw/menu.c: Added models
	light lerping by Pox. Type r_lightlerp 0\1 to turn off\off lerping
	or use gfx menu.

2001-10-14 02:18  digiman

	* qw/cl_ents.c: Cleanup.

2001-10-14 01:30  digiman

	* nq/r_part.c, qw/r_part.c: Another small particles update - don't
	bother drawing particles if there are all 'inactive'.

2001-10-14 01:21  digiman

	* nq/cl_main.c, nq/gl_warp.c, nq/r_part.c, qw/gl_warp.c,
	qw/r_part.c: Tweaks in particles systems of NQ and QW, which are
	almost identical now.

2001-10-13 22:31  digiman

	* nq/gl_model.c, qw/gl_model.c: Fixed: Uint8 range is 0-255 not
	-255-255. That was stupid

2001-10-13 17:08  digiman

	* nq/cl_tent.c, nq/common.c, nq/gl_model.c, qw/cl_input.c,
	qw/cl_tent.c, qw/common.c, qw/gl_model.c: Correct alias models
	bounding boxes.  Angles rounding fixes.  Some cleanup.

2001-10-13 15:09  knghtbrd

	* qw/cl_ents.c: Cleanups and a Cvar-related bugfix.  As a side
	effect, you get too see your own dlight when you have a quad or a
	pent or whatever.

2001-10-11 21:53  knghtbrd

	* TODO, include/.cvsignore: Have I mentioned that I HATE the new
	automake?  I don't mind new libtool, even autoconf 2.50 isn't that
	bad.  But the new automake is hellspawn.  I also took a moment to
	add stuff we've talked about to the TODO list, along with a
	handfull of bugs we've found.  More forthcoming.

2001-10-11 18:49  digiman

	* nq/gl_rmain.c, qw/gl_rmain.c: Weapon model cannot be culled, so
	skip R_CullBox for it. Cleanup too.

2001-10-11 14:03  knghtbrd

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Couple tweaks to
	R_RecursiveWorldNode, fixes a potential infinite loop crash and
	generally makes the function easier to parse.

2001-10-10 00:42  digiman

	* nq/chase.c, nq/gl_rmisc.c, nq/gl_warp.c, nq/glquake.h,
	qw/gl_rmisc.c, qw/gl_warp.c, qw/glquake.h: Added r_fastsky option.
	r_fastsky > 0 to set color of the sky.

2001-10-09 10:21  molivier

	* src/base/twilight_base.dsp: Synched twilight_base.dsp include
	paths with those of the other DSPs

2001-10-07 18:54  zinx

	* nq/Makefile.am, qw/Makefile.am, src/base/Makefile.am: 
	Fixed the Makefile.am's

2001-10-07 18:45  digiman

	* qw/mathlib.c, src/base/crc.c, src/base/mathlib.c: Fixed?

2001-10-07 01:44  digiman

	* nq/crc.c, nq/mathlib.c, nq/nq.dsp, qw/crc.c, qw/qw.dsp,
	src/base/twilight_base.dsp: Moved crc.c to twilight_base. Also
	removed all unused mathlib.c.

2001-10-07 00:44  digiman

	* include/gl_model.h, include/qtypes.h, nq/nq.dsp, qw/qw.dsp,
	src/base/twilight_base.dsp: Moved mathlib to twilight_base
	(finally!).  Had to move mplane_t definition to qtypes.h also.

2001-10-05 11:20  molivier

	* configure.in, twilight.dsw, nq/Makefile.am, nq/nq.dsp,
	nq/strlib.c, qw/Makefile.am, qw/qw.dsp, qw/strlib.c,
	src/base/Makefile.am, src/base/strlib.c,
	src/base/twilight_base.dsp: Our first static lib is now created and
	used: libtwilight_base.a (linux) / twilight_base.lib (win32). It
	only includes strlib.c for now, but will grow very soon.

2001-10-04 22:07  digiman

	* nq/gl_warp.c, qw/gl_warp.c: Optimization and cleanup.

2001-10-04 10:28  molivier

	* nq/: common.c, nq.dsp: Ported Knghtbrd change in
	COM_AddGameDirectory to NQ and QWSV. Updated nq.dsp: Win32 NQ uses
	sys.c instead of sys_win.c (sys_*.c should now die quietly). Also,
	my Win32 editor removed a few trailing whitespaces  :)

2001-10-04 05:46  mercury

	* include/draw.h, include/vid.h, qw/cl_main.c, qw/console.c,
	qw/gl_draw.c, qw/gl_model.c, qw/gl_refrag.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/glquake.h, qw/render.h, qw/sbar.c, qw/vid_sdl.c, qw/view.c: For
	the draw set, created Draw_String_Len, like Draw_String except it
	will also stop if it hits a predefined length.
	
	Made the console use this instead of a lot of separate
	Draw_Characters.
	
	Trimmed the hell out of the various headers and structs in the
	headers.
	
	Removed the remains of the surf cache.
	
	Removed a lot of unused code and variables which are set but never
	read.
	
	Fixed the logic on fullbright models, things like torches should
	only be drawn at full brightness if we DON'T have fullbright pixel
	support, instead of only when we DO.
	
	Rewrote SCR_CalcRefdef, uses callbacks now, MUCH simpler, no longer
	supports scr_viewsize under 100.
	
	That seems to be about it.

2001-10-03 17:16  knghtbrd

	* qw/common.c: va can now handle bigger strings - I've been using a
	4096 va myself.  We also now use snprintf for adding directories
	instead of va.

2001-10-03 11:28  molivier

	* twilight.spec.in, nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/vid_sdl.c, nq/zone.c, qw/zone.c: Diff reduction between QW and
	NQ versions of vid_sdl.c; SGIS multitexturing support has been
	dropped in the process (I hope nobody cares...). Make the
	Z_CheckHeap call depends on the PARANOID define. Removed useless
	#include in zone.c. Updated RPM spec file

2001-10-02 18:01  digiman

	* include/bothdefs.h, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/glquake.h: Finally fixed NQ, removed mirror stuff.

2001-10-02 13:08  lordhavoc

	* nq/gl_rmain.c, qw/gl_rmain.c: disabled treatment of 90 degree fov
	because it made a bad assumption (it assumed the view is square; it
	is not), may improve framerates (33% less view area vertically)

2001-10-02 10:06  molivier

	* include/strlib.h, nq/cmd.c, nq/gl_funcs.c, nq/nq.dsp,
	nq/strlib.c, nq/vid_sdl.c, qw/cmd.c, qw/qw.dsp, qw/strlib.c,
	qw/vid_sdl.c: Moved CopyString into strlib. Switched a bunch of
	strcat to strlcat in Cmd_Alias_f. Fixed NQ GL library loading.
	Updated MSVC6 DSP files. Some whitespaces here and there.

2001-10-01 07:52  raineth

	* nq/snd_mem.c, qw/snd_mem.c: Fixed a bug where wavs that had an
	odd number of bytes could be improperly loaded due to a previous
	bugfix.

2001-09-30 16:00  mercury

	* qw/gl_rmain.c: Fix alias model fullbrights.

2001-09-30 15:54  digiman

	* qw/snd_mix.c: Use SDL for types instead of windows.h or defining
	them.

2001-09-30 15:48  knghtbrd

	* qw/vid_sdl.c: Clean up the multitexture stuff a little more

2001-09-30 15:32  fingolfin

	* nq/vid_sdl.c, qw/vid_sdl.c: reduced diffs between nq's and qw's
	vid_sdl.c

2001-09-30 15:29  mercury

	* qw/: gl_funcs.c, vid_sdl.c: Stupid stupid windows GL handling,
	partly windows, partly SDL, still broken by design.

2001-09-30 15:13  mercury

	* qw/vid_sdl.c: Revert Vic's 'fix' and move the GLF_Init call to
	after we actually set the video mode.

2001-09-30 15:03  digiman

	* qw/vid_sdl.c: Temporary workaround for ARB_multitexturing issue
	in win32.

2001-09-30 14:05  lordhavoc

	* qw/r_part.c: fixed endian-issue and type conversion warnings on
	particle color glColor4ub call (uses a byte pointer to the color
	and fetchs bytes from it, instead of bitshifting a Uint32)

2001-09-30 05:48  mercury

	* qw/vid_sdl.c: Be more paranoid about making sure ARB mtex
	actually exists.  If this code is EVER triggered it is a driver
	bug.

2001-09-30 05:25  raineth

	* nq/: Makefile.am, sys.c: Ported the unified sys.c to nq.  The
	extra sys_* files are still around for reference until it compiles
	everywhere it needs to.  (It worked with gcc and mingw32 here)

2001-09-30 04:04  fingolfin

	* nq/sys_linux.c: added missing #include SDL.h/SDL_main.h - without
	those, it never could work on MacOS X, BeOS etc.

2001-09-30 03:43  fingolfin

	* nq/gl_draw.c: fixed stack smasher (hey, 2MB data on the stack...
	evil). The fix is not reentrant, though. Maybe should use malloc(),
	but that could be a speed issue

2001-09-30 01:47  fingolfin

	* include/common.h: fixed endian+sign problem

2001-09-29 14:22  raineth

	* qw/: host.h, input.h, mdfour.h, menu.h, modelgen.h, pmove.h,
	sbar.h, sound.h, spritegn.h, vid.h, view.h, wad.h, winquake.h,
	zone.h: I'm sure I removed these before.

2001-09-29 14:21  raineth

	* qw/gl_model.h: Missed a removal

2001-09-29 14:00  raineth

	* include/Makefile.am, include/anorm_dots.h, include/anorms.h,
	include/bothdefs.h, include/cdaudio.h, include/common.h,
	include/crc.h, include/draw.h, include/gl_model.h, include/host.h,
	include/input.h, include/mdfour.h, include/menu.h,
	include/modelgen.h, include/pmove.h, include/pr_comp.h,
	include/sbar.h, include/sound.h, include/spritegn.h, include/vid.h,
	include/view.h, include/wad.h, include/zone.h, nq/Makefile.am,
	nq/anorm_dots.h, nq/anorms.h, nq/cdaudio.h, nq/common.h, nq/crc.h,
	nq/draw.h, nq/gl_draw.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_screen.c, nq/host.c, nq/host.h, nq/input.h, nq/menu.c,
	nq/menu.h, nq/modelgen.h, nq/pr_comp.h, nq/sbar.c, nq/sbar.h,
	nq/sound.h, nq/spritegn.h, nq/sys_win.c, nq/sys_wind.c, nq/vid.h,
	nq/view.h, nq/wad.h, nq/winquake.h, nq/zone.h, qw/Makefile.am,
	qw/anorm_dots.h, qw/anorms.h, qw/bothdefs.h, qw/cdaudio.h,
	qw/cl_cam.c, qw/cl_input.c, qw/cl_main.c, qw/cl_pred.c,
	qw/common.h, qw/crc.h, qw/draw.h, qw/gl_draw.c, qw/gl_model.c,
	qw/glquake.h, qw/menu.c, qw/net_chan.c, qw/snd_dma.c, qw/snd_mix.c,
	qw/view.c: Moved many of the common headers into include/, the
	beginning of The Great Merge that is to come.  (Note that there are
	still a few headers that could be combined and thrown into include/
	with a little bit of work).  Also added defines so that you can
	tell in the source what you're compiling (TWILIGHT_NQ, TWILIGHT_QW,
	and TWILIGHT_QWSV).  The Win32 bits of the code compile with a *IX
	build system, so they should compile in MSVC when the .dsp files
	are changed (I don't have MSVC to do this myself.)

2001-09-29 11:09  raineth

	* include/win32conf.h, nq/conproc.c, nq/net_udp.c: mingw32
	compile-time fixes

2001-09-29 08:48  raineth

	* configure.in, nq/bspfile.h, nq/cmd.c, nq/gl_model.c,
	nq/gl_model.h, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/pcx.c, nq/snd_mem.c, qw/bspfile.h, qw/client.h, qw/cmd.c,
	qw/common.c, qw/gl_model.c, qw/gl_model.h, qw/gl_rsurf.c,
	qw/gl_screen.c, qw/gl_warp.c, qw/mdfour.c, qw/r_part.c, qw/skin.c,
	qw/snd_mem.c, src/.cvsignore, src/base/.cvsignore,
	src/renderer/.cvsignore, src/sound/.cvsignore: Added .cvsignore
	files for src/*, fixed several heisenbugs: qwcl now runs cleanly
	with bounds checking--those changes have been applied to nq and
	qwsv, however the progs code has some issues I need to figure out
	before I can make those play nicely with bounds checking. 
	Additionally, these fixes should squash some endian issues (and
	hopefully not create any).
	
	Also, added a portability fix to qw-server/sys.c (time.h and
	sys/time.h are rather important for timeval's definition)

2001-09-29 01:15  fingolfin

	* qw/pmove.c: fixed stupid bug in here, newspeed and vel where
	mixed up - how could anybody compile this, eh?

2001-09-28 22:17  digiman

	* qw/pmove.c: Small speedup.

2001-09-28 18:37  knghtbrd

	* Makefile.am, configure.in, src/Makefile.am, src/base/Makefile.am,
	src/renderer/Makefile.am, src/sound/Makefile.am: Added beginning of
	src/ hierarchy.  Empty directories for now, but I am confident
	we'll fill them fast.  Also added -Winline to gcc options, if you
	can't inline then this is gonna be problematic for you.  But that's
	already the case in just a different way.

2001-09-28 16:32  fingolfin

	* nq/common.h, qw/common.h: fixed fixed fix to endian code to a)
	work again on BigEndian and b) not produce compiler warnings/errors

2001-09-28 16:29  fingolfin

	* qw/cvar.c, nq/cvar.c: added missing #include <stdlib.h> (for
	malloc())

2001-09-28 15:32  mercury

	* qw/: gl_rmain.c, gl_rmisc.c, gl_rsurf.c, gl_warp.c, glquake.h:
	Fix up Vic's mess of state changes. (Non-mtex amodel FBs are still
	broken.) A 'small' bmodel renderer rewrite. (=:]

2001-09-28 15:31  mercury

	* qw/r_part.c: Fixed to be a hair faster and properly space out.

2001-09-28 13:36  knghtbrd

	* doc/cvar.txt, include/cvar.h, nq/common.h, nq/cvar.c, nq/host.c,
	qw/cl_main.c, qw/cvar.c, qw/winquake.h: cvar.c is now uniform for
	all targets pending a move to src/base when we are ready.  Still
	debating var->default and var->integer ala Q3A, since I don't
	really see the benefit.  Doing cvar_restart and var->modified are
	both out of the question as the former continues the incest between
	Cvar and Cmd, and the latter is lame in the face of callbacks. 
	Speaking of callbacks, Cvar_Init now takes a global one.  This is
	where we handle the info flags, nice and clean.

2001-09-28 07:14  knghtbrd

	* nq/common.h, nq/net_udp.c, qw/cl_main.c, qw/common.h: "We are
	confident that this will be the final word in compatibility among
	machines of differing endianness."  Now quit breaking it, dammit! 
	=)

2001-09-28 02:12  fingolfin

	* qw/common.h: fixed endianess issue

2001-09-28 02:09  lordhavoc

	* nq/common.c, qw/common.c: removed com_modified, PAK0_CRC, and
	PAK0_FILES, as they were no longer used

2001-09-27 21:41  digiman

	* nq/vid_sdl.c, qw/vid_sdl.c: Mouse works in QW again.	Set
	CVAR_ROM flag to _windowed_mouse in fullscreen mode.  Fixed a bug
	in m_filter code.

2001-09-27 18:57  digiman

	* nq/gl_rmain.c, nq/glquake.h, qw/gl_rmain.c, qw/glquake.h: m_plane
	frustum[4] is not used in any other files except gl_rmain.c, so
	make it static.

2001-09-27 18:24  digiman

	* nq/gl_proc.c, qw/gl_proc.c: Removed gl_proc.c

2001-09-27 17:51  digiman

	* include/compat.h, include/mathlib.h, include/win32conf.h,
	nq/gl_rlight.c, nq/gl_rsurf.c, nq/gl_screen.c, nq/mathlib.c,
	nq/pr_cmds.c, nq/r_part.c, nq/sv_phys.c, nq/sv_user.c, nq/vid.h,
	nq/vid_sdl.c, nq/view.c, qw/cl_cam.c, qw/gl_rlight.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/mathlib.c, qw/pmove.c,
	qw/r_part.c, qw/vid.h, qw/vid_sdl.c, qw/view.c: NQ and QW compile
	again (added inline definition).  Fixed 'freelook' again (zinx,
	please, stop confusing me!) VectorNormalizeFast is back!
	_windowed_mouse has a callback function now.  Fixed a bug in win nq
	and qw when player's view was not centered on the very first spawn.
	 Code cleanup.

2001-09-27 15:52  molivier

	* nq/cl_parse.c, nq/gl_model.c, nq/gl_screen.c, nq/host_cmd.c,
	nq/menu.c, nq/net_dgrm.c, nq/net_udp.c, qw/sbar.c: More strncpy ->
	strlcpy changes

2001-09-27 15:06  molivier

	* nq/vid_sdl.c, qw/vid_sdl.c: Removed creation of the no longer
	used 'glquake' directory

2001-09-27 11:26  zinx

	* nq/common.c, nq/common.h, qw/common.c, qw/common.h: 
	Determine what LittleLong/BigLong should be at compile time now,
	rather than run-time.

2001-09-27 11:16  zinx

	* nq/vid_sdl.c, qw/vid_sdl.c: 
	Made +mlook/-mlook work again, for people that actually use it.

2001-09-27 10:31  molivier

	* nq/common.c, qw/common.c: All searchpaths are now allocated with
	Z_Malloc; it should fix the QW +gamedir bug

2001-09-27 10:27  lordhavoc

	* qw/mdfour.c: shortened silly endian code (now uses LittleLong
	instead of SDL_BIG_ENDIAN check)

2001-09-26 23:25  mercury

	* include/TGL_funcs.h, include/TGL_funcs_list.h, nq/gl_funcs.c,
	qw/gl_draw.c, qw/gl_funcs.c, qw/gl_rmain.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/glquake.h, qw/vid_sdl.c: Reworked how we handle
	extensions, reworked how we do ARB multitexture.
	
	Have not rewritten the renderer, want to.

2001-09-26 23:17  lordhavoc

	* nq/mathlib.c, qw/mathlib.c, include/mathlib.h: added back Q_RSqrt
	(yes it is bitlevel hacking, but it is *portable* bitlevel hacking
	:)

2001-09-26 23:16  lordhavoc

	* nq/: conproc.c, snd_dma.c, snd_mix.c, winquake.h: cleanup of no
	longer used win32 stuff (diff supplied by knghtbrd)

2001-09-26 19:50  digiman

	* nq/vid_sdl.c, qw/client.h, qw/vid_sdl.c: Fixed freelook again.

2001-09-26 18:10  zinx

	* nq/vid_sdl.c, qw/vid_sdl.c: 
	Fixed the mouse handling code, wrt freelook and +mlook.  It was
	pretty broken.

2001-09-26 17:28  zinx

	* nq/chase.c, nq/cl_input.c, nq/cl_main.c, nq/cl_tent.c,
	nq/gl_mesh.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/host.c,
	nq/net_loop.c, nq/pr_exec.c, nq/sbar.c, nq/snd_mix.c, nq/snd_sdl.c,
	nq/sv_main.c, nq/sv_phys.c, nq/sys_wind.c, nq/wad.c, nq/world.c,
	qw/snd_sdl.c: 
	Added #include "strlib.h" to a bunch of files that were missing it.

2001-09-26 17:21  zinx

	* include/mathlib.h: 
	windows.h looks to be needed for min/max to be defined on win32

2001-09-25 17:53  digiman

	* nq/common.c, qw/common.c: Small cleanup.

2001-09-24 22:41  fingolfin

	* qw/: gl_rmisc.c, mdfour.c: fixed MD4 code to be endian correct
	(thx |Rain|), fixed R_TranslatePlayerSkin to *not* allocate an
	array of 512K on the stack

2001-09-24 19:09  fingolfin

	* nq/vid_sdl.c, qw/vid_sdl.c: fixed endian issue in vid_sdl.c

2001-09-24 02:29  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: What the hell are we thinking? 
	Trapping signals?  No, that's SDL's job.

2001-09-23 20:14  digiman

	* nq/cl_input.c, nq/cl_main.c, nq/client.h, nq/vid_sdl.c,
	qw/cl_input.c, qw/cl_main.c, qw/client.h, qw/vid_sdl.c: Added
	freelook cvar.

2001-09-23 18:12  digiman

	* nq/cl_input.c, nq/cl_parse.c, nq/client.h, nq/gl_rmain.c,
	nq/sv_user.c, qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c,
	qw/cl_parse.c, qw/cl_pred.c, qw/cl_tent.c, qw/gl_rmain.c: Code
	cleanup.

2001-09-23 16:54  digiman

	* nq/cl_tent.c, qw/cl_tent.c: Some small tweaks.

2001-09-23 15:43  digiman

	* qw/cl_tent.c: WTF??? Don't round angles to integer.

2001-09-23 15:29  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: win32ism for sound removed, not
	needed anymore.

2001-09-23 14:53  digiman

	* nq/cl_main.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c,
	nq/keys.c, nq/menu.c, nq/nq.dsp, nq/screen.h, nq/snd_dma.c,
	nq/snd_mix.c, nq/snd_sdl.c, nq/sv_move.c, nq/sys_win.c,
	nq/vid_sdl.c, qw/gl_rmisc.c, qw/gl_screen.c, qw/menu.c, qw/qw.dsp,
	qw/sbar.c, qw/screen.h, qw/snd_dma.c, qw/snd_mix.c, qw/snd_sdl.c,
	qw/vid_sdl.c: Win32 SDL_sound.	gl_screen.c cleanup.

2001-09-23 03:46  knghtbrd

	* nq/snd_sdl.c: Forgot to add..

2001-09-23 03:41  knghtbrd

	* TODO, nq/Makefile.am, nq/UNNEEDED_Linux, nq/gl_warp.c,
	nq/snd_dma.c, nq/snd_linux.c, nq/snd_null.c, nq/snd_win.c,
	nq/sound.h, nq/sys_null.c, qw/Makefile.am, qw/UNNEEDED_Linux,
	qw/gl_warp.c, qw/snd_dma.c, qw/snd_linux.c, qw/snd_sdl.c,
	qw/snd_win.c, qw/sound.h: SDL sound!  Vic, you may need to do some
	tweaking.  Also fixed gl_warp.

2001-09-23 01:16  digiman

	* nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c, nq/gl_warp.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rsurf.c, qw/gl_warp.c: Removed
	'goto' stuff from gl_rlight.c and added skybox polygon clipping.

2001-09-22 22:54  knghtbrd

	* TODO, nq/cd_sdl.c, nq/chase.c, nq/cl_demo.c, nq/cl_input.c,
	nq/cl_main.c, nq/cl_parse.c, nq/cl_tent.c, nq/client.h, nq/cmd.c,
	nq/common.c, nq/common.h, nq/console.c, nq/cvar.c, nq/draw.h,
	nq/gl_draw.c, nq/gl_mesh.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_refrag.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/gl_rsurf.c, nq/gl_screen.c, nq/gl_warp.c, nq/glquake.h,
	nq/host.c, nq/host.h, nq/host_cmd.c, nq/input.h, nq/keys.c,
	nq/menu.c, nq/net.h, nq/net_bsd.c, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/progs.h, nq/protocol.h, nq/quakedef.h,
	nq/r_part.c, nq/render.h, nq/sbar.c, nq/sbar.h, nq/screen.h,
	nq/server.h, nq/snd_dma.c, nq/snd_linux.c, nq/snd_mem.c,
	nq/snd_mix.c, nq/sound.h, nq/sv_main.c, nq/sv_move.c, nq/sv_phys.c,
	nq/sv_user.c, nq/sys_linux.c, nq/sys_win.c, nq/vid_sdl.c,
	nq/view.c, nq/view.h, nq/wad.c, nq/winquake.h, nq/world.c,
	nq/world.h, nq/zone.c: quakedef.h has been stripped down to just a
	bunch of #define's..  The only include left is qtypes.h because we
	can't conveniently remove it.  This brings -nq in line with -qw and
	-qwsv.

2001-09-22 20:05  digiman

	* qw/cl_cam.c: More VectorDistance here.

2001-09-22 19:42  digiman

	* nq/cl_parse.c, nq/gl_rmain.c, qw/gl_rmain.c: Woohoo! We're
	finally using VectorDistance (fixed weird code in QW aswell).

2001-09-22 04:59  zinx

	* qw/gl_rmisc.c: 
	Someone forgot we use Uint8 instead of byte now, and that there's
	no such thing as stricmp, it's strcasecmp...

2001-09-22 01:18  digiman

	* nq/gl_draw.c, nq/gl_model.c, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/glquake.h, qw/cl_ents.c, qw/gl_draw.c, qw/gl_model.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/glquake.h: Applied LH's resampling
	code to NQ PM skins. QW to follow (had probs there)?

2001-09-21 19:29  digiman

	* nq/gl_rlight.c, nq/gl_rmain.c, nq/r_part.c, nq/sv_user.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/pmove.c, qw/r_part.c: Rearranged
	enabling\disabling of blending and depth-writing.

2001-09-21 00:05  digiman

	* nq/cl_main.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_screen.c,
	nq/render.h, qw/cl_ents.c, qw/cl_parse.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_screen.c, qw/render.h: Added smooth lights on
	models (interpolation to follow).  Also sped up drawing of shadows
	(Q_RSqrt legacy).

2001-09-20 21:48  digiman

	* nq/cl_input.c, nq/cl_main.c, nq/cl_parse.c, nq/gl_draw.c,
	nq/gl_warp.c, qw/cl_input.c, qw/cl_main.c, qw/gl_draw.c,
	qw/gl_warp.c, qw/pcx.c: Fixed .pcx loading in QW too.  Added .pcx
	skyboxes support (Quake will try to load targa first).	Moved some
	input init stuff from cl_main to cl_input.  Added 'crosshair 3' -
	2x2 square.

2001-09-19 22:38  digiman

	* nq/: gl_warp.c, pcx.c: Fixed .pcx file loading (it didn't work,
	but it wasn't used anyway).  Now .pcx files can be used for drawing
	skyboxes instead of .tga (looks terribly).

2001-09-19 22:31  digiman

	* nq/sv_main.c: Bugfix (the 2nd loaded map was parsed as an ammo
	box).

2001-09-18 23:54  knghtbrd

	* include/TGL_types.h, include/qtypes.h, qw/cd_sdl.c,
	qw/cl_input.c, qw/cl_main.c, qw/cl_pred.c, qw/gl_funcs.c,
	qw/mathlib.c, qw/mdfour.c, qw/mdfour.h, qw/pcx.c, qw/sys.c,
	qw/tga.c, qw/vid_sdl.c: The SDL list says use "SDL.h", so ... 
	Also, removed unnecessary linuxusm from vid_sdl.c, thanks
	Fingolfin!

2001-09-18 23:47  knghtbrd

	* nq/: cd_sdl.c, cl_demo.c, cl_input.c, cl_main.c, cl_parse.c,
	cl_tent.c, cmd.c, common.c, console.c, cvar.c, gl_draw.c,
	gl_funcs.c, gl_mesh.c, gl_model.c, gl_refrag.c, gl_rlight.c,
	gl_rmain.c, gl_rmisc.c, gl_screen.c, host.c, host_cmd.c, keys.c,
	mathlib.c, menu.c, net_dgrm.c, net_loop.c, net_main.c, net_udp.c,
	pcx.c, pr_cmds.c, pr_edict.c, pr_exec.c, quakedef.h, r_part.c,
	snd_dma.c, snd_linux.c, snd_mem.c, sv_main.c, sv_phys.c, sv_user.c,
	sys_win.c, tga.c, vid_sdl.c, view.c, world.c, zone.c: Beginnings of
	de-quakedef'ing nq..

2001-09-18 23:28  tomaz_j

	* TODO: Testing

2001-09-18 22:09  digiman

	* nq/cl_parse.c, nq/gl_model.c, nq/gl_model.h, nq/gl_rsurf.c,
	nq/nq.dsp, nq/pr_cmds.c, qw/gl_model.c, qw/gl_rsurf.c, qw/qw.dsp:
	Prevent replacing world submodels by other .bsp files.	Bmodels
	don't warp ala QW.  Small cleanups.

2001-09-18 21:43  knghtbrd

	* nq/: host.c, quakedef.h: WTH is this still doing here?  Killed
	quakeparms_t for good.

2001-09-18 21:22  knghtbrd

	* configure.in, include/win32conf.h: bump trunk's version to be
	clearly different than release

2001-09-18 11:49  knghtbrd

	* configure.in, include/win32conf.h: Upped version number

2001-09-17 22:38  digiman

	* TODO: Added server browser to TODO list.

2001-09-17 22:32  knghtbrd

	* NEWS: Updated info on sv_timekick..

2001-09-17 22:28  knghtbrd

	* README: At least put SOMETHING here!

2001-09-17 20:47  knghtbrd

	* include/mathlib.h: Vic can't commit right now for some weird
	reason, but he's fixed some potential hangups in mathlib.h's
	macros.

2001-09-17 20:32  knghtbrd

	* NEWS, nq/vid_sdl.c, qw/vid_sdl.c: gamma has changed to v_gamma in
	the console because of the compatibility changes.  Also cleaned up
	NEWS a little more, all that remains is the explanation of how to
	use the timekick stuff.

2001-09-17 00:42  eviltypeguy

	* NEWS: Added 'Last Updated' cvs $id tag...

2001-09-17 00:41  eviltypeguy

	* NEWS: More FIXME fixes...

2001-09-17 00:29  eviltypeguy

	* nq/: gl_rsurf.c, menu.c, sv_user.c: Misc. code formatting
	cleanups...

2001-09-17 00:29  eviltypeguy

	* NEWS: Reworded a few of the items in here, changed spacing a
	little, fixed all the 'FIXME:'s best I could. Some things could
	probably still use a little better explanation...

2001-09-16 22:39  digiman

	* nq/vid_sdl.c, qw/vid_sdl.c: gl_ztrick is off by default.

2001-09-16 21:46  knghtbrd

	* NEWS: Rewrote NEWS completely.  Thanks to EvilTypeGuy for noting
	most of the major compatibility-changing events, it made the task
	easier.  Note that there are a number of FIXME's I need to go back
	and correct still for Cvar names and the like.	If someone else
	wants to do that today, that's fine.  In the meantime I'm
	submitting what I have for review and because I'm going to sleep. 
	=p

2001-09-16 07:23  eviltypeguy

	* NEWS: Replaced all the hard tabs with 8 spaces instead, to ensure
	that the file looks the same just about anywhere, minor formatting
	changes too...

2001-09-16 07:18  eviltypeguy

	* NEWS: Updated news file with all the updates that have been made
	to project twilight sine the beginning that break or change
	behavior from id's standard distributions...

2001-09-16 05:00  zinx

	* qw/gl_rlight.c: 
	glDepthMask in R_RenderDlights was inverted (GL_TRUE vs. GL_FALSE,
	and vice versa)

2001-09-16 02:47  digiman

	* nq/gl_model.c, qw/gl_model.c: Chton and Shub don't cast shadows
	now.

2001-09-15 23:12  zinx

	* nq/sys_win.c: 
	Windows w/ mingw cleanups; Removed some unused static variables

2001-09-15 13:16  digiman

	* nq/cl_tent.c, nq/gl_draw.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_rlight.c, nq/gl_rmisc.c, nq/gl_rsurf.c, nq/sv_phys.c,
	nq/sv_user.c, nq/world.c, qw/gl_draw.c, qw/gl_model.c,
	qw/gl_model.h, qw/gl_rlight.c, qw/gl_rsurf.c: Fixed MOVETYPE_PUSH
	error in NQ and QW (thanx LH).	Code cleanup.  Also split minmaxs
	to mins and maxs.

2001-09-14 21:42  digiman

	* nq/gl_rsurf.c, qw/cl_tent.c, qw/gl_rsurf.c: A forgotten qwsv
	warp-speedup and  #ifdef QUAKE2 code cleanup.

2001-09-14 19:09  digiman

	* nq/gl_model.c, qw/gl_model.c: Faster check for warping.

2001-09-14 18:02  digiman

	* nq/gl_warp.c, qw/gl_rmisc.c, qw/gl_warp.c: Do not draw skybox if
	sky was not initialized (no sky surfaces).

2001-09-14 16:19  molivier

	* nq/nq.dsp, qw/qw.dsp: Updated MSVC6 DSPs

2001-09-14 16:15  knghtbrd

	* nq/common.c, nq/quakedef.h, qw/common.c: fs_gamename Cvar, needed
	for Debian packages

2001-09-14 08:54  knghtbrd

	* qw/sys.c: main needs to return int on unix systems.

2001-09-13 19:44  digiman

	* nq/nq.dsp, nq/sys_win.c, nq/winquake.h, qw/qw.dsp, qw/sys.c: "We
	use main. Killed WIN32 definitions."

2001-09-13 17:10  knghtbrd

	* .cvsignore: Now it's my turn to neglect the server!

2001-09-13 16:36  knghtbrd

	* TODO, acconfig.h, configure.in, include/win32conf.h, nq/cmd.c,
	nq/cmd.h, nq/common.c, nq/common.h, nq/host.c, qw/cl_main.c,
	qw/cmd.c, qw/cmd.h, qw/common.c, qw/common.h: Shared and user
	configuration files for settings that can't be in your autoexec
	files are now supported.  fs_shareconf and fs_userconf are the
	Cvars, and can be +set as you'd expect to change defaults. 
	QuakeForge has long ago found the mess you'll find in Host_Init to
	be necessary through trial and error.

2001-09-13 14:37  molivier

	* twilight.spec.in: Fixed a typo in RPM group, and removed an
	unused definition

2001-09-13 14:31  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: Mercury will be giving himself a good
	thwacking over this Draw_Fill bug he committed.  A good thwacking
	indeed.

2001-09-13 09:58  molivier

	* Makefile.am, twilight.spec.in: Fixed and cleaned
	twilight.spec.in. Added COPYING.BSD and tools/ to the file produced
	by 'make dist'

2001-09-13 07:15  lordhavoc

	* nq/sv_main.c: fix for e3m3.bsp bizarre broken rotated physics (in
	other words: clear the angles on world when loading)

2001-09-12 16:08  molivier

	* twilight.spec.in: With 'cvs add' before, it's even better  :o)

2001-09-12 16:07  molivier

	* Makefile.am, configure.in: Added an early (but hopefully working)
	version of twilight.spec.in

2001-09-12 14:38  molivier

	* nq/sys_linux.c, nq/sys_win.c, qw/sys.c: Fixed more than 30
	incorrect uses of strncpy and strncat; _PLEASE_ use strlcpy and
	strlcat instead, or at least read very carefully the strn* man
	pages. Some whitespaces and Win32 stuff too (no, win32 qwsv doesn't
	yet compile)

2001-09-12 14:10  lordhavoc

	* qw/net_udp.c, nq/net_udp.c: fixed errno bug in winsock support
	(winsock uses WSAGetLastError(), not errno)

2001-09-12 12:20  lordhavoc

	* nq/gl_rsurf.c: fixed non-texsort lightmap bugs

2001-09-12 12:19  lordhavoc

	* qw/gl_rsurf.c: fixed non-color lighting bug

2001-09-12 11:57  lordhavoc

	* qw/gl_rsurf.c: made non-texsort mode look right, non-colored
	lighting is still broken

2001-09-12 09:47  knghtbrd

	* nq/Makefile.am, nq/gl_warp.c, qw/Makefile.am, qw/gl_warp.c: Fixed
	gl_warp warnings.

2001-09-11 16:55  digiman

	* qw/qw.dsp: Oops, forgot to update MSVC QW project (removed
	gl_proc.c. Should it be kept on repository?).

2001-09-11 16:49  digiman

	* nq/gl_model.c, nq/gl_rmisc.c, nq/gl_warp.c, nq/glquake.h,
	nq/nq.dsp, qw/gl_model.c, qw/gl_rmisc.c, qw/gl_warp.c,
	qw/glquake.h: Skbox improvement: reserve 6 texture slots for skybox
	textures (a good way).

2001-09-11 14:23  lordhavoc

	* include/mathlib.h: include stdlib if min/max are not defined
	(win32)

2001-09-11 14:17  lordhavoc

	* qw/view.c, nq/view.c: ported V_CalcBlend from darkplaces, this
	one actually works, unlike the id one.

2001-09-11 14:10  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: Fixed some long lines..

2001-09-11 14:05  lordhavoc

	* nq/gl_draw.c, qw/gl_draw.c: corrected R_ResampleTexture code to
	use Uint8 instead of byte (stupid windows headers defined it for me
	so the compiler did not complain), and changed various other
	texture format related definitions to Uint32

2001-09-11 13:48  mercury

	* qw/gl_rsurf.c: Fix gl_texsort 0 lightmaps.

2001-09-11 13:46  lordhavoc

	* nq/gl_draw.c, qw/gl_draw.c: added DarkPlaces texture resampling
	code (faster than glu functions), should improve load times
	(r_lerpimages decides whether to do smooth resampling or not, use 0
	for old style)

2001-09-11 13:14  mercury

	* qw/: gl_draw.c, gl_ngraph.c, gl_rlight.c, gl_rmain.c, gl_rmisc.c,
	gl_rsurf.c, gl_screen.c, gl_warp.c, glquake.h, r_part.c, vid_sdl.c:
	OpenGL state change audit!

2001-09-11 13:10  mercury

	* nq/common.c, qw/common.c: And actually make it work *blush*.

2001-09-11 12:44  mercury

	* nq/common.c, qw/common.c: Oops, one should test compile even the
	most obviously correct code.

2001-09-11 12:38  mercury

	* TODO, nq/common.c, qw/common.c: Fixed COM_StripExtension to strip
	the last ., not the first.  Oh, it also won't strip off a
	directory.

2001-09-11 11:57  lordhavoc

	* qw/gl_rlight.c, nq/gl_rlight.c: added explanation of
	ColorLightPoint interpolation

2001-09-11 07:07  knghtbrd

	* TODO, nq/cl_input.c, nq/cl_parse.c, nq/common.c, nq/console.c,
	nq/console.h, nq/gl_rlight.c, nq/menu.c, nq/pr_cmds.c,
	nq/sv_phys.c, nq/vid_sdl.c, nq/world.c, qw/cl_input.c,
	qw/cl_parse.c, qw/common.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/menu.c, qw/sbar.c: Mangling of some files with long lines.  wc
	-L treats tabs as 8 spaces and doesn't offer a way to change that,
	so I didn't go through every file it returned, just the ones that
	were reported as extremely long lines.	Also a few minor cleanups
	besides, nothing that should break anything.

2001-09-10 22:27  digiman

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_warp.c,
	nq/glquake.h, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_warp.c,
	qw/glquake.h: Added skyboxes to NQ and QW. Use skybox cvar to load
	skyboxes.

2001-09-10 19:53  digiman

	* qw/cl_ents.c: Set default dlight color to 0.2 0.1 0.0

2001-09-10 12:43  knghtbrd

	* nq/host.c, nq/keys.c, qw/cl_main.c, qw/keys.c: Key unbound, press
	F4 to bind message removed entirely.  How does it know what I have
	F4 bound to?  And hy does it happen for some keys but not others? 
	And spamming the console because I hold down a key that isn't bound
	or something?  Maybe I bumped it?  No, this message has to go.

2001-09-10 11:51  digiman

	* nq/cl_main.c, qw/cl_parse.c: Try to keep dlights inside the map
	only if old ligths are disabled.

2001-09-10 04:13  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: QuakeForge's console background was
	much better than ours.	I should know since I did the console
	background stuff.  The useful changes have been brought over, along
	with the Cvars cl_verstring and gl_constretch.	Unlike QF,
	gl_constretch defaults to on, it looks nifty with the Id conback,
	so deal with it.  =)

2001-09-10 03:58  eviltypeguy

	* nq/menu.c, qw/menu.c: [no log message]

2001-09-10 03:45  eviltypeguy

	* nq/cl_main.c, nq/menu.c, qw/cl_main.c, qw/menu.c: Code formatting
	cleanups, fixed NQ's hardware brightness slider on the options menu
	to work correctly...(was only adjusting with the right arrow key,
	not left and right like the other sliders)

2001-09-10 02:59  knghtbrd

	* COPYING.BSD, Makefile.am, TODO, configure.in,
	include/Makefile.am, qw/Makefile.am: Preliminary Debian packaging
	scripts, currently with an undeclared dep on gamedata and I want to
	break the dedicated server out into its own package but they DO
	work if you replace the auto* symlinks with real files - make dist
	will build its tarball like that, which I needed to tweak a couple
	of the Makefile.am's to get working.

2001-09-10 00:19  knghtbrd

	* nq/menu.c, qw/menu.c: Menu is fixed - NQ is hosed though, don't
	know why (it's not this commit..)

2001-09-10 00:17  digiman

	* nq/vid_sdl.c, qw/vid_sdl.c: Restoring previous vid_sdl.c state:
	no special win32 gamma handling.

2001-09-09 20:46  digiman

	* nq/vid_sdl.c, qw/vid_sdl.c: Got hardware gamma working in
	windows.

2001-09-09 19:46  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: More tweaking, SDL on windows is,
	picky.

2001-09-09 19:37  zinx

	* qw/glquake.h: 
	Moved windows.h out of an ifdef, twilight-qw compiles much easier
	with mingw this way :/

2001-09-09 19:32  zinx

	* qw/: cl_ents.c, cl_main.c: 
	Took an axe to cl_predict_players2.  It didn't make any sense to
	have it, as cl_predict_players and cl_predict_players2 were always
	checked together..

2001-09-09 19:15  digiman

	* nq/cd_sdl.c, qw/cd_sdl.c: Removed SDL_QuitSubSystem from cd_sdl
	(SDL does that automatically.

2001-09-09 16:49  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: Report the SDL error if for some
	reason setting the gamma ramps fails.

2001-09-09 16:46  lordhavoc

	* qw/gl_rlight.c, nq/gl_rlight.c: safeguard against weird texenv
	modes in flashblend rendering

2001-09-09 16:44  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: Spelling correction.

2001-09-09 16:30  digiman

	* nq/cl_main.c, nq/cl_tent.c, nq/gl_rsurf.c, qw/cl_ents.c,
	qw/cl_parse.c, qw/gl_rsurf.c, qw/sys.c: Played with dlights again:
	fixed the rest of dlights in QW and NQ.  Also fixed a crash in NQ
	and QW after map change if in 32 bit mode.

2001-09-09 16:25  mercury

	* include/mathlib.h, nq/gl_draw.c, nq/gl_model.c, nq/gl_rmisc.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/r_part.c, nq/vid.h, nq/vid_sdl.c,
	nq/view.c, qw/cl_main.c, qw/gl_draw.c, qw/gl_model.c,
	qw/gl_ngraph.c, qw/gl_rmisc.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/glquake.h, qw/r_part.c, qw/vid.h, qw/vid_sdl.c, qw/view.c: A few
	minor math changes.
	
	Oh, and the great hardware gamma support commit!
	
	For my next trick I might make the cshifts alter the gamma bias
	instead of drawing the big polys on the screen! *cackle*

2001-09-09 14:10  knghtbrd

	* qw/: cl_ents.c, gl_rlight.c: Colored dlight fixes - colors are
	now brighter without gl_flashblend and darker with it.	Also, fixed
	Vic's RecursiveHullCheck bug that caused some dlights not to exist.
	 Thanks LordHavoc, you were right about this one.

2001-09-09 08:56  knghtbrd

	* nq/cd_sdl.c, nq/console.c, nq/gl_model.c, nq/gl_warp.c,
	nq/mathlib.c, nq/menu.c, nq/sbar.c, nq/sv_user.c, nq/world.c,
	qw/cd_sdl.c, qw/cl_cam.c, qw/cl_demo.c, qw/cl_parse.c,
	qw/console.c, qw/gl_model.c, qw/gl_rmain.c, qw/gl_warp.c,
	qw/keys.c, qw/mathlib.c, qw/menu.c, qw/net_chan.c, qw/sbar.c,
	qw/snd_mem.c: Removed #if 0's, all except for
	qw{,-server}/net_udp.c, since I'm not sure if what's in that is
	really useful for anything at first glance.  I doubt it, but better
	to leave it till I'm sure it's useless.

2001-09-09 08:20  knghtbrd

	* qw/: cl_ents.c, cl_tent.c: Made dlights look a bit more like the
	numbers we decided looked good in QuakeForge a year ago.  I'm not
	happy with the effects yet, but I think that what they are missing
	is lighthalf.

2001-09-09 07:11  knghtbrd

	* AUTHORS, nq/pcx.c: #include "strlib.c" ?  Um.  Also updated
	AUTHORS, adding many people to it who should be there.

2001-09-09 03:38  digiman

	* nq/gl_rsurf.c, qw/gl_rsurf.c: GL_RGBA is back: it is
	automatically detected as a coloured lightmap format in 32bit mode.

2001-09-09 03:35  knghtbrd

	* nq/pcx.c, qw/pcx.c: fix for mandrake

2001-09-09 03:29  digiman

	* nq/cl_input.c, qw/cl_input.c: Bugfix...

2001-09-09 02:39  digiman

	* nq/cl_input.c, qw/cl_input.c: Use bound() macro. Also SDL.h
	should be <SDL.h>.

2001-09-09 02:34  digiman

	* qw/r_part.c: Disable depth writing when draw particles.

2001-09-09 00:53  digiman

	* nq/cl_parse.c, nq/console.c, nq/draw.h, nq/gl_draw.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c, nq/glquake.h,
	nq/host.c, nq/host_cmd.c, nq/net_main.c, nq/nq.dsp, nq/sys.h,
	nq/sys_linux.c, nq/sys_null.c, nq/sys_win.c, nq/sys_wind.c,
	nq/view.c, qw/gl_draw.c, qw/gl_rmain.c, qw/qw.dsp, qw/sys.c: Played
	again with sys.c, looks better now.  Added SDL_RegisterApp for
	win32 applications.  Renamed Sys_FloatTime to Sys_DoubleTime in NQ.
	 Added crosshair 2 to NQ.  Dynamic SDL linkage: to win32
	applications (nq and qw-client) one must have sdl.dll.

2001-09-08 23:21  raineth

	* nq/gl_rsurf.c, qw/gl_rsurf.c: memset() takes a byte value as the
	second param, 65280 isn't a byte value.

2001-09-08 23:11  eviltypeguy

	* nq/gl_model.c, nq/gl_rsurf.c, qw/gl_rsurf.c: Fixed some misc.
	compilation errors, not all of them though, a 'warning: large
	integer implicitly truncated to unsigned type' warning is still
	hanging around regarding the 'blocklights' array

2001-09-08 22:14  digiman

	* include/win32conf.h, qw/qw.dsp, qw/sys.c: sys.c compiles in WIN32
	and QW-client works as a result.

2001-09-08 21:39  digiman

	* nq/cl_main.c, nq/gl_screen.c, nq/host.c, qw/cl_main.c, qw/qw.dsp:
	Added show_fps cvar to NQ and set fps_counter to 0 by default in
	QW.

2001-09-08 21:08  knghtbrd

	* qw/sys.c: Sorry everyone, here's sys.c..

2001-09-08 19:31  digiman

	* nq/cl_main.c, nq/client.h, nq/gl_draw.c, nq/gl_model.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/glquake.h, qw/cl_main.c, qw/gl_draw.c, qw/gl_model.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/glquake.h: Coloured lights. Should I add something to these
	words?

2001-09-08 17:09  digiman

	* nq/gl_model.c, nq/gl_model.h, nq/gl_rlight.c, nq/gl_rsurf.c,
	qw/gl_model.c, qw/gl_model.h, qw/gl_rlight.c, qw/gl_rsurf.c: Fix a
	few things before I start adding coloured lighting.

2001-09-08 10:44  knghtbrd

	* configure.in, include/compat.h, include/win32conf.h,
	qw/Makefile.am, qw/UNNEEDED_Linux, qw/sys_linux.c, qw/sys_null.c,
	qw/sys_win.c: Combined sys.c for QW, probably requires some
	tweaking of win32conf.h to make sure it has all the right
	HAVE_WHATEVER defines to compile properly.  Also bumped VERSION to
	0.0.9 in win32conf.h (forgot earlier..)

2001-09-08 02:23  knghtbrd

	* TODO, configure.in, include/Makefile.am, nq/Makefile.am,
	qw/Makefile.am: We are so close to the 0.1.0 release mark that it's
	appropriate to finally give us a version number close to that. 
	Also fixed Makefile.am's a bit so make and make dist work in
	autoconf.

2001-09-08 01:12  digiman

	* nq/buildnum.c, nq/common.h, nq/host_cmd.c, nq/nq.dsp,
	qw/buildnum.c, qw/cl_main.c: Twilight reports build number now
	(both nq and qw).

2001-09-08 00:53  digiman

	* qw/: cl_main.c, cl_pred.c: Clear cl_baselines when connect to a
	server (bugfix).  Set player movement oldbuttons correctly
	(bugfix).

2001-09-08 00:38  digiman

	* nq/nq.dsp, qw/qw.dsp: Changed settings for MSVC++ 6.0 projects
	and workspaces.

2001-09-08 00:24  digiman

	* include/gl_warp_sin.h, nq/gl_warp_sin.h, qw/gl_warp_sin.h: Moved
	gl_warp_sin.h to include.

2001-09-08 00:22  digiman

	* nq/sv_phys.c: Little weird speedup.

2001-09-08 00:21  digiman

	* qw/cl_main.c: Renamed simple_encrypt to simple_decrypt - affects
	nothing, just logical reasons.

2001-09-08 00:00  digiman

	* nq/gl_proc.c, qw/gl_proc.c: Shut up the compiler.

2001-09-07 20:56  knghtbrd

	* include/Makefile.am, include/TGL_funcs_list.h, include/qtypes.h,
	nq/Makefile.am, nq/gl_proc.c, nq/pcx.c, nq/tga.c, nq/wad.h,
	qw/Makefile.am, qw/bspfile.h, qw/cd_sdl.c, qw/cdaudio.h,
	qw/cl_demo.c, qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c,
	qw/cl_parse.c, qw/client.h, qw/cmd.c, qw/common.c, qw/common.h,
	qw/console.h, qw/crc.c, qw/crc.h, qw/draw.h, qw/gl_draw.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/gl_model.h, qw/gl_ngraph.c,
	qw/gl_proc.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/glquake.h,
	qw/host.h, qw/menu.c, qw/modelgen.h, qw/net.h, qw/net_chan.c,
	qw/net_udp.c, qw/pcx.c, qw/protocol.h, qw/r_part.c, qw/render.h,
	qw/skin.c, qw/snd_mem.c, qw/snd_win.c, qw/sound.h, qw/tga.c,
	qw/vid.h, qw/vid_sdl.c, qw/view.c, qw/wad.c, qw/wad.h, qw/zone.c:
	Finish the byte -> Uint8 changes and fix Vic's last couple of
	commits for building with autoconf and for using our dynamic OpenGL
	stuff..

2001-09-07 20:06  digiman

	* nq/gl_draw.c, nq/gl_proc.c, nq/gl_warp.c, nq/glquake.h,
	nq/nq.dsp, qw/gl_draw.c, qw/gl_proc.c, qw/glquake.h, qw/qw.dsp:
	Added mipmapping routines from Mesa by Brian Paul.

2001-09-07 19:33  digiman

	* include/pcx.h, include/tga.h, nq/gl_screen.c, nq/gl_warp.c,
	nq/nq.dsp, nq/pcx.c, nq/tga.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/pcx.c, qw/qw.dsp, qw/tga.c: Added tga and pcx modules.

2001-09-07 08:52  knghtbrd

	* include/qtypes.h, nq/bspfile.h, nq/cd_sdl.c, nq/cdaudio.h,
	nq/cl_input.c, nq/cl_parse.c, nq/client.h, nq/common.c,
	nq/common.h, nq/console.h, nq/crc.c, nq/crc.h, nq/draw.h,
	nq/gl_draw.c, nq/gl_mesh.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/glquake.h, nq/host.c, nq/menu.c,
	nq/modelgen.h, nq/net.h, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_udp.c, nq/net_udp.h, nq/pr_cmds.c, nq/pr_comp.h,
	nq/pr_edict.c, nq/pr_exec.c, nq/progs.h, nq/quakedef.h,
	nq/r_part.c, nq/render.h, nq/server.h, nq/snd_mem.c, nq/snd_win.c,
	nq/sound.h, nq/sv_main.c, nq/vid.h, nq/vid_sdl.c, nq/view.c,
	nq/view.h, nq/wad.c, nq/wad.h, nq/zone.c: NQ no longer uses byte,
	it has been converted to use the Uint8 SDLism.	No changes that
	affect code, just a little SDLification.

2001-09-07 06:50  knghtbrd

	* qw/gl_rsurf.c: There you go EvilTypeGuy, waterwarp works with
	texsort now.

2001-09-07 03:18  knghtbrd

	* TODO, nq/host.c, nq/keys.c, nq/menu.c, nq/vid_sdl.c,
	qw/cl_main.c, qw/keys.c, qw/menu.c, qw/vid_sdl.c: It's possible to
	make the menu think you're in a game with a console open simply by
	opening one and typing "disconnect".  This causes the menu to
	refuse to open, thinking instead that it should close the console. 
	Fixed.	We now set key_dest == key_console after we init the host,
	probably other places need to set key_dest still, the diff for
	Mercury's new key code has them all covered.  Mouse wheel works
	fine, but can spit out warnings about unbound keys if you don't
	bind the wheel, even when using it to scroll the console.  Cleaning
	up the key_dest state changes will fix that.

2001-09-07 02:10  knghtbrd

	* include/mathlib.h, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/mathlib.c, nq/pr_cmds.c, nq/r_part.c,
	nq/sv_phys.c, nq/sv_user.c, nq/view.c, qw/cl_cam.c, qw/gl_rlight.c,
	qw/gl_rmain.c, qw/gl_rsurf.c, qw/mathlib.c, qw/pmove.c,
	qw/r_part.c, qw/view.c: Q_RSqrt (which did 1/sqrt using evil
	nonportable bitwise operations on a float) has gone away.  In the
	process, QW's mathlib.c became THE mathlib.c used by all targets. 
	Removing Q_RSqrt in favor of 1/Q_sqrt also made the two
	VectorNormalize functions identical, removed VectorNormalizeFast as
	a result.  SHOULD work fine, please test.

2001-09-07 01:49  eviltypeguy

	* AUTHORS: Added my name to Authors, per knghtbrd

2001-09-07 01:05  knghtbrd

	* TODO, qw/gl_warp.c: QW sky is fixed.

2001-09-05 20:43  knghtbrd

	* include/Makefile.am, nq/Makefile.am, qw/Makefile.am: Forgot to
	update these for make dist

2001-09-05 20:38  molivier

	* AUTHORS: Added my name and email to AUTHORS

2001-09-04 20:16  digiman

	* nq/gl_mesh.c, nq/nq.dsp, qw/gl_mesh.c, qw/qw.dsp: If somebody
	decides to increase number of max vertexes in models - feel free to
	do that.

2001-09-04 15:58  molivier

	* include/strlib.h: Fixed a typo in strlib.h

2001-09-04 15:39  knghtbrd

	* COPYING.BSD, TODO, configure.in, include/mathlib.h,
	include/strlib.h, include/win32conf.h, nq/cd_sdl.c, nq/cl_demo.c,
	nq/cl_input.c, nq/cl_parse.c, nq/cmd.c, nq/common.c, nq/conproc.c,
	nq/console.c, nq/cvar.c, nq/gl_draw.c, nq/gl_model.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c, nq/glquake.h,
	nq/host_cmd.c, nq/keys.c, nq/menu.c, nq/net_dgrm.c, nq/net_loop.c,
	nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c,
	nq/pr_exec.c, nq/sbar.c, nq/snd_dma.c, nq/snd_mem.c, nq/snd_mix.c,
	nq/strlib.c, nq/strlib.h, nq/sv_main.c, nq/sv_user.c,
	nq/sys_linux.c, nq/sys_win.c, nq/vid_sdl.c, nq/wad.c, nq/zone.c,
	qw/buildnum.c, qw/cd_sdl.c, qw/cl_cam.c, qw/cl_demo.c,
	qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c, qw/cl_parse.c,
	qw/cl_tent.c, qw/cmd.c, qw/common.c, qw/common.h, qw/console.c,
	qw/cvar.c, qw/gl_draw.c, qw/gl_mesh.c, qw/gl_model.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c, qw/gl_screen.c,
	qw/keys.c, qw/mathlib.c, qw/menu.c, qw/net_chan.c, qw/net_udp.c,
	qw/pmovetst.c, qw/sbar.c, qw/skin.c, qw/snd_dma.c, qw/snd_mem.c,
	qw/snd_mix.c, qw/strlib.c, qw/strlib.h, qw/sys_linux.c,
	qw/sys_win.c, qw/vid_sdl.c, qw/wad.c, qw/zone.c: Added windef.h to
	autoconf since it defines conflicting min/max macros.  There's now
	an error message about str{,n}casecmp if you don't have a suitable
	alternative.  Left-over #defines in common.h for the strlib stuff
	removed.  The Q_ prefix on strlib functions is gone.  ctype.h is
	now only included by strlib.h.	Moved strlib.h to include/.  Added
	COPYING.BSD, we already have strlcat/strlcpy under it and will have
	more soon.  Also fixed broken mathlib merge.  Either Vic forgot a
	test compile or VC++ is being especially retarded again.

2001-09-04 15:11  digiman

	* nq/mathlib.c: Merged nq and qw mathlibs

2001-09-04 15:04  digiman

	* include/mathlib.h, nq/mathlib.h, qw/mathlib.h: cvs commit -m
	"Moved mathlib.h to include"

2001-09-04 12:32  knghtbrd

	* qw/cl_main.c: We have bound () here, use it.

2001-09-04 12:00  molivier

	* configure.in, include/compat.h, include/win32conf.h, nq/cd_sdl.c,
	nq/cvar.c, nq/nq.dsp, nq/strlib.h, nq/zone.c, qw/cd_sdl.c,
	qw/cvar.c, qw/qw.dsp, qw/strlib.h, qw/zone.c: Add autoconf
	detection for strcasecmp, snprintf, and their friends and family.
	More strncpy -> strlcpy. Some fixes regarding a few Q_* functions

2001-09-02 16:12  digiman

	* nq/host.c: Dedicated server doesn't overwrites config.cfg.

2001-09-02 15:45  digiman

	* include/qtypes.h, nq/cd_sdl.c, nq/mathlib.h, nq/sv_phys.c,
	nq/vid_sdl.c, nq/view.c, qw/cd_sdl.c, qw/mathlib.h, qw/vid_sdl.c,
	qw/view.c: Code cleanup.

2001-09-02 02:27  digiman

	* nq/gl_screen.c, nq/vid.h, nq/vid_sdl.c, qw/vid.h, qw/vid_sdl.c:
	Cleaned up viddef_t, added -bpp command line option, some other
	small changes.

2001-09-02 02:24  digiman

	* nq/mathlib.h: Forgot to remove tempvector.

2001-09-02 02:22  digiman

	* nq/cd_sdl.c, qw/cd_sdl.c: Use CDStatus only if an error occured
	after restartinghanging a track.

2001-09-01 18:04  digiman

	* nq/mathlib.c, nq/mathlib.h, qw/mathlib.c, qw/mathlib.h: Another
	mathlib update: removed messy code from DotProduct and
	VectorLength, also added VectorSet macro.

2001-09-01 17:43  digiman

	* qw/vid_sdl.c: Actually glquake.h includes TGL_funcs.h, so we
	don't need another copy here.

2001-08-31 22:38  digiman

	* nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/glquake.h,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/glquake.h: Added
	gl_oldlights cvar to disable PVS dlights (FIXME: add this to
	menu?).

2001-08-31 22:37  digiman

	* qw/pmove.c: Do not calculate square root if it's not needed (a
	fix).

2001-08-31 22:36  digiman

	* include/qtypes.h: windef defines min and max

2001-08-31 17:49  knghtbrd

	* configure.in, include/win32conf.h, nq/console.c, nq/net_udp.c,
	nq/snd_linux.c, nq/sys_linux.c, nq/sys_win.c, qw/net_chan.c,
	qw/net_udp.c, qw/snd_linux.c, qw/sys_win.c: Cleaned up configure.in
	a bit, also autoconfiscated a couple headers while I was at it. 
	This sort of thing is good.  Please move away from silly #ifndef
	_WIN32 and vice-versa, it's not portable.

2001-08-31 08:56  eviltypeguy

	* nq/menu.c, qw/menu.c: GL_TEXTUREMODE is now a graphics options
	menu item, so users don't have to go digging through cvar land to
	set texture quality...

2001-08-31 08:56  eviltypeguy

	* nq/gl_draw.c, qw/gl_draw.c: Fixed up bad texture mode message,
	added sane default if user put in a bogus value

2001-08-31 08:21  eviltypeguy

	* qw/gl_draw.c: Typo correction

2001-08-31 06:28  eviltypeguy

	* nq/gl_draw.c, qw/gl_draw.c: gl_texturemode is now a cvar and not
	a command (I consider the old way to be a bug, so do others :)
	Basically, this means that anal players like me can have
	gl_linear_mipmap_linear automagically enabled for them, and since
	it's a cvar with cvar_archive set, it's automatically saved on quit

2001-08-31 05:53  eviltypeguy

	* qw/cmd.c: Anal code comment cleanup

2001-08-31 05:05  eviltypeguy

	* qw/menu.c: Properly realign one of the menu options...

2001-08-31 05:05  eviltypeguy

	* qw/pmove.c: someone had speed = VectorLength(speed), i assumed it
	should have been speed = VectorLength(pmove.velocity), since that
	compiles and makes some sense, though I don't know the intent of
	the coder, qw appears to work still entities and all, so i'm going
	to assume (uh oh) that this was the intent, and commit the
	resulting code :p

2001-08-31 05:02  eviltypeguy

	* qw/cmd.c: Added the console now works again feature :) (cmd_argc
	wasn't being incremented so it would never go on to the next
	command...or execute the current one?)

2001-08-30 18:51  digiman

	* nq/cl_main.c: Removed SetPal.

2001-08-30 18:39  digiman

	* nq/gl_rmain.c, nq/gl_rmisc.c, nq/glquake.h, qw/gl_rmain.c,
	qw/gl_rmisc.c, qw/glquake.h, qw/pmove.c: Removed code for
	envmapping tests.

2001-08-30 18:36  digiman

	* nq/gl_rsurf.c, qw/gl_rsurf.c: Use PlaneDiff macro

2001-08-30 15:38  molivier

	* nq/host.c, nq/nq.dsp, nq/quakedef.h, nq/snd_dma.c, nq/sys.h,
	nq/sys_linux.c, nq/sys_win.c, nq/zone.c, nq/zone.h, qw/cmd.c,
	qw/cvar.c, qw/glquake.h, qw/qw.dsp, qw/snd_dma.c, qw/snd_mix.c,
	qw/sound.h, qw/sys_linux.c, qw/zone.c: diff-- between NQ and the QW
	family, whitespaces, some cleaning... Updated VC6 project files to
	ease the compilation process for those who don't have SDL libs and
	include headers already installed on their computer (all you have
	to do is extracting the win32 SDL development package into Twilight
	root dir and rename its directory to just 'SDL')

2001-08-28 10:23  molivier

	* TODO, include/cvar.h, nq/cmd.c, nq/cvar.c, nq/pr_cmds.c,
	qw/cmd.c, qw/cvar.c: Added CVAR_TEMP support (progs now create
	cvars with a CVAR_TEMP flag when they request a cvar which doesn't
	exist); Cvar_Cleanup has been updated to remove them, but it's
	called nowhere anyway... Also, a few minor optimizations (strcpy ->
	memcpy), and some cleanup

2001-08-28 03:21  eviltypeguy

	* qw/menu.c: Added back frame interpolation and fullbright models
	options to graphics options menu, setup fullbright option to change
	both gl_fb_models, and gl_fb_bmodels, so fullbright is applied or
	not applied respectively to both types of models...

2001-08-27 15:38  molivier

	* qw/: snd_win.c, sys_win.c: Win32 qw compiles again

2001-08-27 05:53  eviltypeguy

	* nq/: gl_rsurf.c, gl_screen.c: Added controllable waterwarp to NQ,
	same as QW's: r_waterwarp 0 = disabled r_waterwarp > 0 = intensity
	setting examples: r_waterwarp 1 = very subtle r_waterwarp 8 = id
	default r_waterwarp 50 = trippy

2001-08-27 05:26  eviltypeguy

	* qw/: gl_rsurf.c, screen.h: Removed unnecessary include, and
	erroneous r_waterwarp declaration

2001-08-27 04:56  eviltypeguy

	* qw/: cl_cam.c, cl_demo.c, cl_ents.c, cl_input.c, cl_tent.c,
	gl_mesh.c, gl_rmain.c, gl_rsurf.c, gl_screen.c, net_chan.c,
	screen.h, snd_mix.c, vid_sdl.c, wad.c: Fixed up includes for QW,
	added r_waterwarp cvar, which acts both as a way to disable
	underwater 'warping', and the intensity of it...  i.e. r_waterwarp
	8 is same behavior as Id's stuff, r_waterwarp 0 is disabled, and
	r_waterwarp 1 is a subtle waterwarp, while r_waterwarp 50 is trippy
	:)

2001-08-27 04:17  knghtbrd

	* TODO, nq/common.c, nq/host.c, qw/cl_main.c, qw/common.c:
	fs_userpath/fs_sharepath exist now.  -sharedir is gone, it wasn't
	part of Quake though.  Also moved COM_Init_Cvars to just after the
	+set processing happens.  Also removed the pop array hanging around
	in QW's common.c.

2001-08-26 23:52  mercury

	* TODO: Added the new key system.

2001-08-26 23:40  knghtbrd

	* TODO: List a few people working on stuff with what they're
	working on

2001-08-26 23:34  knghtbrd

	* TODO, include/cvar.h, qw/bothdefs.h, qw/buildnum.c, qw/cd_sdl.c,
	qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_input.c,
	qw/cl_main.c, qw/cl_parse.c, qw/cl_pred.c, qw/cl_tent.c,
	qw/client.h, qw/cmd.c, qw/common.c, qw/common.h, qw/console.c,
	qw/crc.c, qw/cvar.c, qw/draw.h, qw/gl_draw.c, qw/gl_mesh.c,
	qw/gl_model.c, qw/gl_model.h, qw/gl_ngraph.c, qw/gl_refrag.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_screen.c, qw/gl_warp.c, qw/glquake.h, qw/host.h, qw/keys.c,
	qw/mathlib.c, qw/menu.c, qw/menu.h, qw/net_chan.c, qw/net_udp.c,
	qw/pmove.c, qw/pmove.h, qw/pmovetst.c, qw/quakedef.h, qw/r_part.c,
	qw/render.h, qw/sbar.c, qw/skin.c, qw/snd_dma.c, qw/snd_linux.c,
	qw/snd_mem.c, qw/snd_mix.c, qw/sound.h, qw/sys_linux.c,
	qw/vid_sdl.c, qw/view.c, qw/wad.c, qw/wad.h, qw/zone.c: quakedef in
	the QW client is gone.	It's not as cleanly done as the server was,
	mostly because I didn't want to spend all day on it.  Therefore,
	any file that includes client.h for example does not include
	everything it'd need if client.h was removed.  Deal with it, it
	shouldn't be too hard, but it is kinda slow work when you're doing
	it for 30 headers in a row, so I'm declaring victory for now.

2001-08-26 21:54  eviltypeguy

	* qw/gl_rsurf.c: Lighting on lava/water is correct now (matches
	NQ), the -lm_4 option actually works too! (since lightmaps are now
	built correctly for RGBA case)...

2001-08-26 21:17  eviltypeguy

	* nq/gl_rsurf.c: Cosmetic changes

2001-08-26 10:15  lordhavoc

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/glquake.h, nq/r_part.c, nq/vid_sdl.c,
	qw/gl_draw.c, qw/gl_ngraph.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_warp.c, qw/glquake.h, qw/r_part.c,
	qw/vid_sdl.c: cleaned up multitexture system fixed fullbright model
	rendering without multitexture bug in nq (wasn't setting base
	texture) fixed endian dependent fullbright texture creation code
	(EVIL!) fixed transparency bugs optimized glTexEnvF state changes a
	little

2001-08-26 08:52  eviltypeguy

	* TODO: Updated todo regarding gamma/brightness

2001-08-26 08:28  eviltypeguy

	* nq/menu.c: Completely fixed menus, bleh. This menu system drives
	me INSANE! (well more insane anyway..)

2001-08-26 08:26  eviltypeguy

	* qw/menu.c: Fixed the Menus in QW, ugh, the menu system is NOT
	intuitive.

2001-08-26 08:14  eviltypeguy

	* nq/menu.c: Mostly fixed my flubbed up menu changes. At least it's
	functional now.

2001-08-26 06:35  eviltypeguy

	* TODO, nq/gl_screen.c, nq/menu.c, nq/screen.h, qw/gl_screen.c,
	qw/menu.c, qw/screen.h: Updated todo, Added software brightness and
	contrast control (ported from lordhavoc's darkplaces) Looks sweet!
	This should tide us over until we have real hardware gamma and
	brightness (coming soon!) This will stay whenever I add hardware
	gamma/brightness in though because not all cards properly support
	hardware gamma/brightness...

2001-08-26 03:05  lordhavoc

	* include/TGL_funcs_list.h, nq/gl_draw.c, nq/gl_rmain.c,
	nq/vid_sdl.c, qw/gl_draw.c, qw/gl_rmain.c, qw/vid_sdl.c: disabled
	all uses of GL_ ALPHA_TEST and glAlphaFunc is now DONTNEED

2001-08-25 23:52  digiman

	* nq/gl_rmain.c: Fullbright models are rendered with mtex now.
	FIXME: the code is very poor.

2001-08-25 20:52  digiman

	* nq/cl_main.c, nq/cl_tent.c, nq/gl_model.c, nq/gl_rlight.c,
	nq/gl_rsurf.c, nq/mathlib.c, nq/mathlib.h, nq/pr_cmds.c,
	nq/sv_phys.c, nq/sv_user.c, nq/world.c, qw/cl_cam.c, qw/cl_tent.c,
	qw/gl_model.c, qw/gl_rlight.c, qw/gl_rsurf.c, qw/gl_warp.c,
	qw/mathlib.c, qw/mathlib.h, qw/pmovetst.c, qw/view.c: Wow, another
	BIG math update.  VectorLength is macro now.  Use PlaneDiff macro
	where possible.  Added macros for 2-dimensional vectors.

2001-08-25 19:00  digiman

	* qw/gl_rmain.c: PVS dlights work now. HUGE speedup.  'r_shadows 2'
	is back.

2001-08-25 18:59  digiman

	* nq/cl_main.c, nq/gl_model.h, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rmisc.c, nq/gl_rsurf.c, nq/glquake.h, nq/mathlib.h,
	nq/view.c, qw/cl_ents.c, qw/cl_parse.c, qw/client.h, qw/gl_model.c,
	qw/gl_model.h, qw/gl_rlight.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/glquake.h, qw/mathlib.h, qw/pmove.h, qw/qw.dsp, qw/view.c: PVS
	dlights work now. HUGE speedup.

2001-08-25 18:58  digiman

	* nq/chase.c: Small speedup.

2001-08-25 18:57  digiman

	* nq/cl_demo.c, qw/cl_demo.c: Clear pallete.

2001-08-25 09:21  knghtbrd

	* TODO: Bit of a priority resort for TODO - we can probably release
	with only an evening's worth of work.  Anything else done before
	then is just gravy.

2001-08-25 09:10  eviltypeguy

	* qw/keys.c: Semi-revert my last change to key_repeats for qw, qw's
	key_dest is currently broken and as such, I can only allow for the
	backspace key to repeat keys at this time

2001-08-25 09:00  knghtbrd

	* nq/: view.c, view.h: shutter glasses support never worked in
	OpenGL anyway, so it's gone.

2001-08-25 08:58  eviltypeguy

	* TODO, nq/keys.c, qw/keys.c: Corrected key repeating for both
	nq&qw now repeats if the key is bound for the console and it's not
	the pause key no matter what, this makes for useful key repeat,
	however due to a bug in QW's key_dest handling, key_repeat doesn't
	work when you start qw normally and get dumped to the console, it
	will only work in the console if you're currently in a game

2001-08-25 07:54  eviltypeguy

	* qw/: cl_input.c, client.h: Whitespace rearrangement, addition of
	key repeat for QW controllable just as NQ through cvars:
	in_key_repeat_delay in_key_repeat_interval

2001-08-25 02:33  digiman

	* twilight.dsw: MSVC++ 6.0 workspace actually works now.

2001-08-25 02:15  knghtbrd

	* .cvsignore, Makefile.am, TODO, autogen.sh, configure.in,
	twilight.dsw, doc/.cvsignore, doc/Makefile.am,
	doc/olddoc/.cvsignore, doc/olddoc/Makefile.am, include/.cvsignore,
	include/Makefile.am, nq/Makefile.am, qw/Makefile.am,
	tools/.cvsignore, tools/Makefile.am: make dist works

2001-08-25 01:42  lordhavoc

	* include/TGL_funcs_list.h: glShadeModel is no longer used

2001-08-25 01:42  lordhavoc

	* qw/: cl_ents.c, gl_rlight.c, gl_rmain.c, gl_rmisc.c, glquake.h,
	menu.c, vid_sdl.c: removed gl_smoothmodels cvar (and corresponding
	menu stuff) removed all setting of glShadeModel (the GL default is
	smooth) cleaned up some badly split up end of line comments and
	other minor whitespace issues sped up player model check in
	CL_LinkPacketEntities (uses cl_playerindex like the CL_LinkPlayers
	code)

2001-08-25 01:21  lordhavoc

	* nq/: gl_rlight.c, gl_rmain.c, gl_rmisc.c, glquake.h, menu.c,
	vid_sdl.c: removed gl_smoothmodels cvar (and corresponding menu
	stuff) removed all setting of glShadeModel (the GL default is
	smooth)

2001-08-25 00:03  knghtbrd

	* Makefile.am, configure.in, tools/cvs2cl.pl: Here's make
	ChangeLog..  It's not yet part of make dist or anything since we
	don't actually have a working make dist yet.

2001-08-24 20:23  molivier

	* twilight.dsw: Win32 qwsv compiles

2001-08-24 10:58  molivier

	* configure.in, nq/Makefile.am, nq/cd_sdl.c, nq/common.h,
	nq/modelgen.h, nq/quakedef.h, nq/spritegn.h, nq/strlib.c,
	nq/strlib.h, nq/sys_linux.c, qw/Makefile.am, qw/buildnum.c,
	qw/cd_sdl.c, qw/mdfour.c, qw/modelgen.h, qw/quakedef.h,
	qw/spritegn.h, qw/strlib.c, qw/strlib.h, qw/sys_linux.c: Added
	strlcat and strlcpy autoconf detection. Added strlib in NQ and QW

2001-08-24 09:02  eviltypeguy

	* TODO: Updated todo

2001-08-24 09:01  eviltypeguy

	* nq/: cl_input.c, cl_main.c, client.h, cvar.c, vid_sdl.c: Added
	working key repeat for backspace :) May change key repeats later to
	be more intuitive.

2001-08-23 23:20  knghtbrd

	* include/cvar.h, include/qtypes.h, nq/mathlib.h, qw/mathlib.h,
	qw/sys_linux.c, qw/zone.c: -qwsv has been de-quakedef'd (or
	de-qwsvdef'd in this case..)  Moved a few things around to
	accomplish this.  Got rid of quakeparms_t in the server.  Created a
	preliminary console.h for -qwsv, mostly for the Con_* prototypes
	which live in one of the sv_* files for now.  Removed
	host_initialized stuff from Cmd_AddCommand.  Fixed a few Q_*
	functions that were not Q_*'d but should have been, even though I
	intend to make the Q_ prefixes go away forever sooner or later. 
	Removed much cruft from the top of SV_Init.  I haven't really done
	anything on the win32 side (sorry Vic) but will be setting up a
	cross compiler next to try and do a sys.c merge.  Forest, you may
	have to do some stuff in order to get VC++4 to work properly again.

2001-08-23 06:57  eviltypeguy

	* nq/console.c, qw/console.c: Beep the user in NQ and let them know
	it couldn't match anything for tab completion.
	
	For QW, let the user know it couldn't match anything for tab
	completion.  (Couldn't beep the user as this would create a
	dependency on sound.h in qw, which already existed in NQ)

2001-08-23 04:21  knghtbrd

	* TODO: Couple things that are done now..

2001-08-22 16:29  digiman

	* qw/sys_win.c: quakeparms_t gone.

2001-08-22 16:29  digiman

	* nq/: chase.c, cl_main.c: Improved chasecam.

2001-08-22 16:28  digiman

	* nq/gl_rmisc.c, qw/gl_rmisc.c: Small speedup...

2001-08-22 16:26  digiman

	* nq/vid_sdl.c, qw/vid_sdl.c: Added forcing of glFinish

2001-08-22 15:47  molivier

	* nq/common.c, nq/console.c, nq/keys.c, qw/common.c: All str[n]cpy
	and str[n]cat are now Q_str[n]cpy and Q_str[n]cat (hopefully)

2001-08-22 15:45  molivier

	* nq/cl_input.c, nq/sv_user.c, qw/cl_input.c: Add +use support.

2001-08-22 10:13  molivier

	* nq/: crc.h, pr_edict.c: Remove compilation warnings (-> errors)
	on RedHat 7.1

2001-08-22 09:00  eviltypeguy

	* TODO: Updated todo to reflect bash-style tab completion addition

2001-08-22 08:57  eviltypeguy

	* include/cvar.h, nq/cmd.c, nq/cmd.h, nq/console.c, nq/console.h,
	nq/cvar.c, nq/keys.c, qw/cmd.c, qw/cmd.h, qw/console.c,
	qw/console.h, qw/cvar.c, qw/keys.c: Wheeeee, bash-style tab
	completion for NQ & QW, NOT QWSV (this is an exercise left to the
	more adventerous, which is not me ;)
	
	It basically works like so: c<tab>
	<===============================================================> 7
	possible commands: color      connect	 changing   cd	      
	clear	   centerview cmd
	
	31 possible variables: cl_chasecam	   cl_hightrack       
	cl_nopred cl_nodelta	      cl_solid_players	 
	cl_predict_players2 cl_predict_players	cl_maxfps	   
	cl_hudswap cl_sbar	       cl_shownet	   cl_timeout
	cl_anglespeedkey    cl_pitchspeed	cl_yawspeed cl_movespeedkey
	    cl_sidespeed	cl_backspeed cl_forwardspeed	 cl_upspeed
		 cl_warncmd cl_crossy		cl_crossx	   
	crosshaircolor crosshair	   cl_bobup	       cl_bobcycle
	cl_bob		    cl_rollangle	cl_rollspeed con_notifytime
	
	Enjoy!

2001-08-22 06:05  eviltypeguy

	* TODO: Updated TODO, (early +set execute done for qwsv now as
	well?)

2001-08-22 06:04  eviltypeguy

	* nq/cvar.c: Stupidity fix regarding Cmd_AddCommand (everything
	appears to work still...)
	
	Added early +set execute fix to qwsv...

2001-08-22 00:40  digiman

	* qw/: cl_demo.c, cl_main.c, cl_parse.c, client.h, console.c,
	gl_draw.c, gl_model.c, gl_model.h, gl_rmain.c, gl_rmisc.c,
	gl_rsurf.c, gl_screen.c, gl_warp.c, glquake.h, qw.dsp, screen.h,
	snd_win.c, sys_win.c: Too much has changed. Fullbright textures on
	models, bmodels and player model skins. Some small changes here and
	there.

2001-08-22 00:35  digiman

	* nq/: cl_demo.c, cl_main.c, cl_tent.c, console.c, gl_draw.c,
	gl_model.c, gl_rmain.c, gl_warp.c, keys.c, nq.dsp, snd_win.c,
	view.c: Too much has changed. First of all it compiles under
	windows again. Some small changes here and there.

2001-08-21 01:53  knghtbrd

	* TODO, qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c, qw/cl_main.c,
	qw/cl_parse.c, qw/cl_pred.c, qw/cl_tent.c, qw/console.c,
	qw/gl_mesh.c, qw/gl_ngraph.c, qw/gl_rlight.c, qw/gl_rmain.c,
	qw/gl_screen.c, qw/glquake.h, qw/keys.c, qw/mathlib.c, qw/menu.c,
	qw/pmove.c, qw/pmove.h, qw/pmovetst.c, qw/quakedef.h, qw/sbar.c,
	qw/screen.h, qw/snd_dma.c, qw/view.c: quakedef WILL die.  Soon. 
	Note that I had to do some *_t -> struct *_s changes and that these
	were sometimes not exactly trivial.

2001-08-20 23:35  eviltypeguy

	* TODO: Updated TODO, added notes about tab completion (not
	necessary for first public release)

2001-08-20 11:36  knghtbrd

	* qw/: cd_sdl.c, cl_cam.c, cl_ents.c, cl_input.c, cl_main.c,
	cl_parse.c, cl_pred.c, cl_tent.c, client.h, cmd.c, common.c,
	console.c, gl_draw.c, gl_model.c, gl_ngraph.c, gl_rlight.c,
	gl_rmain.c, gl_rmisc.c, gl_rsurf.c, gl_screen.c, gl_warp.c,
	glquake.h, keys.c, menu.c, net.h, net_chan.c, quakedef.h, sbar.c,
	sbar.h, screen.h, skin.c, snd_dma.c, snd_linux.c, snd_mem.c,
	snd_mix.c, snd_win.c, sound.h, vid.h, vid_sdl.c, view.c, view.h:
	Sbar_Changed and sb_updates are gone, we always update.  viddef_t
	has been gutted.  VID_ShiftPalette and the cruft using it are gone.
	 The big change is that several header files are no longer part of
	quakedef.h, more will follow.

2001-08-20 08:08  raineth

	* qw/: cl_ents.c, client.h, gl_rmain.c, gl_rmisc.c, menu.c,
	render.h: Fixed some problems caused by the previous attempt to
	port interpolated model animation and added another attempt (which
	seems to work).

2001-08-20 03:40  eviltypeguy

	* TODO: Updated TODO list...

2001-08-20 02:55  eviltypeguy

	* nq/: cmd.c, cvar.c: Fix early +set execution for NQ

2001-08-20 00:19  knghtbrd

	* qw/cvar.c: Fairly significant fuckup on my part with Cvar_Set_f. 
	Someone needs to do this in nq and qw-server still

2001-08-20 00:16  eviltypeguy

	* nq/cmd.c, nq/cmd.h, nq/host.c, qw/cmd.c: Fix for +set to happen
	earlier and properly for NQ

2001-08-20 00:09  eviltypeguy

	* qw/cmd.c: Removal of some crufty debug messages I left...

2001-08-20 00:06  eviltypeguy

	* qw/: cl_main.c, cmd.c, cvar.c: Early +set execute/parsing fix for
	QW...

2001-08-19 23:12  knghtbrd

	* nq/cd_sdl.c, qw/cd_sdl.c: SDL_InitSubSystem used instead of
	SDL_Init for the CD stuff.  Affects nothing.

2001-08-19 22:29  knghtbrd

	* qw/: cl_main.c, quakedef.h, snd_dma.c, sys.h, sys_linux.c,
	zone.c, zone.h: Reworking of the init stuff a little, quakeparms_t
	is gone now and some of the code in cl_main.c has moved to
	sys_linux.c.  This means that the same needs to happen in
	sys_win.c..  Rain, please make the requisite changes and make sure
	it compiles?

2001-08-19 21:17  raineth

	* nq/gl_rmain.c: I'm pretty sure this qglShadeModel (GL_FLAT);
	isn't supposed to be here.  It seems to be negatively effecting
	model blending (you can see the seperation of polygons)

2001-08-19 21:00  knghtbrd

	* qw/net_wins.c: net_udp should be used instead of net_wins.  Vic,
	this should Just Work for you, but let me know if it doesn't..

2001-08-19 20:50  knghtbrd

	* qw/net_udp.c: apply a fix from qw-server for win32 returning a
	retarded error

2001-08-19 19:54  knghtbrd

	* qw/: sys.h, sys_linux.c, sys_null.c, sys_win.c: A bit of a sys
	cleanup - didn't go through the win32 stuff much since I am unable
	to test it after fiddling.

2001-08-19 11:19  eviltypeguy

	* nq/cd_sdl.c, nq/cdaudio.h, nq/chase.c, nq/cl_main.c, nq/client.h,
	nq/cmd.h, nq/common.c, nq/common.h, nq/console.c, nq/console.h,
	nq/draw.h, nq/gl_draw.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_rmisc.c, nq/gl_screen.c, nq/host.c, nq/input.h, nq/keys.c,
	nq/keys.h, nq/menu.c, nq/menu.h, nq/net.h, nq/net_main.c,
	nq/pr_edict.c, nq/progs.h, nq/quakedef.h, nq/render.h, nq/sbar.c,
	nq/sbar.h, nq/screen.h, nq/snd_dma.c, nq/sound.h, nq/vid.h,
	nq/vid_sdl.c, nq/view.c, nq/view.h, qw/screen.h: Reorganized
	host_init for nq so that initialization of subsystems is now split
	up as such:
	
	Subsystem_Init_Cvars(); 	// initialize all subsystem related
	cvars Subsystem_Init(); 	      // setup subsystem, add
	related commands

2001-08-19 09:16  eviltypeguy

	* qw/cl_main.c: Moved all the Init_Cvar() routines into one place
	that could be to facilitate earlier +set executes and cleanliness,
	certain ones couldn't be removed because they depended on certain
	subsystems being initialized first...

2001-08-19 08:49  eviltypeguy

	* qw/: cd_sdl.c, cdaudio.h, cl_input.c, cl_main.c, client.h, cmd.c,
	cmd.h, common.c, common.h, console.c, console.h, cvar.c, draw.h,
	gl_draw.c, gl_model.c, gl_model.h, gl_rmisc.c, gl_screen.c,
	input.h, keys.c, keys.h, menu.c, menu.h, net.h, net_chan.c,
	render.h, sbar.c, sbar.h, screen.h, snd_dma.c, sound.h, vid.h,
	vid_sdl.c, view.c, view.h: Reorganized host_init for QW so that
	initialization of subsystems is now split up as such:
	
	Subsystem_Init_Cvars(); 	// initialize all subsystem related
	cvars Subsystem_Init(); 	    // setup subsystem, add related
	commands

2001-08-18 10:14  knghtbrd

	* qw/cl_main.c: Beat some needless platformisms out of QW

2001-08-17 02:55  digiman

	* qw/cl_cam.c: Code cleanup.

2001-08-17 02:55  digiman

	* qw/cl_tent.c: FIXME: is this a good fix? I'm sure that the author
	was half asleep when typing that code.

2001-08-17 02:54  digiman

	* qw/skin.c: Added big-endian machines support

2001-08-17 02:53  digiman

	* qw/quakedef.h: Removed #pragma stuff - it is in win32conf.h now.

2001-08-17 02:50  digiman

	* nq/r_part.c, qw/gl_rmain.c, qw/r_part.c: Fixed that weird
	particle bug

2001-08-17 02:48  digiman

	* nq/: gl_rmain.c, glquake.h: Removed R_RotateEntity from glquake.h
	and modified it for shadows (FIXME: this approach is definitely
	wrong, shadows are yaw-independent).

2001-08-17 02:46  digiman

	* nq/quakedef.h: Moved #pragma warning lines to win32conf.h

2001-08-17 02:43  digiman

	* nq/: cl_tent.c, pr_cmds.c: FIXME: is that a good fix? The author
	of those lines was half asleep while typing that (IMHO).

2001-08-17 02:41  digiman

	* nq/: gl_draw.c, gl_model.c, host.c: Dedicated sever works again.

2001-08-16 04:25  knghtbrd

	* TODO, nq/common.c, qw/Makefile.am, qw/common.c, qw/common.h,
	qw/gl_model.c, qw/md4.c, qw/mdfour.c, qw/mdfour.h: mdfour.c is
	finally incorporated into the code.  Also did a little cleanup of
	the dead code in common.c while I was poking around.

2001-08-16 03:54  digiman

	* include/win32conf.h: Now valid macro here.

2001-08-15 16:48  knghtbrd

	* TODO, doc/template.txt: Updated the template, also added a WHOLE
	BUNCH of stuff to the TODO list.

2001-08-15 16:35  knghtbrd

	* include/TGL_defines.h, include/TGL_funcs.h,
	include/TGL_funcs_list.h, include/TGL_types.h, include/compat.h,
	include/cvar.h, include/qtypes.h, include/win32conf.h,
	nq/anorm_dots.h, nq/anorms.h, nq/bspfile.h, nq/cdaudio.h,
	nq/client.h, nq/cmd.h, nq/common.h, nq/conproc.h, nq/console.h,
	nq/crc.h, nq/draw.h, nq/gl_model.h, nq/gl_warp_sin.h, nq/glquake.h,
	nq/input.h, nq/keys.h, nq/mathlib.h, nq/menu.h, nq/modelgen.h,
	nq/net.h, nq/net_dgrm.h, nq/net_loop.h, nq/net_udp.h, nq/pr_comp.h,
	nq/progdefs.h, nq/progs.h, nq/protocol.h, nq/quakedef.h,
	nq/render.h, nq/sbar.h, nq/screen.h, nq/server.h, nq/sound.h,
	nq/spritegn.h, nq/sys.h, nq/vid.h, nq/view.h, nq/wad.h,
	nq/winquake.h, nq/world.h, nq/zone.h, qw/anorm_dots.h, qw/anorms.h,
	qw/bothdefs.h, qw/bspfile.h, qw/cdaudio.h, qw/client.h, qw/cmd.h,
	qw/common.h, qw/console.h, qw/crc.h, qw/draw.h, qw/gl_model.h,
	qw/gl_warp_sin.h, qw/glquake.h, qw/hash.h, qw/input.h, qw/keys.h,
	qw/mathlib.h, qw/mdfour.h, qw/menu.h, qw/modelgen.h, qw/net.h,
	qw/pmove.h, qw/protocol.h, qw/quakedef.h, qw/render.h, qw/sbar.h,
	qw/screen.h, qw/sound.h, qw/spritegn.h, qw/sys.h, qw/vid.h,
	qw/view.h, qw/wad.h, qw/winquake.h, qw/zone.h: A little prettying
	of the boilerplate for .h files to match what I did for .c files
	the other day.	Every file is $Id$'d now and may be included more
	than once safely.  No promises that there aren't things in the
	headers that shouldn't be like variable declarations, I didn't even
	check for that kind of thing.

2001-08-15 10:10  raineth

	* acconfig.h, configure.in, include/compat.h, include/win32conf.h,
	nq/Makefile.am, nq/conproc.c, nq/glquake.h, nq/mathlib.c,
	nq/quakedef.h, nq/snd_dma.c, nq/snd_mix.c, nq/snd_win.c,
	nq/sys_win.c, nq/winquake.h, qw/Makefile.am, qw/glquake.h,
	qw/mathlib.c, qw/quakedef.h, qw/snd_dma.c, qw/snd_mix.c,
	qw/snd_win.c, qw/sys_win.c, qw/winquake.h: Added autoconf/automake
	support for building on Win32, building with mingw32 works properly
	now (and building with cygwin may.)  Additionally, some of the
	Win32 code has been cleaned up so that the code is -Werror clean
	for Win32.

2001-08-15 07:44  knghtbrd

	* nq/gl_draw.c: This should be a qboolean, not an int.	(internally
	there's no difference of course, but the prototype doesn't match
	and it's used as a boolean so here's the right thing..)

2001-08-14 18:13  digiman

	* nq/: gl_draw.c, gl_model.c, gl_model.h, gl_rmisc.c, gl_rsurf.c,
	glquake.h, menu.c: Fullbright textures support. Objects that emit
	light still can have FLAG_FULLBRIGHT flag set.

2001-08-14 18:10  digiman

	* nq/gl_rmain.c: Another method of drawing sprites, fullbright
	textures support.

2001-08-14 18:09  digiman

	* include/win32conf.h: Set SHAREPATH and USERPATH to . to avoid
	creating 'id1' and 'qw' directories into the root directory of the
	current disk. (submitted by Mathieu Olivier)

2001-08-14 18:08  digiman

	* nq/sys_win.c: Increased number of syshandles to 100.

2001-08-14 15:02  digiman

	* include/TGL_funcs_list.h: Added glColor3fv.

2001-08-14 15:00  digiman

	* nq/gl_rlight.c: Fixed a typo (bug) in R_AnimateLight

2001-08-14 14:15  digiman

	* qw/: cl_ents.c, cl_parse.c, cl_tent.c, client.h, gl_funcs.c:
	Switched to RGB format of bubbles.

2001-08-14 14:14  digiman

	* qw/vid_sdl.c: Do not redefine APIENTRY - changed the order of the
	included headers.

2001-08-14 14:13  digiman

	* qw/gl_rlight.c: Additional accuracy when building light bubbles,
	added near z-clip plane checking, switched to RGB format of
	bubbles.

2001-08-14 14:12  digiman

	* nq/gl_rlight.c: Additional accuracy when building light bubbles,
	added near z-clip plane checking.

2001-08-14 14:11  digiman

	* nq/sv_phys.c: Enabled rotating bmodels.

2001-08-14 14:10  digiman

	* nq/nq.dsp, qw/qw.dsp: Updated VC++ 6.0 project files for NQ and
	QW.

2001-08-14 14:08  digiman

	* nq/gl_draw.c, qw/gl_draw.c: Small code cleanup.

2001-08-14 03:11  knghtbrd

	* acconfig.h, configure.in, include/win32conf.h, nq/vid_sdl.c,
	qw/vid_sdl.c: In Linux, you may now specify
	--with-opengl=libWhateverGL.so.something to pick your compiled-in
	default for GL library.  ./configure will tell you what it's set
	to.  Win32 gets opengl32.dll as normal.

2001-08-14 02:28  knghtbrd

	* include/cvar.h, nq/console.c, nq/cvar.c, nq/cvar.h, nq/host.c,
	qw/console.c, qw/cvar.h: Linux -Werror fixes, also moved cvar.h to
	include/.  Not because it just happens to be used by all of our
	targets, but because it's independant of them now.  The only place
	that's not true is info variables, and I could fix that in a few
	minutes.  We're not ready for that yet though.

2001-08-14 02:04  digiman

	* nq/cl_tent.c: Preload Rogue's progs/beam.mdl too. Does Scourge of
	Armagon has this temporary entity too?

2001-08-14 02:03  digiman

	* nq/gl_rlight.c, qw/gl_rlight.c: Speed up recursive light checking
	- this version is faster that id's one and LordHavoc's one too.

2001-08-14 02:01  digiman

	* nq/console.c, qw/console.c: Speed up console drawing

2001-08-14 01:24  digiman

	* include/TGL_funcs.h, nq/gl_funcs.c, nq/vid_sdl.c, qw/gl_funcs.c,
	qw/vid_sdl.c: Runtime GL linking works under Windows! Finally.

2001-08-14 00:54  digiman

	* nq/mathlib.c, qw/mathlib.c: Fixed a terrible bug in Q_atan.

2001-08-14 00:17  knghtbrd

	* include/win32conf.h: I have no idea if this will fix win32, I
	just know that it is a step in the right direction.

2001-08-13 16:25  knghtbrd

	* include/TGL_funcs.h, include/TGL_funcs_list.h, nq/glquake.h:
	There is a very good chance this may fix it.  Won't know till
	someone does a compile..

2001-08-13 15:49  digiman

	* include/TGL_types.h: Removed sdl/ part of path.

2001-08-13 15:47  knghtbrd

	* nq/quakedef.h, qw/quakedef.h: This stuff is in each .c file now,
	no need for it in the monolithic header anymore..

2001-08-13 15:44  knghtbrd

	* include/win32conf.h: There's a chance that this maybe fixes stuff
	for win32

2001-08-13 10:58  knghtbrd

	* TODO, nq/sys_linux.c, nq/sys_win.c, qw/common.c, qw/common.h,
	qw/sys.h, qw/sys_linux.c, qw/sys_win.c: -basedir no longer needed
	in Linux, also fixed a QW server bug regarding the temp1 var..

2001-08-13 10:05  knghtbrd

	* nq/sys_win.c: Sys_ExpandPath for win32 based on Rain's cleanup of
	my evil for Linux.  I will add this to the QW's next.

2001-08-13 09:49  raineth

	* nq/sys_linux.c: Slightly more sane/efficient Sys_ExpandPath.

2001-08-13 06:39  knghtbrd

	* nq/: common.c, common.h, sys.h, sys_linux.c: This ... works, but
	it's screwed up on a massive scale.  First person with a sane
	version gets a cookie.	NQ only till it's not retarded, win32 ver
	will be forthcoming (and is massively easier to write!)

2001-08-13 05:40  mercury

	* include/TGL_funcs.h, nq/gl_funcs.c, qw/gl_funcs.c: Might compile
	better on windows now.

2001-08-13 05:33  knghtbrd

	* configure.in: No idea how this got broken, but it's fixed now

2001-08-13 05:23  knghtbrd

	* acconfig.h, configure.in: For Mercury

2001-08-13 05:14  mercury

	* nq/vid_sdl.c, qw/vid_sdl.c: No longer use evil arch specific code
	for mtex stuff.

2001-08-13 05:00  knghtbrd

	* acconfig.h, autogen.sh, configure.in, include/.cvsignore,
	include/win32conf.h, nq/Makefile.am, nq/cd_sdl.c, nq/chase.c,
	nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c, nq/cl_parse.c,
	nq/cl_tent.c, nq/cmd.c, nq/common.c, nq/conproc.c, nq/console.c,
	nq/crc.c, nq/cvar.c, nq/gl_draw.c, nq/gl_funcs.c, nq/gl_mesh.c,
	nq/gl_model.c, nq/gl_refrag.c, nq/gl_rlight.c, nq/gl_rmain.c,
	nq/gl_rmisc.c, nq/gl_rsurf.c, nq/gl_screen.c, nq/gl_warp.c,
	nq/host.c, nq/host_cmd.c, nq/keys.c, nq/mathlib.c, nq/menu.c,
	nq/net_bsd.c, nq/net_dgrm.c, nq/net_loop.c, nq/net_main.c,
	nq/net_udp.c, nq/pr_cmds.c, nq/pr_edict.c, nq/pr_exec.c,
	nq/r_part.c, nq/sbar.c, nq/snd_dma.c, nq/snd_linux.c, nq/snd_mem.c,
	nq/snd_mix.c, nq/snd_null.c, nq/snd_win.c, nq/sv_main.c,
	nq/sv_move.c, nq/sv_phys.c, nq/sv_user.c, nq/sys_linux.c,
	nq/sys_null.c, nq/sys_win.c, nq/sys_wind.c, nq/vid_sdl.c,
	nq/view.c, nq/wad.c, nq/win32config.h, nq/world.c, nq/zone.c,
	qw/Makefile.am, qw/buildnum.c, qw/cd_sdl.c, qw/cl_cam.c,
	qw/cl_demo.c, qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c,
	qw/cl_parse.c, qw/cl_pred.c, qw/cl_tent.c, qw/cmd.c, qw/common.c,
	qw/console.c, qw/crc.c, qw/cvar.c, qw/gl_draw.c, qw/gl_funcs.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/gl_ngraph.c, qw/gl_refrag.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_screen.c, qw/gl_warp.c, qw/hash.c, qw/keys.c, qw/mathlib.c,
	qw/md4.c, qw/mdfour.c, qw/menu.c, qw/net_chan.c, qw/net_udp.c,
	qw/net_wins.c, qw/pmove.c, qw/pmovetst.c, qw/r_part.c, qw/sbar.c,
	qw/skin.c, qw/snd_dma.c, qw/snd_linux.c, qw/snd_mem.c,
	qw/snd_mix.c, qw/snd_win.c, qw/sys_linux.c, qw/sys_null.c,
	qw/sys_win.c, qw/vid_sdl.c, qw/view.c, qw/wad.c, qw/win32config.h,
	qw/zone.c: You must use -bindir in linux for the time being,
	Sys_ExpandPath has NOT been written yet!  All .c files have had
	their GPL header changed to a nicer and consistant format.  They
	all have rcsid's too.
	
	This is also a pretty significant autoconf update.

2001-08-12 17:27  mercury

	* configure.in, nq/Makefile.am: Kill the requirement for the libGL
	in the nq makefile and configure.in.

2001-08-12 16:51  mercury

	* include/TGL_defines.h, include/TGL_funcs.h,
	include/TGL_funcs_list.h, include/TGL_types.h, include/qtypes.h,
	nq/Makefile.am, nq/cl_parse.c, nq/common.c, nq/common.h,
	nq/gl_draw.c, nq/gl_funcs.c, nq/gl_model.c, nq/gl_refrag.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/glquake.h, nq/menu.c,
	nq/quakedef.h, nq/r_part.c, nq/vid_sdl.c, qw/Makefile.am,
	qw/cl_ents.c, qw/cl_parse.c, qw/common.h, qw/gl_draw.c,
	qw/gl_funcs.c, qw/gl_model.c, qw/gl_ngraph.c, qw/gl_refrag.c,
	qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_screen.c, qw/gl_warp.c, qw/glquake.h, qw/menu.c,
	qw/quakedef.h, qw/r_part.c, qw/vid_sdl.c: The BIG commit.  We now
	link with the libGL at runtime, note that while a cvar is used for
	the library to use it is actually hard coded in a way: The cvar is
	used early in the init sequence, after it is declared but BEFORE
	the command line is processed to set cvars, so you can't actually
	change it at run time.	Right now the default is libGL.so.1, which
	will work for all *nix systems but won't under windows, change it
	before compiling windows bins.
	
	(Both issues are for Knghtbrd to solve when he wakes up, he already
	agreed to do it.)

2001-08-12 16:29  digiman

	* qw/gl_rmain.c: r_shadows 2 is back.

2001-08-12 16:28  digiman

	* nq/gl_rsurf.c: Removed nCollinElim in BuildSurfaceDisplayList,
	since it did nothing.

2001-08-12 16:09  digiman

	* nq/gl_draw.c, qw/gl_draw.c: Finally fixed GL_CacheMismatch bug.

2001-08-12 16:07  raineth

	* qw/: cl_ents.c, cl_parse.c, cl_pred.c, gl_model.h, gl_rmain.c,
	gl_rmisc.c, glquake.h, menu.c, render.h: Ported model
	interpolation, fullbright model support, and the graphics options
	menu from nq to qw.

2001-08-12 15:33  digiman

	* qw/hash.c: Shut up compiler warnings.

2001-08-12 15:31  digiman

	* qw/qw.dsp: Updated windows VC++ 6.0 projects to include new
	files.

2001-08-12 15:29  digiman

	* nq/sys_win.c: Fix to compile.

2001-08-12 15:27  digiman

	* qw/: mdfour.c, mdfour.h: Applied md4 code, which doesn't violate
	GPL.

2001-08-12 15:25  digiman

	* nq/cl_tent.c, qw/cl_tent.c: Speedup - prefind models for
	temporary entities.

2001-08-12 15:08  zinx

	* nq/vid_sdl.c: 
	Maybe I got all the important mouse code this time :)

2001-08-12 14:53  knghtbrd

	* include/.cvsignore: I'm not done with the stuff that uses it and
	if I try to commit it now, it would break everything.  Still,
	committing this file makes include/ exist and that's what Mercury
	needs.	The rest will have to wait till I've had some sleep.

2001-08-12 12:04  knghtbrd

	* doc/cvar.txt, nq/cd_sdl.c, nq/chase.c, nq/cl_input.c,
	nq/cl_main.c, nq/cl_parse.c, nq/console.c, nq/cvar.c, nq/cvar.h,
	nq/gl_draw.c, nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/gl_rsurf.c, nq/gl_screen.c, nq/gl_warp.c, nq/host.c,
	nq/host_cmd.c, nq/menu.c, nq/net_main.c, nq/pr_cmds.c,
	nq/pr_edict.c, nq/r_part.c, nq/sbar.c, nq/snd_dma.c, nq/snd_mix.c,
	nq/sv_main.c, nq/sv_phys.c, nq/sv_user.c, nq/sys_linux.c,
	nq/vid_sdl.c, nq/view.c: As we've decided against the float vector
	for NQ/QW Cvars, I've removed them from NQ.  Also updated the
	developer notes.

2001-08-12 11:22  raineth

	* qw/common.c: Search paths were incorrectly being allocated out of
	the hunk (causing them to be freed on level change), and
	search->pack wasn't being initialized.

2001-08-12 11:08  knghtbrd

	* nq/sbar.c: Status bar should _ALWAYS_ update.

2001-08-12 11:02  knghtbrd

	* qw/gl_screen.c: sizeup/sizedown fix - reminder: when writing
	format strings, think.

2001-08-12 10:57  knghtbrd

	* nq/gl_draw.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_warp.c, nq/glquake.h, nq/r_part.c, qw/gl_draw.c,
	qw/gl_ngraph.c, qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_rsurf.c,
	qw/gl_warp.c, qw/glquake.h, qw/r_part.c: GL_Bind is GL_Gone, we now
	use glBindTexture directly

2001-08-12 10:35  knghtbrd

	* nq/gl_draw.c, qw/gl_draw.c: End of the scrap system, which was
	really only a benefit on Voodoo1-era cards anyway.

2001-08-12 10:02  knghtbrd

	* TODO, qw/gl_warp.c: Cvar for -qwsv and fix a fuckup of -qw of
	collossal proprtions.

2001-08-12 08:48  knghtbrd

	* qw/: cd_sdl.c, cl_cam.c, cl_ents.c, cl_input.c, cl_main.c,
	cl_parse.c, cl_pred.c, client.h, cmd.c, common.c, common.h,
	console.c, cvar.c, cvar.h, gl_draw.c, gl_model.c, gl_rlight.c,
	gl_rmain.c, gl_rmisc.c, gl_rsurf.c, gl_screen.c, glquake.h, keys.c,
	menu.c, net.h, net_chan.c, quakedef.h, sbar.c, screen.h, snd_dma.c,
	snd_mem.c, snd_mix.c, sound.h, vid_sdl.c, view.c, view.h: QW now
	uses new Cvar system, someone needs to go through and make this
	work for win32, .value to ->value, etc.

2001-08-11 09:13  raineth

	* nq/cd_sdl.c, qw/cd_sdl.c: This should fix the major CD slowdown
	in Win32.  We now check the CD status *much* less often (the old
	code checked every 2 seconds, the new code only checks when it
	thinks the track should be over), and switches to using realtime
	instead of time().  Less system calls are good.

2001-08-11 02:48  knghtbrd

	* nq/menu.c: Fix options menu for non-win32

2001-08-10 22:23  knghtbrd

	* nq/gl_rmain.c: Silence gcc warnings

2001-08-10 22:01  digiman

	* nq/gl_rmain.c: Improved shadows (r_shadows 2).

2001-08-10 22:00  digiman

	* nq/: console.c, keys.c: Advance console editing.

2001-08-10 21:59  digiman

	* nq/menu.c: Menu are working again. Added graphics menu.

2001-08-10 21:57  digiman

	* nq/vid_sdl.c: Disabled alpha.

2001-08-10 21:56  digiman

	* nq/world.c: Enabled rotation bmodels

2001-08-10 19:23  knghtbrd

	* .cvsignore, autogen.sh: Let's fix the whining about ChangeLog, we
	still need to set up cvs2cl at some point in the near future.

2001-08-10 09:58  knghtbrd

	* TODO: big TODO update, mostly resorting of priorities a little
	and removal of the stuff that's done and the stuff that's not going
	to be done.

2001-08-10 09:23  knghtbrd

	* qw/cl_main.c: *ahem*	Let's not with the making of an empty qw
	dir in ., shall we?

2001-08-10 08:42  zinx

	* qw/mathlib.c: 
	Added missing -

2001-08-10 07:02  zinx

	* nq/vid_sdl.c: 
	Ported the mouse code from twilight-qw

2001-08-10 06:25  knghtbrd

	* qw/: cl_main.c, cl_parse.c, cl_pred.c, console.c, keys.c, keys.h,
	menu.c, vid_sdl.c: Reverted Zeph's key changes.  Noticed a BIG
	problem probably with Vic's math changes.  Demo to prove it, will
	send to anyone who needs it.

2001-08-10 03:06  digiman

	* nq/gl_model.c: You can add model with special flags without pain
	now: just add it at the end of the list and program will do its
	job.

2001-08-10 01:14  knghtbrd

	* qw/sys_linux.c: Vic officially kicks ass.  Here are the Linux
	updates for his math updates in qw and qw-server.  Note that we now
	link against SDL in the server, but don't use it for anything other
	than a few types in mathlib.c now.  I'm unsure as to what we'll do
	about this long term, for the short term it'll work fine, so I'm
	not worrying about it.

2001-08-09 22:24  digiman

	* TODO: Added SDL_CDStatus note.

2001-08-09 22:18  digiman

	* nq/: cd_sdl.c, gl_model.c, gl_rmain.c, gl_rmisc.c, glquake.h:
	Added some stuff to improve look of models in Shrak (it didn't work
	in Twilight at all) and Dissolution of Eternity.

2001-08-09 16:53  digiman

	* nq/mathlib.c: Do not include float.h. Forgot to remove that line.
	Fixed now.

2001-08-09 16:49  digiman

	* qw/: cl_cam.c, cl_ents.c, cl_parse.c, cl_pred.c, cl_tent.c,
	gl_model.c, gl_model.h, gl_rlight.c, gl_rmain.c, gl_rsurf.c,
	gl_screen.c, gl_warp.c, mathlib.c, mathlib.h, menu.c, modelgen.h,
	pmove.c, pmovetst.c, quakedef.h, qw.dsp, r_part.c, snd_dma.c,
	spritegn.h, sys_win.c, vid_sdl.c, view.c: Ported new maths from NQ
	to QW. Optimized model drawing as well. For more details see NQ CVS
	log messages.

2001-08-09 15:51  digiman

	* nq/: cl_main.c, gl_model.c, gl_model.h, gl_rmain.c, gl_rmisc.c,
	glquake.h, mathlib.c, mathlib.h, render.h, sv_phys.c, sys_win.c,
	world.c: Added movement and frame interpolation, some small changes
	to improved look of new maths.

2001-08-09 11:42  knghtbrd

	* nq/cvar.c: *thwack self*  We can not "set var value" in
	config.cfg, Id-issue Quake versions don't _have_ set!

2001-08-09 11:32  knghtbrd

	* TODO: Added a couple things, removed mention of Mercury's key
	code since that is being reverted for now.  We can't make it
	backwards compatible, so we'll have to save it for a tree that we
	need not worry about old mods, configs, and documentation meaning
	much.

2001-08-09 03:56  digiman

	* nq/gl_model.c: Added progs/laser.mdl is fullbright now.

2001-08-09 03:42  knghtbrd

	* nq/: sys.h, sys_linux.c, sys_null.c, sys_win.c, sys_wind.c: A
	little sys cleanup in preparation for a single sys.c

2001-08-09 03:08  digiman

	* nq/net_dgrm.c: Fixed a security hole.

2001-08-09 02:58  knghtbrd

	* ChangeLog, configure.in, readme.txt, nq/Makefile.am,
	nq/UNNEEDED_Linux, nq/bspfile.h, nq/gl_model.h, nq/glquake.h,
	nq/math.s, nq/mathlib.c, nq/quakeasm.h, nq/quakedef.h, nq/render.h,
	nq/snd_mix.c, nq/snd_mixa.s, nq/sound.h, nq/sys_dosa.s,
	nq/sys_linux.c, nq/sys_win.c, nq/sys_wina.s, nq/world.c,
	nq/worlda.s, qw/Makefile.am, qw/UNNEEDED_Linux, qw/bothdefs.h,
	qw/bspfile.h, qw/gl_model.h, qw/glquake.h, qw/math.s, qw/mathlib.c,
	qw/nonintel.c, qw/quakeasm.h, qw/render.h, qw/snd_mix.c,
	qw/snd_mixa.s, qw/sound.h, qw/sys_dosa.s, qw/sys_linux.c,
	qw/sys_win.c, qw/sys_wina.s: The support for Id's asm has been
	removed with extreme prejudice.  While it would be a speed
	improvement RIGHT NOW, it won't be for long.  We can write C that
	optimizes better than the 486 asm ever did, and we will.

2001-08-09 02:48  digiman

	* nq/gl_rsurf.c: -lm_4 command line option does work now (it's just
	not plane fullbright), but coloured lights are still unsupported.

2001-08-09 02:36  digiman

	* nq/gl_rlight.c: Replaced glDepthMask(0) and glDepthMask(1) with
	glDepthMask(GL_FALSE) and glDepthMask(GL_TRUE) - you can think I'm
	paranoid. Well, I am :) .

2001-08-09 02:34  digiman

	* nq/vid_sdl.c: Do not include math.h anymore.

2001-08-09 02:33  digiman

	* nq/: mathlib.c, mathlib.h: Q_abs is a function now, since macro
	version could be calculated 3 times (if not using simple numbers).
	Added Q_pow - vid_sdl.c doesn't need math.h anymore.

2001-08-09 01:09  knghtbrd

	* nq/: gl_model.c, gl_rlight.c, gl_rmain.c, mathlib.c, sys_linux.c,
	vid_sdl.c, view.c: Fix Vic's changes for Linux with -Wall -Werror

2001-08-09 00:43  digiman

	* nq/common.c: Use CRC_Block instead of loop.

2001-08-09 00:42  digiman

	* nq/gl_model.c: Added modflags for indicating if model is
	fullbright and there's no need to calculate ambient and dynamic
	lighting for it. Modflags also indicate if model should not cast
	shadow or should be double sized (eyes). A LOT OF models use this
	flags and look nicer now. There's also a HACK to make shells bmodel
	look nicer (by Tonik).

2001-08-09 00:41  digiman

	* nq/gl_model.h: Added modflags for indicating if model is
	fullbright and there's no need to calculate ambient and dynamic
	lighting for it. Modflags also indicate if model should not cast
	shadow or should be double sized (eyes).

2001-08-09 00:40  digiman

	* nq/gl_rmain.c: Sped up R_DrawAliasModel a lot: do not calculate
	shadevector is r_shadows is 0, since length of shadevector is aways
	2 - calculate scaling factor once. Use new modflags system, for
	indicating if model is fullbright and there's no need to calculate
	ambient and dynamic lighting for it. Modflags also indicate if
	model should not cast shadow or should be double sized (eyes).

2001-08-09 00:37  digiman

	* nq/: crc.c, crc.h: Added CRC_Block

2001-08-08 23:11  digiman

	* nq/gl_rlight.c: Use lookup tables for sinus and cosinus - ported
	from QW.

2001-08-08 23:09  digiman

	* nq/gl_rmisc.c: Initialize sintable and costable for dlights -
	ported from QW

2001-08-08 23:09  digiman

	* nq/: mathlib.c, mathlib.h: nanmask is a #define now

2001-08-08 23:08  digiman

	* nq/gl_screen.c: Q_atan instead of atan

2001-08-08 22:27  digiman

	* nq/sys_win.c: Mathlib_Init renamed Math_Init

2001-08-08 22:26  digiman

	* nq/chase.c: Use Q_atan instead of atan

2001-08-08 22:26  digiman

	* nq/mathlib.c: Added Q_atan, improved Q_tan as well, renamed
	Init_Mathlib to Math_Init

2001-08-08 21:49  knghtbrd

	* doc/cvar.txt: explanation of the Cvar API

2001-08-08 21:38  digiman

	* nq/: cd_sdl.c, cl_demo.c, cl_input.c, gl_model.c, gl_rlight.c,
	gl_rmain.c, gl_rsurf.c, gl_warp.c, host_cmd.c, nq.dsp, pr_cmds.c,
	pr_edict.c, r_part.c, snd_linux.c, sv_phys.c, sv_user.c, vid_sdl.c,
	view.c: Another huge math update: use new functions, optimize where
	possible. Killed last atoi and atof calls.

2001-08-08 21:37  digiman

	* nq/mathlib.h: Added macroses for VectorMA, VectorInverse,
	CrossProduct, VectorClear, VectorCompare, VectorScale.

2001-08-08 21:36  digiman

	* nq/mathlib.c: Another huge math update: fixed a stupid bug in
	Q_atan2, added inverse square root. Optimized where possible.

2001-08-08 17:35  digiman

	* nq/: cl_main.c, cl_parse.c, cl_tent.c, gl_model.c, gl_rlight.c,
	gl_rmain.c, gl_rsurf.c, gl_screen.c, gl_warp.c, mathlib.c,
	mathlib.h, menu.c, modelgen.h, net_dgrm.c, pr_cmds.c, quakedef.h,
	r_part.c, snd_dma.c, spritegn.h, sv_move.c, sv_phys.c, sv_user.c,
	sys_win.c, vid_sdl.c, view.c, world.c: New math library: uses Q_
	functions now: Q_sin, Q_cos, Q_asin, Q_tan, Q_atan2, Q_sqrt,
	Q_rand, Q_srand, Q_floor, Q_ceil, Q_abs, Q_fabs. Needs to be ported
	to QW and linux.

2001-08-07 04:10  lordhavoc

	* qw/common.c: dropped in replacement for COM_FileBase from
	DarkPlaces engine, more readable and functional code

2001-08-07 02:43  knghtbrd

	* TODO, qw/gl_ngraph.c: Fix a win32 warning for LordHavoc

2001-08-06 06:23  raineth

	* qw/keys.c: Fix the code so that enter works in messagemode again

2001-08-06 02:20  mercury

	* qw/keys.c: Removed a debugging line.

2001-08-06 02:18  mercury

	* qw/: Makefile.am, bothdefs.h, common.c, common.h, hash.c, hash.h,
	keys.c, keys.h, menu.c, vid_sdl.c: Adding the lovely hashing
	functions.
	
	Keys now use the hashing functions.
	
	-nomouse works.
	
	And common.h, bothdefs.h, and keys.h can now be safely included
	more then once.

2001-08-06 01:17  knghtbrd

	* nq/menu.c: Took the gas trimmer to the menu code.  A chainsaw
	would be a better idea, but we lack a few of the things necessary
	to do that right now.

2001-08-06 01:15  knghtbrd

	* AUTHORS, THANKS: I knew this was going to be the right solution
	to AUTHORS...

2001-08-05 15:39  digiman

	* nq/sys_win.c: Updated sys_win.c to work with new cvar system

2001-08-05 15:38  digiman

	* nq/cl_demo.c, qw/cl_demo.c: Write 3 floats in 1 fwrite instead of
	3 - speedup

2001-08-04 21:38  knghtbrd

	* nq/: host_cmd.c, menu.c, menu.h, net.h, net_main.c: Say bye bye
	to the remaining vestiges of IPX and serial support.  We don't
	actually support these things, better not to have code which claims
	we do.

2001-08-04 21:17  knghtbrd

	* nq/: common.h, cvar.c, cvar.h, host.c: While I'm really not ready
	to commit this, it fixes a bug or two.

2001-08-04 18:09  knghtbrd

	* TODO, nq/cd_sdl.c, nq/chase.c, nq/cl_input.c, nq/cl_main.c,
	nq/cl_parse.c, nq/client.h, nq/cmd.c, nq/common.c, nq/common.h,
	nq/console.c, nq/cvar.c, nq/cvar.h, nq/gl_draw.c, nq/gl_model.c,
	nq/gl_rlight.c, nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_rsurf.c,
	nq/gl_screen.c, nq/gl_warp.c, nq/glquake.h, nq/host.c,
	nq/host_cmd.c, nq/keys.c, nq/menu.c, nq/net.h, nq/net_dgrm.c,
	nq/net_loop.c, nq/net_main.c, nq/net_udp.c, nq/pr_cmds.c,
	nq/pr_edict.c, nq/quakedef.h, nq/r_part.c, nq/sbar.c, nq/screen.h,
	nq/server.h, nq/snd_dma.c, nq/snd_mem.c, nq/snd_mix.c, nq/sound.h,
	nq/sv_main.c, nq/sv_phys.c, nq/sv_user.c, nq/sys_linux.c,
	nq/vid_sdl.c, nq/view.c, nq/view.h, nq/winquake.h: NQ now uses the
	new Cvar system, mostly.  Will probably need a little bit of
	tweaking on the win32 side, mostly in the sound code.  Fixed a few
	of the little buglets while I was at it.
	
	Note, this code still uses an unsorted list just like the old code.
	 It also does not yet use callbacks even for the obvious cases. 
	IOW, this is a speed hit somewhere between slight and slightly
	annoying at the moment, depending on your CPU's cache size.  I'll
	fix both later, please bang on it in the meantime in case I missed
	some bugs.

2001-08-04 11:25  knghtbrd

	* TODO: It's about time someone did one of these ...

2001-08-03 13:23  knghtbrd

	* qw/keys.c: '^M' ?  Um.

2001-08-03 08:21  raineth

	* nq/cd_sdl.c, qw/cd_sdl.c: The includes that were #ifdef'd to
	WIN32 should have actually been removed alltogether since SDL took
	care of everything they previously provided.  The superflous
	includes are now gone.

2001-08-03 03:47  digiman

	* nq/win32config.h: Added strcasecmp macro

2001-08-03 03:47  digiman

	* nq/nq.dsp: Added cd_sdl.c

2001-08-03 03:46  digiman

	* nq/cd_sdl.c: Added _WIN32 defines

2001-08-03 03:42  digiman

	* qw/qw.dsp: Added MSVC++ 6.0 project file

2001-08-03 03:40  digiman

	* qw/: cd_sdl.c, keys.c, keys.h, menu.c, win32config.h: Added
	strcasecmp macro

2001-08-03 03:31  knghtbrd

	* qw/keys.c: \e ain't ansi, so \x1b it is.  Also, we must check
	SDLK_RETURN and _ESCAPE on some platforms such as win32.

2001-08-02 21:10  raineth

	* nq/gl_warp_sin.h, qw/gl_warp_sin.h: Fixed a problem with leftover
	\rs that indent didn't remove (thus making the file look really
	terrible)

2001-08-02 18:51  raineth

	* nq/cd_sdl.c, nq/common.c, qw/cd_sdl.c, qw/common.c: Cleaned up
	the SDL CD code a bit more, fixed a potential buffer underrun
	problem in COM_FileBase()

2001-08-02 11:49  knghtbrd

	* Makefile.am, autogen.sh, configure.in, doc/template.txt,
	nq/Makefile.am, qw/Makefile.am: $Id$'d several files.  I've also
	added an easily :r'abile (don't know the equiv for other editors)
	boiler with the GPL and $Id$ tag for the stuff we write ourselves.
	
	Turns out I left the QW server out of my last commit, included
	here.

2001-08-02 11:46  mercury

	* qw/menu.c: Fix the bind menu.

2001-08-02 11:11  knghtbrd

	* nq/cvar.c, nq/cvar.h, nq/net_dgrm.c, qw/cvar.c, qw/cvar.h: diff
	reduction in the Cvar code.  QW side is purely cosmetic, NQ side is
	almost completely.  Just in case though, I commit this now.  I'm
	working on the new Cvar system, which is far more sweeping and
	likely to break something.

2001-08-01 16:57  knghtbrd

	* nq/Makefile.am, nq/UNNEEDED_Linux, nq/cd_linux.c, nq/cd_null.c,
	nq/cd_sdl.c, nq/cd_win.c, qw/UNNEEDED_Linux, qw/cd_linux.c,
	qw/cd_null.c, qw/cd_win.c: |Rain| did SDL CD support and it works
	great.	I've added his code to the nq tree and removed the
	non-portable code.  Win32 guys need to update their project files,
	but it should work with little to no modifications otherwise.

2001-08-01 16:45  knghtbrd

	* doc/olddoc/MANUAL.TXT, doc/olddoc/docs.txt, nq/anorm_dots.h,
	nq/anorms.h, nq/bspfile.h, nq/cd_null.c, nq/cd_win.c, nq/cdaudio.h,
	nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c, nq/cl_parse.c,
	nq/client.h, nq/cmd.c, nq/cmd.h, nq/common.c, nq/common.h,
	nq/conproc.c, nq/conproc.h, nq/console.c, nq/console.h, nq/crc.h,
	nq/cvar.c, nq/cvar.h, nq/draw.h, nq/gl_draw.c, nq/gl_mesh.c,
	nq/gl_model.c, nq/gl_model.h, nq/gl_rmain.c, nq/gl_rmisc.c,
	nq/gl_rsurf.c, nq/gl_screen.c, nq/gl_warp.c, nq/gl_warp_sin.h,
	nq/glquake.h, nq/host.c, nq/host_cmd.c, nq/input.h, nq/keys.c,
	nq/keys.h, nq/mathlib.c, nq/mathlib.h, nq/menu.c, nq/menu.h,
	nq/modelgen.h, nq/net.h, nq/net_dgrm.c, nq/net_dgrm.h,
	nq/net_loop.h, nq/net_main.c, nq/net_udp.c, nq/net_udp.h,
	nq/pr_cmds.c, nq/pr_comp.h, nq/pr_edict.c, nq/pr_exec.c,
	nq/progs.h, nq/protocol.h, nq/quakeasm.h, nq/quakedef.h,
	nq/r_part.c, nq/render.h, nq/sbar.c, nq/sbar.h, nq/screen.h,
	nq/server.h, nq/snd_dma.c, nq/snd_linux.c, nq/snd_mem.c,
	nq/snd_mix.c, nq/snd_null.c, nq/snd_win.c, nq/sound.h,
	nq/spritegn.h, nq/sv_main.c, nq/sv_move.c, nq/sv_phys.c,
	nq/sv_user.c, nq/sys.h, nq/sys_linux.c, nq/sys_null.c,
	nq/sys_win.c, nq/sys_wind.c, nq/vid.h, nq/vid_sdl.c, nq/view.c,
	nq/view.h, nq/wad.c, nq/wad.h, nq/win32config.h, nq/winquake.h,
	nq/world.c, nq/world.h, nq/zone.c, nq/zone.h, qw/anorm_dots.h,
	qw/anorms.h, qw/bspfile.h, qw/buildnum.c, qw/cd_null.c,
	qw/cd_sdl.c, qw/cd_win.c, qw/cl_cam.c, qw/cl_demo.c, qw/cl_ents.c,
	qw/cl_input.c, qw/cl_main.c, qw/cl_parse.c, qw/cl_pred.c,
	qw/client.h, qw/cmd.c, qw/cmd.h, qw/common.c, qw/common.h,
	qw/console.c, qw/console.h, qw/cvar.c, qw/cvar.h, qw/gl_draw.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/gl_model.h, qw/gl_ngraph.c,
	qw/gl_rmain.c, qw/gl_rmisc.c, qw/gl_screen.c, qw/gl_warp.c,
	qw/gl_warp_sin.h, qw/glquake.h, qw/keys.c, qw/keys.h, qw/mathlib.c,
	qw/md4.c, qw/menu.c, qw/net.h, qw/net_chan.c, qw/net_udp.c,
	qw/net_wins.c, qw/pmove.c, qw/pmove.h, qw/pmovetst.c,
	qw/protocol.h, qw/quakeasm.h, qw/quakedef.h, qw/render.h,
	qw/sbar.c, qw/screen.h, qw/skin.c, qw/snd_dma.c, qw/snd_mem.c,
	qw/snd_win.c, qw/sound.h, qw/sys_linux.c, qw/sys_null.c,
	qw/sys_win.c, qw/vid.h, qw/vid_sdl.c, qw/view.c, qw/win32config.h,
	qw/winquake.h, qw/zone.c: Fixed some typos in the source and ran
	everything through indent - seems that some of the code (NQ
	particularly) never got indented before.  That's going to be a
	problem later.	For those tracking diffs, sorry, this one's big and
	it's 100% cosmetic.

2001-08-01 16:41  mercury

	* qw/: common.c, gl_rsurf.c: For common, make a few Sys_Printfs
	into Con_DPrintfs.
	
	For gl_rsurf fix gl_texsort 0 without mtex.

2001-08-01 11:42  knghtbrd

	* qw/gl_rsurf.c: *ahem*  The mtex fix for Linux.  One line required
	to make it work, and a whole bunch of lines deleted as a result. 
	=)

2001-08-01 11:10  raineth

	* qw/: Makefile.am, cd_sdl.c: Added SDL support for CD audio (and
	made the client use it)

2001-08-01 09:22  mercury

	* qw/vid_sdl.c: You know, it helps if we use = instead of += for
	mouse movement from SDL.

2001-08-01 09:12  mercury

	* qw/keys.h: Allow it to be safely included more then once.

2001-08-01 07:25  raineth

	* configure.in: Fixed a typo in --with-user-path (it said
	HOME/twilight when it meant HOME/.twilight)

2001-08-01 02:12  knghtbrd

	* autogen.sh, configure.in: A small bit of idiotproofing for the
	build system.

2001-08-01 02:09  knghtbrd

	* nq/host_cmd.c, nq/win32config.h, qw/cl_main.c, qw/gl_draw.c,
	qw/menu.c, qw/win32config.h: VERSION is now always a string,
	everywhere.

2001-08-01 02:06  mercury

	* qw/: cl_main.c, cl_parse.c, cl_pred.c, console.c, keys.c, keys.h,
	vid_sdl.c: Some key system updates and tweaks, should be without
	bugs now.

2001-08-01 02:06  knghtbrd

	* AUTHORS: Something resembling credits.  Maybe some of this needs
	to move to a new file?	THANKS seems to be the GNUism for that.

2001-07-31 00:13  raineth

	* configure.in: autoconf fixes including better detection of libGL

2001-07-30 23:58  knghtbrd

	* qw/: anorm_dots.h, anorms.h, gl_warp_sin.h: Tomaz is still having
	problems with wincvs, so here's his changes for QW as well..

2001-07-30 22:51  knghtbrd

	* nq/: anorm_dots.h, anorms.h, gl_warp_sin.h: Applied suffixes to
	floats to fix a couple thousand VC++ warnings.	Thanks Tomaz!

2001-07-30 21:48  mercury

	* qw/: keys.c, vid_sdl.c: A few fixes for mouse input. (Wheel
	supported, movement is done a /lot/ saner.)

2001-07-30 19:01  mercury

	* ChangeLog, qw/cl_main.c, qw/cl_parse.c, qw/console.c,
	qw/gl_screen.c, qw/keys.c, qw/keys.h, qw/menu.c, qw/quakedef.h,
	qw/vid_sdl.c: BIG sledge hammer on existing configs! Go /SPLAT/!
	
	Fixed problem with qw-server and files not in paks.

2001-07-30 10:00  knghtbrd

	* configure.in, nq/win32config.h, qw/win32config.h: "fixed" win32
	version number, not that it matters much yet.  Also made SHAREPATH
	default to ${datadir}/games/twilight by default in unix.

2001-07-30 09:56  mercury

	* nq/common.c, nq/win32config.h, qw/common.c, qw/win32config.h:
	Fixes for three bugs.  Compile bug (BASEPATH vs USERPATH), init
	bug, and path search bug.

2001-07-30 09:28  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: SDL_SetVideoMode should be called for
	16 bpp which will actually only make sure you get at least that
	much, not 32.  My bad, Voodoo2/3 users need not have me shot now.

2001-07-29 05:20  zinx

	* autogen.sh, config.h.in: 
	Yoink.. config.h.in doesn't belong in the repository ;)

2001-07-29 03:40  mercury

	* config.h.in: Here.

2001-07-29 00:29  digiman

	* qw/client.h: Doubled number of dlights since every player owns 2
	of them: 1 for powerup and 1 for muzzleflash.

2001-07-29 00:28  digiman

	* nq/gl_rlight.c, qw/gl_rlight.c: Fixed an ugly typo in
	AddLightBlend.

2001-07-29 00:17  digiman

	* nq/win32config.h: Added snprintf and vsnprintf definitions, so nq
	compiles.

2001-07-28 23:46  zinx

	* qw/common.c: 
	Made a typo.. Whoops. (newpath should be netpath)

2001-07-28 23:42  zinx

	* qw/: cl_cam.c, cl_demo.c, cl_main.c, cl_parse.c, cl_pred.c,
	common.c, console.c, cvar.c, gl_draw.c, gl_model.c, gl_ngraph.c,
	gl_screen.c, gl_warp.c, keys.c, menu.c, net_chan.c, net_udp.c,
	net_wins.c, r_part.c, sbar.c, skin.c, sys_linux.c, sys_win.c,
	vid_sdl.c: 
	Changed all occurences of sprintf to snprintf in qw; strcat and
	strcpy still need looked at by someone.

2001-07-28 23:14  zinx

	* nq/: cl_demo.c, cl_main.c, common.c, console.c, cvar.c,
	gl_draw.c, gl_model.c, gl_screen.c, gl_warp.c, host.c, host_cmd.c,
	keys.c, menu.c, net_dgrm.c, net_udp.c, pr_cmds.c, pr_edict.c,
	pr_exec.c, r_part.c, sbar.c, sv_main.c, sys_linux.c, sys_win.c,
	sys_wind.c, vid_sdl.c: 
	Changed all occurences of sprintf to snprintf in nq; strcat and
	strcpy still need looked at by someone.

2001-07-28 18:27  digiman

	* nq/gl_draw.c, qw/gl_draw.c: Greatly optimized Draw_String and
	Draw_Alt_String as LordHavoc requested.

2001-07-28 18:26  digiman

	* nq/gl_mesh.c, qw/gl_mesh.c: Removed meshing of .mdl files, since
	it doesn't improve loading time and can corrupt meshes for
	different .mdl files with the same name in different folders (id1
	and game).

2001-07-28 18:25  digiman

	* nq/nq.dsp: Added NormalQuake VC++ 6.0 project file.

2001-07-28 13:38  lordhavoc

	* qw/: quakedef.h, win32config.h: added win32config.h made
	win32config.h be automatically included instead of config.h if
	HAVE_CONFIG_H is not defined and the detected compiler is Visual
	C++ (compile out of the box convenience)

2001-07-28 13:37  lordhavoc

	* nq/: draw.h, gl_draw.c, quakedef.h, sys_win.c, win32config.h:
	added Draw_Alt_String (someone used it and it did not exist yet)
	added win32config.h made win32config.h be automatically included
	instead of config.h if HAVE_CONFIG_H is not defined and the
	detected compiler is Visual C++ (compile out of the box
	convenience) added back Sys_DebugLog (someone deleted it)

2001-07-28 13:37  lordhavoc

	* nq/console.c: changed Con_Printf to do the sprintf manually
	instead of using va (safety reasons) when doing console logging

2001-07-28 13:31  lordhavoc

	* nq/common.c, qw/common.c: removed BASEPATH and SHAREPATH defaults
	now that config.h is used

2001-07-28 02:39  digiman

	* qw/cl_parse.c: In CL_MuzzleFlash, use CL_AllocDlight(-i) instead
	of CL_AllocDlight(i) so that muzzleflashes don't interfere with
	powerup glow (made by Tonik).

2001-07-28 02:37  digiman

	* qw/cl_ents.c: In CL_LinkPlayers: Fix the stupid bug with
	playernum being used for dlight key instead of playernum+1. For
	playernum 0 this was causing a noticeable slowdown because many
	dlights were allocated instead of just one (made by Tonik: thanks
	sturm)

2001-07-28 02:28  digiman

	* qw/menu.c, nq/menu.c: Changed things in M_Print and M_PrintWhite:
	use Draw_Alt_String and Draw_String instead of M_DrawCharacter -
	room for further GL improvements

2001-07-28 01:12  knghtbrd

	* nq/.cvsignore, qw/.cvsignore: Added .deps to .cvsignore, .this
	and .that, etc.

2001-07-28 01:08  knghtbrd

	* AUTHORS, ChangeLog, NEWS, README, autogen.sh, nq/Makefile,
	qw/Makefile: Added autogen.sh and the stub files automake demands
	and remove the old Makefile's from CVS

2001-07-27 21:22  zinx

	* nq/gl_draw.c, nq/quakedef.h, nq/sys_linux.c, qw/bothdefs.h,
	qw/gl_draw.c, qw/quakedef.h: 
	Changed to work with config.h's VERSION

2001-07-27 21:19  zinx

	* .cvsignore, Makefile.am, configure.in, nq/.cvsignore,
	nq/Makefile.am, qw/.cvsignore, qw/Makefile.am: 
	Initial autoconf/automake stuff, need to make twilight depend on
	configure more..

2001-07-27 21:05  knghtbrd

	* nq/: UNNEEDED_Linux, menu.c, net_udp.c, net_win.c, net_wins.c,
	net_wins.h, vid_sdl.c: -nq is fixed

2001-07-27 20:24  knghtbrd

	* qw/: Makefile, buildnum.c, net_udp.c, vid_sdl.c: fixed QW
	(probably..)

2001-07-27 16:53  knghtbrd

	* qw/cl_pred.c: Same problem - sdl.h -> SDL.h

2001-07-27 16:52  knghtbrd

	* qw/cl_main.c: Case matters

2001-07-27 14:47  lordhavoc

	* nq/: cd_linux.c, cd_win.c, cl_demo.c, cl_parse.c, cmd.c,
	common.c, common.h, conproc.c, console.c, gl_draw.c, gl_mesh.c,
	gl_model.c, gl_rmain.c, gl_rsurf.c, gl_screen.c, glquake.h, host.c,
	host_cmd.c, keys.c, menu.c, net_udp.c, net_win.c, net_wins.c,
	pr_cmds.c, pr_edict.c, pr_exec.c, quakedef.h, sbar.c, snd_dma.c,
	snd_mem.c, sv_main.c, sys_linux.c, sys_null.c, sys_win.c,
	sys_wind.c, vid.h, vid_sdl.c, view.c, wad.c, winquake.h, zone.c:
	made NQ work in win32
	
	note: net_win.c, and net_wins.c are no longer necessary, net_bsd.c
	and net_udp.c now work on win32
	
	carried over most (all?) of the fixes from the qwcl win32 porting
	effort

2001-07-27 14:38  lordhavoc

	* qw/: gl_screen.c, screen.h, sys_win.c: placeholder fix for
	scr_skipupdate

2001-07-27 12:19  lordhavoc

	* qw/: common.c, console.c, quakedef.h, sys_linux.c, sys_null.c,
	sys_win.c: stripped lingering unused sharedir/basedir/cachedir
	stuff (only uses com_sharedir and com_basedir now) fixed
	com_sharedir default case (defaults to same as basedir) will not
	add a directory twice if it matchs the basedir fixed use of va() in
	Con_Printf when console logging (ruined tons of things, overwrote
	com_gamedir during connect process, this bug took a couple hours to
	track down) also removed va() use in COM_AddDirectory (unnecessary
	armor plating now that I fixed Con_Printf, but worthy of keeping)
	put in sanity error check on freeing of searchpath when switching
	gamedir
	
	now works error-free in my testing

2001-07-27 09:08  lordhavoc

	* qw/: buildnum.c, cd_linux.c, cd_null.c, cd_win.c, cl_demo.c,
	cl_ents.c, cl_main.c, cl_parse.c, cl_pred.c, cmd.c, common.c,
	common.h, console.c, cvar.c, gl_draw.c, gl_mesh.c, gl_model.c,
	gl_rmain.c, gl_rmisc.c, gl_rsurf.c, gl_screen.c, glquake.h, keys.c,
	menu.c, net_chan.c, net_udp.c, net_wins.c, sbar.c, skin.c,
	snd_dma.c, snd_mem.c, snd_win.c, sys_linux.c, sys_null.c,
	sys_win.c, vid.h, vid_sdl.c, wad.c, winquake.h, zone.c: made
	twilight qwcl work in win32
	
	changed all str functions to Q_str clipboard pasting into console
	does not work (win32 only anyway) CD audio disabled in win32
	
	the workspace/makefile/etc is not included yet

2001-07-23 15:33  knghtbrd

	* nq/vid_sdl.c, qw/vid_sdl.c: Fix the captions

2001-07-23 15:02  knghtbrd

	* nq/Makefile, nq/common.c, nq/quakedef.h, nq/sys_linux.c,
	qw/Makefile, qw/common.c, qw/quakedef.h, qw/sys_linux.c: Sharepath
	stuff works now - edit paths as necessary in Makefile's

2001-07-23 11:03  knghtbrd

	* nq/Makefile, qw/Makefile: Er, right, it helps if you test before
	you commit

2001-07-23 09:36  knghtbrd

	* nq/Makefile, qw/Makefile: Change binary names

2001-07-11 14:20  knghtbrd

	* nq/common.c: extra var

2001-07-11 02:44  knghtbrd

	* qw/Makefile: How the hell did I forget these?

2001-07-11 01:33  knghtbrd

	* qw/vid_sdl.c, nq/vid_sdl.c: zinx pointed out that
	SDL_GL_SwapBuffers does a glFinish, so there's no point in doing a
	glFlush before calling it.

2001-07-11 00:55  knghtbrd

	* nq/: host_cmd.c, net.h, net_main.c, quakedef.h, sv_main.c: Remove
	IDGODS.  Bwahahaha, it's been 18 months since I've seen that.

2001-07-11 00:49  knghtbrd

	* qw/common.c, nq/common.c: Modified the registration check to not
	affect new datasets

2001-07-10 22:15  knghtbrd

	* doc/olddoc/: INSTALL, MANUAL.TXT, README, TECHINFO.TXT,
	client-notes.txt, docs.txt, glqwcl-readme.txt, move.txt,
	newnet.txt, qw2do.txt, qwchangelog.txt, qwcl-readme.txt,
	qwexit.txt, qwrlnote.txt, release233_notes.txt, server-notes.txt:
	Here are a few of the old docs Id included in the tree.  Some of it
	may be useful at some point.

2001-07-10 16:51  knghtbrd

	* qw/UNNEEDED_Linux: Removed files unneeded for Linux or Win32 from
	QW.

2001-07-10 16:01  knghtbrd

	* nq/: Makefile, UNNEEDED_Linux, host.c, net_main.c, sys_linux.c:
	With LordHavoc's help, files not needed for win32 or Linux or for
	future plans have been removed.

2001-07-09 17:52  knghtbrd

	* nq/: gl_draw.c, gl_rmisc.c, menu.c, quakedef.h, vid.h, vid_sdl.c:
	New version of vid_sdl.c with many things fixed. 
	VID_{Lock,Unlock}Buffer, a softwareism, is gone now.  So are the
	support functions for 8 bit 3dfx GL, they wouldn't have worked
	right anyway since we ask for at least 16 in VID_Init.

2001-07-09 17:47  knghtbrd

	* qw/: .indent.pro, UNNEEDED_Linux, anorm_dots.h, anorms.h,
	bothdefs.h, bspfile.h, cd_linux.c, cdaudio.h, cl_cam.c, cl_demo.c,
	cl_ents.c, cl_input.c, cl_main.c, cl_parse.c, cl_pred.c, cl_tent.c,
	client.h, cmd.c, cmd.h, common.c, common.h, console.c, console.h,
	crc.c, crc.h, cvar.c, cvar.h, draw.h, gl_draw.c, gl_mesh.c,
	gl_model.c, gl_model.h, gl_ngraph.c, gl_refrag.c, gl_rlight.c,
	gl_rmain.c, gl_rmisc.c, gl_rsurf.c, gl_screen.c, gl_warp.c,
	gl_warp_sin.h, glquake.h, input.h, keys.c, keys.h, mathlib.c,
	mathlib.h, md4.c, menu.c, menu.h, modelgen.h, net.h, net_chan.c,
	net_udp.c, nonintel.c, pmove.c, pmove.h, pmovetst.c, protocol.h,
	quakedef.h, r_part.c, render.h, sbar.c, sbar.h, screen.h, skin.c,
	snd_dma.c, snd_linux.c, snd_mem.c, snd_mix.c, sound.h, spritegn.h,
	sys.h, sys_linux.c, vid.h, view.c, view.h, wad.c, wad.h, zone.c,
	zone.h: qwcl is now -Werror clean

2001-07-08 13:47  knghtbrd

	* nq/: .indent.pro, Makefile, UNNEEDED_Linux, cd_linux.c, chase.c,
	cl_demo.c, cl_input.c, cl_main.c, cl_parse.c, cl_tent.c, cmd.c,
	common.c, console.c, crc.c, cvar.c, draw.h, gl_draw.c, gl_mesh.c,
	gl_model.c, gl_model.h, gl_refrag.c, gl_rlight.c, gl_rmain.c,
	gl_rmisc.c, gl_rsurf.c, gl_screen.c, gl_warp.c, glquake.h, host.c,
	host_cmd.c, keys.c, mathlib.c, menu.c, net_bsd.c, net_dgrm.c,
	net_loop.c, net_main.c, net_udp.c, quakedef.h, r_part.c, sbar.c,
	snd_dma.c, sys_linux.c, vid.h, view.c, world.h: -Werror clean,
	indent-formatted.

2001-07-08 05:58  knghtbrd

	* nq/UNNEEDED_Linux: r_local.h is not needed for GL...

2001-07-08 04:59  knghtbrd

	* nq/UNNEEDED_Linux: A listing of all the files NOT needed to build
	NQ under Linux.  A similar list should be made for win32 and any
	other platform Frost is ported to.  The intersections of these
	files will get deleted when we're ready.

2001-07-08 04:31  knghtbrd

	* nq/: Makefile, vid_sdl.c: A little revisionist history,
	s/frost/frost-nq/ for the binary name

2001-07-08 02:51  knghtbrd

	* nq/: Makefile, vid_sdl.c: Now works using SDL (only)	This is
	current for tutorial 1, Compiling for Linux.

2001-07-06 15:11  knghtbrd

	* COPYING, readme.txt, qw/bothdefs.h, qw/cl_parse.c, qw/cmd.c,
	qw/cmd.h, qw/crc.c, qw/crc.h, qw/md4.c, qw/net.h, qw/net_chan.c,
	qw/render.h, qw/sys_linux.c, qw/sys_win.c, qw/anorm_dots.h,
	qw/anorms.h, qw/bspfile.h, qw/buildnum.c, qw/cd_linux.c,
	qw/cd_null.c, qw/cd_win.c, qw/cdaudio.h, qw/cl_cam.c, qw/cl_demo.c,
	qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c, qw/cl_pred.c,
	qw/cl_tent.c, qw/client.h, qw/common.c, qw/common.h, qw/console.c,
	qw/console.h, qw/cvar.c, qw/cvar.h, qw/draw.h, qw/gl_draw.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/gl_model.h, qw/gl_ngraph.c,
	qw/gl_refrag.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/gl_warp_sin.h,
	qw/glquake.h, qw/input.h, qw/keys.c, qw/keys.h, qw/math.s,
	qw/mathlib.c, qw/mathlib.h, qw/menu.c, qw/menu.h, qw/modelgen.h,
	qw/net_udp.c, qw/net_wins.c, qw/nonintel.c, qw/pmove.c, qw/pmove.h,
	qw/pmovetst.c, qw/protocol.h, qw/quakeasm.h, qw/quakedef.h,
	qw/r_part.c, qw/sbar.c, qw/sbar.h, qw/screen.h, qw/skin.c,
	qw/snd_dma.c, qw/snd_linux.c, qw/snd_mem.c, qw/snd_mix.c,
	qw/snd_mixa.s, qw/snd_win.c, qw/sound.h, qw/spritegn.h, qw/sys.h,
	qw/sys_dosa.s, qw/sys_null.c, qw/sys_wina.s, qw/vid.h, qw/view.c,
	qw/view.h, qw/wad.c, qw/wad.h, qw/winquake.h, qw/zone.c, qw/zone.h,
	nq/Makefile, nq/anorm_dots.h, nq/anorms.h, nq/bspfile.h,
	nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c, nq/cl_parse.c,
	nq/cl_tent.c, nq/cmd.c, nq/cmd.h, nq/common.c, nq/common.h,
	nq/conproc.c, nq/conproc.h, nq/console.c, nq/console.h, nq/crc.c,
	nq/crc.h, nq/cvar.c, nq/cvar.h, nq/draw.h, nq/gl_draw.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c, nq/glquake.h,
	nq/host.c, nq/mathlib.c, nq/mathlib.h, nq/net.h, nq/net_bsd.c,
	nq/net_dgrm.c, nq/net_dgrm.h, nq/net_loop.c, nq/net_loop.h,
	nq/net_main.c, nq/net_udp.c, nq/net_udp.h, nq/net_win.c,
	nq/net_wins.c, nq/net_wins.h, nq/pr_cmds.c, nq/pr_comp.h,
	nq/pr_edict.c, nq/pr_exec.c, nq/progdefs.h, nq/progdefs.q1,
	nq/protocol.h, nq/quakeasm.h, nq/quakedef.h, nq/r_part.c,
	nq/render.h, nq/screen.h, nq/snd_dma.c, nq/snd_mem.c, nq/snd_mix.c,
	nq/snd_null.c, nq/snd_win.c, nq/sound.h, nq/spritegn.h, nq/sys.h,
	nq/sys_dosa.s, nq/sys_linux.c, nq/sys_null.c, nq/sys_win.c,
	nq/sys_wina.s, nq/sys_wind.c, nq/vid.h, nq/wad.c, nq/wad.h,
	nq/cd_linux.c, nq/cd_null.c, nq/cd_win.c, nq/cdaudio.h, nq/chase.c,
	nq/client.h, nq/gl_mesh.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_refrag.c, nq/gl_rlight.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/gl_warp_sin.h, nq/host_cmd.c, nq/input.h, nq/keys.c, nq/keys.h,
	nq/math.s, nq/menu.c, nq/menu.h, nq/modelgen.h, nq/progs.h,
	nq/sbar.c, nq/sbar.h, nq/server.h, nq/snd_linux.c, nq/snd_mixa.s,
	nq/sv_main.c, nq/sv_move.c, nq/sv_phys.c, nq/sv_user.c, nq/view.c,
	nq/view.h, nq/winquake.h, nq/world.c, nq/world.h, nq/worlda.s,
	nq/zone.c, nq/zone.h: Initial revision

2001-07-06 15:11  knghtbrd

	* COPYING, readme.txt, qw/bothdefs.h, qw/cl_parse.c, qw/cmd.c,
	qw/cmd.h, qw/crc.c, qw/crc.h, qw/md4.c, qw/net.h, qw/net_chan.c,
	qw/render.h, qw/sys_linux.c, qw/sys_win.c, qw/anorm_dots.h,
	qw/anorms.h, qw/bspfile.h, qw/buildnum.c, qw/cd_linux.c,
	qw/cd_null.c, qw/cd_win.c, qw/cdaudio.h, qw/cl_cam.c, qw/cl_demo.c,
	qw/cl_ents.c, qw/cl_input.c, qw/cl_main.c, qw/cl_pred.c,
	qw/cl_tent.c, qw/client.h, qw/common.c, qw/common.h, qw/console.c,
	qw/console.h, qw/cvar.c, qw/cvar.h, qw/draw.h, qw/gl_draw.c,
	qw/gl_mesh.c, qw/gl_model.c, qw/gl_model.h, qw/gl_ngraph.c,
	qw/gl_refrag.c, qw/gl_rlight.c, qw/gl_rmain.c, qw/gl_rmisc.c,
	qw/gl_rsurf.c, qw/gl_screen.c, qw/gl_warp.c, qw/gl_warp_sin.h,
	qw/glquake.h, qw/input.h, qw/keys.c, qw/keys.h, qw/math.s,
	qw/mathlib.c, qw/mathlib.h, qw/menu.c, qw/menu.h, qw/modelgen.h,
	qw/net_udp.c, qw/net_wins.c, qw/nonintel.c, qw/pmove.c, qw/pmove.h,
	qw/pmovetst.c, qw/protocol.h, qw/quakeasm.h, qw/quakedef.h,
	qw/r_part.c, qw/sbar.c, qw/sbar.h, qw/screen.h, qw/skin.c,
	qw/snd_dma.c, qw/snd_linux.c, qw/snd_mem.c, qw/snd_mix.c,
	qw/snd_mixa.s, qw/snd_win.c, qw/sound.h, qw/spritegn.h, qw/sys.h,
	qw/sys_dosa.s, qw/sys_null.c, qw/sys_wina.s, qw/vid.h, qw/view.c,
	qw/view.h, qw/wad.c, qw/wad.h, qw/winquake.h, qw/zone.c, qw/zone.h,
	nq/Makefile, nq/anorm_dots.h, nq/anorms.h, nq/bspfile.h,
	nq/cl_demo.c, nq/cl_input.c, nq/cl_main.c, nq/cl_parse.c,
	nq/cl_tent.c, nq/cmd.c, nq/cmd.h, nq/common.c, nq/common.h,
	nq/conproc.c, nq/conproc.h, nq/console.c, nq/console.h, nq/crc.c,
	nq/crc.h, nq/cvar.c, nq/cvar.h, nq/draw.h, nq/gl_draw.c,
	nq/gl_rmain.c, nq/gl_rmisc.c, nq/gl_screen.c, nq/glquake.h,
	nq/host.c, nq/mathlib.c, nq/mathlib.h, nq/net.h, nq/net_bsd.c,
	nq/net_dgrm.c, nq/net_dgrm.h, nq/net_loop.c, nq/net_loop.h,
	nq/net_main.c, nq/net_udp.c, nq/net_udp.h, nq/net_win.c,
	nq/net_wins.c, nq/net_wins.h, nq/pr_cmds.c, nq/pr_comp.h,
	nq/pr_edict.c, nq/pr_exec.c, nq/progdefs.h, nq/progdefs.q1,
	nq/protocol.h, nq/quakeasm.h, nq/quakedef.h, nq/r_part.c,
	nq/render.h, nq/screen.h, nq/snd_dma.c, nq/snd_mem.c, nq/snd_mix.c,
	nq/snd_null.c, nq/snd_win.c, nq/sound.h, nq/spritegn.h, nq/sys.h,
	nq/sys_dosa.s, nq/sys_linux.c, nq/sys_null.c, nq/sys_win.c,
	nq/sys_wina.s, nq/sys_wind.c, nq/vid.h, nq/wad.c, nq/wad.h,
	nq/cd_linux.c, nq/cd_null.c, nq/cd_win.c, nq/cdaudio.h, nq/chase.c,
	nq/client.h, nq/gl_mesh.c, nq/gl_model.c, nq/gl_model.h,
	nq/gl_refrag.c, nq/gl_rlight.c, nq/gl_rsurf.c, nq/gl_warp.c,
	nq/gl_warp_sin.h, nq/host_cmd.c, nq/input.h, nq/keys.c, nq/keys.h,
	nq/math.s, nq/menu.c, nq/menu.h, nq/modelgen.h, nq/progs.h,
	nq/sbar.c, nq/sbar.h, nq/server.h, nq/snd_linux.c, nq/snd_mixa.s,
	nq/sv_main.c, nq/sv_move.c, nq/sv_phys.c, nq/sv_user.c, nq/view.c,
	nq/view.h, nq/winquake.h, nq/world.c, nq/world.h, nq/worlda.s,
	nq/zone.c, nq/zone.h: Initial checkin of frost, current as of
	tutorial 1: building quake-glx under Linux.

