Chris Ison
75fe232052
Sorted server list, sl_sortby 0 = by name, sl_sortby 1 = by ping
2001-06-12 12:31:01 +00:00
Chris Ison
5b16c38974
quick bug fix for slist update seg
2001-06-09 15:42:22 +00:00
Chris Ison
8d3247ff00
added set server name after refresh, and fixed slist update not resetting the list
2001-06-09 15:24:42 +00:00
Chris Ison
12ae6750af
moved slist stuff out of cl_main.c and into cl_slist.c, enabled getting server list from master servers. to switch between servers.txt list (default) and list of servers from master servers use slist switch
2001-06-09 09:12:24 +00:00
Bill Currie
b9f35283f4
make dist fixes + a --disable-asmopt fix for mingw
2001-06-08 02:47:30 +00:00
Bill Currie
62c783f47a
eval_t is no more: too many evil casts involved in using it (which can result
...
it bad code being generated by gcc).
2001-06-08 00:13:06 +00:00
Bill Currie
05cf89dd5d
make progs type checking optional at configure time. still defaults to on.
2001-06-08 00:11:54 +00:00
Bill Currie
735a35b2f9
compile fixes from Artur Frysiak <wiget@pld.org.pl>
2001-06-05 17:23:03 +00:00
Bill Currie
e339e82c01
hash.h is now const correct as is a lot of qfcc
2001-06-04 04:52:14 +00:00
Bill Currie
4c8f84adc5
fix for CustomTF menu truncation
2001-06-03 01:28:11 +00:00
Bill Currie
652069d3f2
This one's for Mercury :) (cvar control of pmodel and emodel)
2001-06-02 23:29:41 +00:00
Bill Currie
a0796826ee
Back out Mercury's removal of emodel and pmodel. They are /required/ by some
...
servers.
2001-06-02 22:20:34 +00:00
Zephaniah E. Hull
380dcf5c9b
Some gl_draw cleanups for glpic.
...
Some sbar cleanups (still broken, suspect driver issues.).
Removal of pmodel and emodel infokeys, waste of info space.
For servers allow people downloading to hear people talking.
2001-06-02 20:39:54 +00:00
Ragnvald Maartmann-Moe IV
28638a9a98
Remove merge ghosts. Aren't there for Taniwha. cvs quirks, whee.
2001-06-02 04:35:16 +00:00
Ragnvald Maartmann-Moe IV
85333a9f96
Convert cd audio libs to plugins. Windows untested, dos and sgi not converted yet.
2001-06-01 22:55:33 +00:00
Bill Currie
7ad0f7ed2b
various compile fixes for mingw.
2001-06-01 00:39:31 +00:00
Adam Olsen
4620b8fdfd
Add the cl_showscoresuid cvar I mentioned before
2001-06-01 00:29:55 +00:00
Bill Currie
06064ec390
compat.h:
...
create a field_offset macro that takes a structure type and a field and
returns the offset of the field within the structure
everything else:
use field_offset to calculate the size of variable sized structs
2001-05-31 18:11:05 +00:00
Bill Currie
d2a4faae6e
oops :) (packet log fixes: segs aren't nice)
2001-05-31 15:38:08 +00:00
Bill Currie
323015b11a
include/QF header cleanup. including config.h (or any file from include) is
...
a nono because headers in include/QF get installed, but include don't and thus
would break quakeforge-dev.
2001-05-31 05:33:13 +00:00
Bill Currie
6bf58ab1af
no header includes cvar.h now
2001-05-31 03:41:35 +00:00
Bill Currie
a488af9bf5
add a net_packetlog_zap command (those files can get big:)
2001-05-31 03:04:39 +00:00
Bill Currie
4babd979d6
nuke --enable-packetlog in favor of a net_packetlog cvar so packetlogging is
...
always available. also change the packet log open mode from truncate to append.
2001-05-31 02:43:48 +00:00
Bill Currie
889b9ce740
try to dump the packet resulting in an overflow
2001-05-30 23:44:21 +00:00
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
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
18fd21da77
merge the particle system
2001-05-29 19:58:35 +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
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
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
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
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
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
05f9470b7c
oops, got a little too agressive with the V_CheckGamma cleanup
2001-05-24 18:50:02 +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
Chris Ison
3cc3392a8a
fixed paused being displayed by default in gl
2001-05-23 10:20:27 +00:00
Bill Currie
1a25bc9349
gl_screen.c and screen.c are now client clean (and merged :)
2001-05-23 06:33:23 +00:00
Bill Currie
ec7335029d
gl_draw.c is now client clean.
2001-05-23 04:05:10 +00:00
Bill Currie
f49608b881
copy it to nq and clean out the commented out code
2001-05-23 03:33:39 +00:00
Bill Currie
3b7d356416
helps if I upload the texture in the correct format :)
2001-05-23 03:31:54 +00:00
Bill Currie
a8e1da5d99
make dist and compile fixes for mingw cross building
2001-05-22 19:13:23 +00:00
Bill Currie
c500fd7479
make dist fixups
2001-05-22 17:09:03 +00:00
Zephaniah E. Hull
e65c1bd7e1
Make sure the message gets to the client.
2001-05-22 13:40:21 +00:00
Zephaniah E. Hull
98a8db2f0e
Coderjoe's fix from newtree. (The other part of the DOS fix.)
...
Prevent an infinite loop in a fairly rare case, where the infostring is
too full to accept a new name when there is a duplicate name.
2001-05-22 13:30:35 +00:00
Zephaniah E. Hull
5245f56012
Validate userinfo strings on connect. (Part of a nasty DOS fix.)
2001-05-22 12:00:45 +00:00
Joseph Carter
2b4c31b7ae
Noise reduction in draw vs gl_draw
2001-05-22 09:24:56 +00:00
Joseph Carter
954b2148f7
Fix a gcc warning in cl_ngraph.c
2001-05-22 09:19:53 +00:00
Bill Currie
4a80639556
sw and gl rmisc are now client clean. the graphing functions ahve been pulled
...
out into r_graph.c (Time and Z graph), cl_ngraph.c (Net graph), and
{gl,sw}_graph.c (R_LineGraph). gl_ngraph.c is gone. Unfortunatly, something
is rather wrong with NetGraph in gl (probably R_LineGraph).
2001-05-22 06:00:38 +00:00
Bill Currie
0a4b53c817
gl_rsurf is now client clean
2001-05-21 23:09:46 +00:00
Bill Currie
da8715f27d
sw_ralias.c and gl_rmain.c are now client clean. this involved a bit of a
...
revamp of skins. keep an eye out for broken skins (especially in nq)
2001-05-21 22:25:35 +00:00
Ragnvald Maartmann-Moe IV
ddceaf78b3
Merge most of cshift calcs from sw and gl to r_view.c
2001-05-21 19:53:57 +00:00
Ragnvald Maartmann-Moe IV
46b5ce2d09
Remove client.h from gl_sky_clip. Changed an error message to not use cl_name.
2001-05-21 15:59:02 +00:00
Ragnvald Maartmann-Moe IV
853dfceac6
Minor cleanups, not client.h or host.h clean yet, though.
2001-05-21 04:41:57 +00:00
Ragnvald Maartmann-Moe IV
4d09685df7
Remove client.h from sw_rsurf.c. Prepare gl_rsurf.c for same.
2001-05-21 03:39:41 +00:00
Ragnvald Maartmann-Moe IV
a9c9a46c37
client.h gone from gl_rlight.c and sw_rlight.c.
...
cl_lightstyle -> r_lightstyle
2001-05-21 03:08:07 +00:00
Bill Currie
ece576ed4b
reduce gl_rmain's dependency on cl*.h
2001-05-21 00:22:35 +00:00
Ragnvald Maartmann-Moe IV
1aef81e9ef
Minor makefile cleanups.
2001-05-20 23:30:16 +00:00
Ragnvald Maartmann-Moe IV
62eefb49af
Remove gl_cull cvar. Was enabled regardless of the setting of the cvar, in any case.
2001-05-20 22:02:44 +00:00
Ragnvald Maartmann-Moe IV
d9b509b885
nonintel stuff makes more sense in nonintel.c
2001-05-20 21:47:18 +00:00
Ragnvald Maartmann-Moe IV
ee8bdb0742
sw_rvars.c was just a little bit silly for a simple variable declaration.
2001-05-20 21:44:05 +00:00
Bill Currie
337430a113
sw_rmain.c is now client and chase clean.
2001-05-20 20:38:51 +00:00
Ragnvald Maartmann-Moe IV
7d008a5949
whitespace
2001-05-20 20:35:39 +00:00
Ragnvald Maartmann-Moe IV
3f816c0aa3
whitespace.
2001-05-20 18:07:39 +00:00
Ragnvald Maartmann-Moe IV
a07d05e054
whitenoise--
2001-05-20 16:29:41 +00:00
Bill Currie
44943e78de
better fix for the dlights problem (will prevent similar problems in the
...
future)
2001-05-20 06:23:46 +00:00
Bill Currie
d360b01827
move dlight stuff out of cl_* into r_main.c. nq dlights seem to be broken,
...
but that seems to have been from before this work
2001-05-20 05:42:52 +00:00
Ragnvald Maartmann-Moe IV
f7330f078e
Change meaning of gl_lightmap_components a bit. Setting 4 changed to reduce texture memory waste by a bit. Really only an optimization for nvidia drivers anyways. This also should fix a quality issue in 16bpp with it set to 4.
2001-05-20 04:36:20 +00:00
Bill Currie
cf2e098434
header order
2001-05-20 04:26:22 +00:00
Bill Currie
a41af75e56
cl.worldmodel is only remfereced once in the renderer (and that will be
...
going away shortly)
2001-05-20 04:25:36 +00:00
Bill Currie
daca64ed04
more cl*.h dependency cleanups realtime and cl.time are no longer reffed
2001-05-20 03:54:55 +00:00
Bill Currie
d1c2b0ec52
r_efrag.c no longer relies on cl*.h
2001-05-20 02:39:56 +00:00
Bill Currie
e0512e4af3
r_efrag.c is almost client.h free
2001-05-20 01:58:59 +00:00
Bill Currie
f834f99de7
diffsnr++
2001-05-20 00:34:40 +00:00
Bill Currie
916b52f24c
more diff S/N ratio improvements
2001-05-19 23:38:56 +00:00
Ragnvald Maartmann-Moe IV
2edaee8f5d
Whitespace.
2001-05-19 23:31:20 +00:00
Bill Currie
149e8477a6
Call SCR_UpdateScreen at the end of Host_Init
2001-05-19 22:27:44 +00:00
Ragnvald Maartmann-Moe IV
e9857d8213
Merges, and cl_writecfg now works in nq.
2001-05-19 20:57:29 +00:00
Ragnvald Maartmann-Moe IV
d55f9e4a4d
diff noise. blech.
2001-05-19 17:32:04 +00:00
Ragnvald Maartmann-Moe IV
0c7cc403b8
diff noise reduction.
2001-05-19 17:02:56 +00:00
Ragnvald Maartmann-Moe IV
6e3ea5cabb
whitespace
2001-05-19 16:22:35 +00:00
Ragnvald Maartmann-Moe IV
9f124853e5
whitespace
2001-05-19 02:09:08 +00:00
Bill Currie
0910c850bf
make R_LineGraph non-static
2001-05-19 01:59:04 +00:00
Bill Currie
ec5daaa764
finally merge render.h. nq will NOT currently compile. I'll fix that when I
...
get back onto my computer at home
2001-05-19 00:23:21 +00:00
Adam Olsen
9cc30959e4
Sound now uses runtime plugins. Much thanks to Deek for doing all the
...
thinking :)
set fs_pluginpath to point to the right dir, and set snd_plugin to pick a sound
plugin.
Current issues:
- alsa 0.5 won't build properly, dunno why
- segfault on exit. I think I know the cause of this, and how to fix it
- alsa 0.9, gus, sgi, sun, and win32 havn't been tested
2001-05-19 00:05:35 +00:00
Bill Currie
378adbf8f6
diff noise reduction
2001-05-18 23:57:38 +00:00
Bill Currie
18e6b43168
diff noise reduction in render.h and its fallout
2001-05-18 22:07:10 +00:00
Bill Currie
f0c6dfcb1a
now identical
2001-05-18 21:05:38 +00:00
Ragnvald Maartmann-Moe IV
9949108f45
draw.c now identical in qw and nq.
2001-05-18 20:52:15 +00:00
Ragnvald Maartmann-Moe IV
51cb61aea2
keys.c is now identical in nq and qw, as well as less of a whitespace mess.
2001-05-18 20:38:22 +00:00
Bill Currie
89360e5627
no need for bothdefs.h
2001-05-18 20:23:53 +00:00
Bill Currie
69ab5c981c
99% merge of d_*.[cS]. just d_polyse to look at
2001-05-18 20:19:20 +00:00
Bill Currie
664c640e42
total merge of the particle system (except r_part.c isn't in qw yet)
2001-05-18 19:58:49 +00:00
Ragnvald Maartmann-Moe IV
1dbfea351a
console.c mergable. Little bit of cleanup of client.h
2001-05-18 18:33:37 +00:00
Bill Currie
a735b92bab
kill the allowskybox varible. it wasn't ever checked anyway
2001-05-18 18:04:55 +00:00
Bill Currie
e75a2b96e9
cl_entities[0] is no longer referred to in the sw renderer. insted,
...
r_worldentity is used.
2001-05-18 17:50:19 +00:00
Bill Currie
d62ac62ff5
allow commands other than set to be executed from ~/.quakeforgerc
2001-05-17 21:32:59 +00:00
Bill Currie
011b16144e
check for the availability of usleep
2001-05-17 18:29:22 +00:00
Bill Currie
d820a6ecee
fix up the libs dependencies so the targets get relinked if any of the QF
...
libs get updated (vital for static builds)
2001-05-17 16:52:47 +00:00
Adam Olsen
65cf395fd6
make it release the CPU when framerate is too high
...
I thought I commited this already...
2001-05-17 10:10:40 +00:00
Bill Currie
a344c9fbd2
lib link order fixing so stat libs work
2001-05-17 08:29:04 +00:00
Bill Currie
44f4c688a5
whitespace
2001-05-17 07:52:37 +00:00
Bill Currie
35a52bb634
diff noise reductions + fix what looks to be a bug with surf flushing
2001-05-16 17:20:42 +00:00
Bill Currie
8f4394de4f
various merge cleanups including moving the contents of R_Textures_Init into
...
Mod_Init
2001-05-16 17:08:56 +00:00
Bill Currie
dda567a961
clean up a comment
2001-05-16 15:54:56 +00:00
Bill Currie
72cc67e863
kill r_fullbright and r_draworder
...
`merge' skin handling
2001-05-16 06:01:34 +00:00
Bill Currie
266e6b3474
put TE_BLOOD and TE_LIGHTNINGBLOOD into nq and clean up some other diffs.
...
down to just old_origin vs ent->msg_origins
2001-05-16 03:55:19 +00:00
Bill Currie
e61c33c9d9
merge of cl_tents and r_efrag.
2001-05-15 21:34:54 +00:00
Ragnvald Maartmann-Moe IV
e7c2ed82db
whitespace...
2001-05-15 21:13:07 +00:00
Bill Currie
e07f91155b
some diff cleanups: use cl.viewentity instead of cl.playernum + 1 and some
...
white space
2001-05-15 19:38:01 +00:00
Ragnvald Maartmann-Moe IV
c278652d9a
diff noise reduction
2001-05-15 19:22:39 +00:00
Ragnvald Maartmann-Moe IV
e88cdda35a
whitespace.
2001-05-15 19:19:38 +00:00
Ragnvald Maartmann-Moe IV
4206b93721
diff noise reduction
2001-05-15 19:00:53 +00:00
Ragnvald Maartmann-Moe IV
5d52236da1
Whitespace and comment cleanup.
2001-05-15 17:38:43 +00:00
Ragnvald Maartmann-Moe IV
dd81f9bf30
Change light setting from 256 and 200 to 255, for fullbright models.
2001-05-15 17:38:02 +00:00
Bill Currie
40cbc5ed3c
cl.items in nq is now cl.stats[ITEMS] as per qw
2001-05-15 17:22:53 +00:00
Bill Currie
350920399e
that wasn't quite the right thing to do
2001-05-15 05:38:06 +00:00
Bill Currie
ba0d0c755c
do key_dest right
2001-05-15 05:27:14 +00:00
Bill Currie
7b4e395dcb
massive merging madness mounds
2001-05-15 04:50:53 +00:00
Bill Currie
eb65d61322
more merge madness
2001-05-15 03:27:55 +00:00
Ragnvald Maartmann-Moe IV
cf7487b692
Dead cvar removal, diff noise cleanup. The usual.
2001-05-15 02:19:36 +00:00
Bill Currie
312cb5bf53
clean up the diffs again after enabling R_Mirror in nq
2001-05-14 20:57:50 +00:00
Bill Currie
1b74d305a8
diff noise reduction
2001-05-14 20:35:32 +00:00
Ragnvald Maartmann-Moe IV
0c16f56c23
diff noise reduction.
2001-05-14 19:46:16 +00:00
Ragnvald Maartmann-Moe IV
2c80bff085
Removed useless comments.
2001-05-14 06:57:38 +00:00
Bill Currie
9064530d1d
diff noise reduction
2001-05-14 06:48:59 +00:00
Bill Currie
afef935399
95% merge gl_rmain.c
...
nq is actually generally working again, except alias models are black
2001-05-14 06:47:38 +00:00
Bill Currie
0a915d3ecc
compile fix for win32
2001-05-14 05:43:35 +00:00
Bill Currie
879a133c19
forward port the x11 repeat fix
2001-05-14 05:37:47 +00:00
Bill Currie
83e0754e41
fix missing "" around cvar default
2001-05-14 05:21:27 +00:00
Ragnvald Maartmann-Moe IV
28d3937399
Some more whitespace, and fixes for disappearing cvars.
2001-05-14 05:16:59 +00:00
Ragnvald Maartmann-Moe IV
91200a862d
Whitespace.
2001-05-14 03:08:24 +00:00
Ragnvald Maartmann-Moe IV
56f76e8192
More cleanups.
2001-05-14 01:22:58 +00:00
Ragnvald Maartmann-Moe IV
924cdf917d
Fix a new bug with dlights, more cleanups.
2001-05-13 23:15:34 +00:00
Ragnvald Maartmann-Moe IV
048a80ce23
Merges and cleanups...
2001-05-13 22:57:27 +00:00