Commit graph

7554 commits

Author SHA1 Message Date
Bill Currie
9cd83e178f various fixes for out-of-srcdir building
configure.in:
	foo/Makefile MUST come before foo/bar/Makefile or foo/bar will NOT be
	created.
libs/*...*/Mkaefile.am: add INCLUDES so $(top_scrdir)/include gets searched
{qw,nq}/source/Makefile.am: fix fbset compiling (and cleaning for nq)
2001-04-11 03:09:24 +00:00
Adam Olsen
0f98bc01be Forgot to edit the comments :) 2001-04-11 02:42:53 +00:00
Adam Olsen
320bd35f1e Move common variables in snd_dma.c and snd_null.c into snd_common.c 2001-04-11 02:41:12 +00:00
Adam Olsen
2b4d8ecc97 Remove some extra files linked in with snd_null.c 2001-04-11 01:17:08 +00:00
Joseph Carter
75aa40276f A few more. Also removed a couple inaccurate comments. 2001-04-11 00:10:19 +00:00
Joseph Carter
2bc55b7828 Cvar cleanups.. NULL is now used in place of 0 for callbacks, this should
make Cvar_Get's a lot easier to read.
2001-04-10 23:39:30 +00:00
Bill Currie
659eb45e96 tools to help with cross copiling QF under mingw in linux 2001-04-10 23:31:50 +00:00
Adam Olsen
b89fde285d Make snd_null.c actually work.
add --disable-sound to configure, for no sound at all :)
2001-04-10 23:18:08 +00:00
Bill Currie
051f3ca96e nq-{sdl,sgl,wgl} compile, but don't link 2001-04-10 23:17:47 +00:00
Ragnvald Maartmann-Moe IV
34c9239ebf Add winquake.h to EXTRA_DIST. 2001-04-10 22:30:34 +00:00
Bill Currie
7f5d4cd7e9 clients now build (sdl, sgl, wgl), but don't link yet 2001-04-10 22:09:41 +00:00
Bill Currie
8e2d89c4c2 fix up a mis-understanding about api headers
*taniwha larts himself for not explaining things to Despair
2001-04-10 21:45:42 +00:00
Bill Currie
082c5ccae4 get qw-server to link in mingw 2001-04-10 21:43:57 +00:00
Ragnvald Maartmann-Moe IV
e34342eced Calm taniwha's nerves. 2001-04-10 21:01:29 +00:00
Bill Currie
e9fb7576da oops, missed with the #ifdef 2001-04-10 20:15:52 +00:00
Ragnvald Maartmann-Moe IV
cbb4af711c Remove duplicate sound.h, move some things down from include/QF to include.
Prepare for joystick merge...
2001-04-10 20:15:18 +00:00
Bill Currie
334b528a40 forgot some bits 2001-04-10 20:11:50 +00:00
Bill Currie
dfbfd9463c mingw cross compile fixes. qw-server (only, so far) compiles but does not
yet link due to Sys_Error :/
2001-04-10 20:07:11 +00:00
Adam Olsen
5ebe111301 Probably want this :) 2001-04-10 09:53:00 +00:00
Adam Olsen
dcd924c355 Removed old files 2001-04-10 09:44:36 +00:00
Adam Olsen
69022c7ffb Move sound targets into a library. Still doesn't pick one at runtime though. 2001-04-10 09:40:09 +00:00
Joseph Carter
27d177f978 The cdrom code now uses strequal where appropriate. Also, playing track 0
now stops the CD from playing.  CD track 0 is used this way already, even
by the Id-licensed mission packs.
2001-04-10 07:26:22 +00:00
Bill Currie
a96536c896 nuke commdef.h and clean up the results by putting its contents where they
belong.
also, merge model.h and friends (MINUS render.h). this needed moving efrags_t
from render.h to model.h.
2001-04-10 06:55:28 +00:00
Joseph Carter
b7a4c80b94 New Cvar in Linux: mus_cddevice, default is /dev/cdrom. Set it to none if
you don't want CD music.  Can be changed in-game, in which case it will
stop the current CD if one is playing before changing devices.  Note that
this is a blocking operation, don't do it in the heat of battle.
2001-04-10 05:41:21 +00:00
Adam Olsen
ed0b391dfb Tweaked some comment indentation that made me itch ;) 2001-04-10 02:36:50 +00:00
Bill Currie
e236ac4bb2 move mplane_t to qtypes.h so non-asm builds will build (so long as you're not
trying to build -svga)
2001-04-10 02:36:44 +00:00
Bill Currie
2829f8b493 include config.h and string[s].h 2001-04-10 02:16:50 +00:00
Bill Currie
e2935cecb6 add .gitignore 2001-04-09 23:46:52 +00:00
Ragnvald Maartmann-Moe IV
d7eb585502 Merge cd. Doesn't dlopen different cd drivers or anything exciting... Yet. 2001-04-09 21:15:09 +00:00
Ragnvald Maartmann-Moe IV
0c00970ae1 Tweak particle effects extensively. Grenades and blood far cheaper, and better looking. 2001-04-08 21:41:53 +00:00
Timothy C. McGrath
9bdc1f02c4 Modified smoke trails for grenades and rockets so that we have an easter
egg temporarily until easter - They'll randomly choose between 255
colors. I'll eventually change this into a cvar, but for now enjoy ;)

