Commit Graph

708 Commits

Author SHA1 Message Date
Bill Currie 940598f240 merge pcx.c, tga.c and wad.c. util seemed the most logical place, but LoadPCX
had to be modified to get away from vid.h (better designe now IMO anyway)
2001-05-30 20:56:53 +00:00
Bill Currie 80be659b4a white space 2001-05-30 20:55:28 +00:00
Adam Olsen de4ab28d38 re-add support for changing client port (use +set cl_port foo) 2001-05-30 18:50:17 +00:00
Adam Olsen 8ca626dacc add -export-dynamic to linker lines, so you can use sound plugins with static builds. 2001-05-30 18:35:19 +00:00
Bill Currie d7830293a6 more printf format attributes 2001-05-30 05:38:17 +00:00
Joseph Carter 05adfd0e53 quakefs.h -> vfs.h
quakeio.h -> vfile.h

More diff reduction between trunk and my VFS code.  Also took the time to
put some headers in order and fix a few #include's pointed out by moving
things around a bit.
2001-05-30 04:34:06 +00:00
Joseph Carter 186d577818 s/QFile/VFile/g - makes my diffs much smaller and more manageable for the
VFS work.
2001-05-30 03:21:19 +00:00
Bill Currie 47d95d245a protect the cvar callback and description fields from being modified once
they have been set to non-defaults.
2001-05-30 02:41:30 +00:00
Bill Currie f988572c4d lighthalf and gl_lightmode, meet Mr. Chainsaw, he will be your playmate today. 2001-05-29 21:59:02 +00:00
Bill Currie 18fd21da77 merge the particle system 2001-05-29 19:58:35 +00:00
Bill Currie 763829560a client.h clean 2001-05-29 19:52:10 +00:00
Bill Currie 78702c07e4 make gl_dyn_part.c and sw_rpart.c independent of client.h and host.h 2001-05-29 19:43:15 +00:00
Bill Currie 7708a2ddd1 remove netlogger (unused cvar) and rename netloglevel to net_loglevel so it
matches the user visible name
2001-05-29 18:24:29 +00:00
Bill Currie 87bf3a2b5e cl_main.c:
move the packet loging init call to the right place and remove a duplicate
	PI_Init call
net_packetlog.c:
	don't be so invasive when dumping packets. use a private msg_t that gets
	initialized from the analysed packet, rather than net_packet (which
	tended to corrupt incoming packets)
2001-05-29 18:14:12 +00:00
Bill Currie f0cfc46cb7 model.h:
add a crc field to aliashdr_t
model_alias.c:
	set it for all models
cl_parse.c:
	set the pmodel and emodel info keys to the crcs of the player and eye
	models