This stuff is easily removed for the people who don't like colors: Just
remove my added lines, and uncomment the old ones :)

Misty-chan
2001-04-08 07:49:54 +00:00
Zephaniah E. Hull
7553f2b0a4 Tweaking the trails a bit more. 2001-04-08 04:56:24 +00:00
Zephaniah E. Hull
4873457160 Fixed how all particle trails are rendered, still needs a /lot/ of tweaking. 2001-04-08 04:07:19 +00:00
Adam Olsen
4d9fe4a25f Added some personal ideas on what I'd like to see get added to
quakeforge.  Comments welcome. :)
2001-04-06 21:55:27 +00:00
Ragnvald Maartmann-Moe IV
b897f96e51 Restore old grenade smoke trail, make order of texture generator mentions consistent. 2001-04-06 19:23:00 +00:00
Zephaniah E. Hull
a40130f7d7 Oops, non-smoke ring particles should work again. 2001-04-06 19:05:57 +00:00
Zephaniah E. Hull
a16b2c0070 Borrowed LH's VectorVectors.
Changed smoke trails a good bit.
2001-04-06 18:37:23 +00:00
Ragnvald Maartmann-Moe IV
1f25ab9ec2 New generated texture for spark particles. 2001-04-06 04:27:39 +00:00
Zephaniah E. Hull
b7ee9ba07d gl_draw.c: gl_lightmode now uses a callback.
gl_dyn_part.c:
  Now uses a (non-locked) vertex array to reduce GL calls.
  Gives a slight speed gain, I'll optimize it a bit more soon.
gl_rlight.c:
  Fixed much of the dlightframecount issues.
  (This gives cleaner code and a speed up.)
gl_rmain.c: A slight reorg of the dlight call order.
gl_rmisc.c: Enable some of the vertex arrays. (vertex, texcoord, color.)
gl_rsurf.c:
  Reworked R_BuildLightMap, smaller now code wise, also more optimized,
  and it builds a 0-2 lightmap in more cases now.

  Playing with GL_UploadLightmap.

  For non-lighthalf non-mtex lightmaps use a 0-2 range.
  (Makes gl_lightmode look a /lot/ better.)

gl_screen.c: More stuff with the gl_lightmode callback.
r_view.c: R_PushDlights is called elsewhere now.
sw_rmain.c:
  Moved the R_PushDlights call.
  Also killed the unused PASSAGES define.
2001-04-06 02:57:26 +00:00
Joseph Carter
9ea0605558 reverting this for Mercury 2001-04-06 02:12:19 +00:00
Joseph Carter
c9ecc7a9d2 The lighthalf qboolean is no more - replaced with a gl_lightmode callback
to do the job much more simply.  Also replaced lighthalf_v with white_v on
the QW side.
2001-04-05 17:28:28 +00:00
Bill Currie
e0c11b2f87 grr, it was r_part.c, not r_efrag, but that's sorted properly now 2001-04-04 21:53:09 +00:00
Bill Currie
eba467689a do the rename thing again (need to fix r_efrag and r_view, grr) 2001-04-04 21:47:21 +00:00
Bill Currie
ef66808016 this was accidently deleted 2001-04-04 21:24:28 +00:00
Bill Currie
0146992d67 rename (most of) r_*.[cS] to sw_r#1.#2 (mmv rocks:) to finally fix the borked
naming scheme of sw vs gl
2001-04-04 21:22:23 +00:00
Ragnvald Maartmann-Moe IV
4dc5da173b Rest of commit... 2001-04-04 05:40:29 +00:00
Ragnvald Maartmann-Moe IV
f4632ccd8b Merge fractalnoise into noisetextures.c, which will eventually add a few more fractal noise types. Current smoke is a blend of diamond-square and plasma noise.
Also make smoke less dense, in an attempt to fix Jin^eLD's problem with hwguy smoke.
2001-04-04 05:39:44 +00:00
Bill Currie
2f2ba28bb7 pr_lex.c:
rewrite PR_LexPunctuation to avoid looping. 6x speedup for that function
	according to gprof on customTF
configure.in:
	--enable-profile
2001-04-03 16:50:31 +00:00
Chris Ison
774d4ea1db console serverlist ideas/plan 2001-04-03 07:05:37 +00:00
Chris Ison
2ece48c535 alpha code for master server queries 2001-04-03 05:48:24 +00:00