2001-05-29 17:37:48 +00:00
Bill Currie d441a61bf3 make sure that the reliable packets from soundlist, modellist and the skins
info get acked. This is done by sending a no-op packet (0 byte didn't work
because the runt packet detector throws them out before the ack is seen).
2001-05-29 03:29:51 +00:00
Bill Currie 3c66182588 fix the sound precache lookup code in net_packetlog.c 2001-05-28 22:16:27 +00:00
Bill Currie 6eadd402ab when I say I want packet loggin, I want packet logging, not undefined symbols 2001-05-28 21:34:27 +00:00
Bill Currie d523cb92c7 clean up --with-plugin-path a little and make it depend on libdir instead
of exec_prefix (removes the hard-coding of lib)
2001-05-28 21:22:15 +00:00
Bill Currie 5514f4870e --with-plugin-path now controls where plugins are installed, not just where
to look for them.
2001-05-28 19:30:32 +00:00
Zephaniah E. Hull 2ab7077e0e Minor clipping. 2001-05-27 18:35:08 +00:00
Chris Ison 9b4f09ff0f fix for qw skin upload every frame bug, thank deek for the fix and help 2001-05-27 09:19:24 +00:00
Bill Currie 04d4df1e19 fix nq's skin code so it doesn't upload skins every frame 2001-05-27 04:23:39 +00:00
Bill Currie 792aac270c autoconf 2.50 doesn't seem to like nested AC_CHECK_FUNC calls 2001-05-27 01:56:39 +00:00
Bill Currie 4c5b977902 move cl_math.S into renderer/sw/transform.S (never before realised it was
part of the renderer)
2001-05-26 03:33:09 +00:00
Chris Ison 3035224bec disable cl_math.S asm 2001-05-25 22:57:25 +00:00
Bill Currie 48278f3a46 fix the spaces in the header 2001-05-25 20:48:51 +00:00
Chris Ison 14fc2d0b6c added GPL comments and fixed missing include in gib_modules.c 2001-05-25 20:31:47 +00:00
Bill Currie 271b400318 finally got pic working. getting the address of a variable using pic seems
to be not so straight forward :/ Anyway, one down, 11 to go.
2001-05-25 20:17:22 +00:00
Bill Currie f1730d7870 Move VID_ShiftPalette from all the driver files to vid_common_sw.c
Do the palette gamma correction inside VID_UpdateGamma (fixes sw palette gamma)
2001-05-25 16:42:49 +00:00
Joseph Carter c5735d2f19 A little sanity in gib's header deps. Not much granted, but it's there. 2001-05-25 16:09:14 +00:00
Bill Currie 1038f88a64 disable asm in the software renderer for now. This will allow me to fix the
files one at a time and allow others to use software independent of asm usage
(even if a little slowly (~14% slower on my dual c450)).
2001-05-25 14:57:31 +00:00
Joseph Carter 9788b579c5 Modify the hack used by qpic_t slightly. This is not over, but this will
do for now.  A full texture_t should eventually replace qpic_t/glpic_t..
2001-05-25 10:40:30 +00:00
Bill Currie 4b3e056429 fix silly typo 2001-05-25 04:06:51 +00:00
Bill Currie a87c4bbd93 vid.c:
Don't bother checking vid_gamma for CVAR_ROM becuase it is impossible to
	get to VID_UpdateGamma when it is set except for when the cvar is
	initially created, and we /want/ the code to execute in that case.
vid.h:
	add initialized to viddef_t
vid_common_gl.c:
	actually /use/ gammatable (it tends to help)
vid_*.c:
	clean up rendundant decls of gammatable, vid_initialized (now
	vid.initialized) and make sure vid.initialized gets set.
gl_view.c:
	remove gammatable decls
2001-05-25 04:03:47 +00:00
Bill Currie 5ed553f876 more files missed in the move 2001-05-25 02:45:57 +00:00
Bill Currie 991ee5090d remove the last vestiges of VID_Gamma_f 2001-05-25 02:44:05 +00:00
Chris Ison 48ae5d5a44 fixed vid_gamma not working in 3dfx 2001-05-25 02:26:30 +00:00
Bill Currie f83b9be0ba remove redundant vid_gamma_avail decls 2001-05-24 23:49:28 +00:00
Bill Currie bc8ae8fd37 whitespace 2001-05-24 20:11:34 +00:00
Bill Currie 3c18b50d9c fixes for compiling without assembler 2001-05-24 20:04:39 +00:00
Bill Currie 600bcfb108 forgot to remove these 2001-05-24 19:28:07 +00:00
Bill Currie 73e6e1684f FINALLY, the nq and qw renderers are merged. the view and particle subsystems
are not yet merged due to their dependence on the client, but that will come
soon.
2001-05-24 19:22:35 +00:00
Bill Currie 55ee68cf38 whew 2001-05-24 19:19:32 +00:00
Bill Currie d44901a8d6 oopsie 2001-05-24 19:18:51 +00:00
Bill Currie 05f9470b7c oops, got a little too agressive with the V_CheckGamma cleanup 2001-05-24 18:50:02 +00:00
Ragnvald Maartmann-Moe IV 964ec6425d whitespace and comment cleanup. 2001-05-24 17:00:08 +00:00
Bill Currie f21ad90ba4 total nukage of brighten, brightness and contrast. 2001-05-24 16:30:25 +00:00
Bill Currie a3518d44ed Nuke V_CheckGamma, moving its sole contribution to VID_UpdateGamma in vid.c 2001-05-24 15:48:39 +00:00
Bill Currie d87d374fcf white space 2001-05-24 04:50:12 +00:00