Bill Currie
099e2739b5
various msvc fixes thanks to muzzy (hope he doesn't give up:)
2002-08-20 19:16:11 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Bill Currie
2b1fd8e8c0
fix the menu keybinding not working bug
2002-08-19 02:48:38 +00:00
Bill Currie
f068b47c0c
complain when MAX_PACKET_ENTITIES gets hit to see if this is our problem
2002-08-15 21:11:57 +00:00
Ragnvald Maartmann-Moe IV
c86565307b
Use function pointers for DeathmatchOverlay, instead of a ridiculous if/else tangle. Bulkier, but considerably faster.
2002-08-15 09:38:23 +00:00
Bill Currie
0ebaa9834b
fix a vim snafu
2002-08-15 03:22:58 +00:00
Bill Currie
bfd02b6412
mess around with the builtin comments
2002-08-14 22:33:10 +00:00
Ragnvald Maartmann-Moe IV
520a3c0a90
Tiny speedup, cleanup.
2002-08-14 10:49:38 +00:00
Bill Currie
ff02dfbbbc
make the sdl clients link reliably (some versions of binutils don't cope well
...
with no .o files)
2002-08-12 16:42:26 +00:00
Ragnvald Maartmann-Moe IV
a69b172f6f
Cache grappling hook beam model loading, should speed up CTF beam handling. For mods with no beam model, wastes a pointer on a lightning bolt model. Better than crashing... ;)
...
Also copy the sound effects LUT for spikes into nq, which I never got around to.
2002-08-10 02:53:44 +00:00
Bill Currie
b5783866ad
fix model_t issues for solaris (now that I know which headers cause the
...
problem...:)
2002-08-09 02:44:23 +00:00
Bill Currie
1354975692
clean out some unneeded includes and fix up model_t for sun (again:P)
2002-08-08 22:24:02 +00:00
Bill Currie
ad03adb133
fix a couple of sillies with sdl
2002-08-08 01:47:32 +00:00
Bill Currie
0963c2476d
improved server logging. "logfile" is gone from qw-server to be replaced
...
with "sv_logfile" and thus giving nq-server logging as well.
2002-08-07 18:46:53 +00:00
Bill Currie
64b608b20d
put *sys_sdl.c into a lib so it doesn't get compiled more than once and do
...
more macroizing
2002-08-07 18:20:23 +00:00
Brian Koropoff
5c60be3a49
If and while now work, and embedded commands use backticks instead of <> now
...
to prevent conflicts with math expressions. All clients and servers are set
to create buffers with the normal parser. However, scripts ending in .gib
are now executed in a GIB buffer, and the export command can be used to
make specific GIB functions available to normal command buffers (i.e. the
console).
2002-08-07 06:17:50 +00:00
Ragnvald Maartmann-Moe IV
e56404d242
Use LUT instead of case for spike sound effects. Faster and more compact, though less legible.
2002-08-06 19:46:13 +00:00
Bill Currie
bd9092a626
per map config files (eg, maps/start.cfg for maps/start.bsp)
2002-08-06 05:45:03 +00:00
Bill Currie
abf1ef37dc
convert the flag offset calculation from switch to a lookup table. this
...
should be a touch faster avoiding the extra jumps
2002-08-06 03:52:38 +00:00
Ragnvald Maartmann-Moe IV
f0be492c75
Optimize CTF flag handling.
2002-08-03 17:20:07 +00:00
Brian Koropoff
cf48363c6e
More of GIB done: builtins, functions, various cleanups, math, etc.
2002-08-03 06:04:00 +00:00
Brian Koropoff
3c3844d2ac
Checked in the beginnings of GIB mark III and modified qw-server to use
...
it for its console.
2002-08-02 04:07:25 +00:00
Bill Currie
5f4c21d796
casting from (signed) char to int does not one whit of good towards avoiding
...
the problems associated with signed chars being used to index arrays. must
cast to usigned char so the bit expansion is done on an unsigned value to
avoid the sign extension.
2002-08-02 03:22:32 +00:00
Bill Currie
a13a2283ae
forgot to remove this
2002-08-01 19:49:52 +00:00
Bill Currie
2ce0f2ded2
we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
...
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Brian Koropoff
439f9838d3
Whoops, missed some stuff that needed to be in idparse.h
2002-07-31 22:13:15 +00:00
Brian Koropoff
a93b221272
Split off the old console parser into idparse.[ch] and prepared the cbuf
...
struct and support functions for GIB mark III.
Oh yeah, I'm back.
2002-07-31 22:03:53 +00:00
Bill Currie
0bb6769204
fix the non-parsing of quakeforge.conf
2002-07-31 06:06:44 +00:00
Bill Currie
ad6e025a91
take cmd.[ch] back to basics. the gib code is temporarily gone pending
...
renovations. cmd_source handling is a little hacky in nq, but it's working.
2002-07-31 05:19:03 +00:00
Ragnvald Maartmann-Moe IV
c4cb25a83c
LOTS of cleanups. Couple little optimizations, plus add cl_showscoresuid 2
to show both pings AND uid.
2002-07-29 17:36:01 +00:00
Ragnvald Maartmann-Moe IV
4d74b80a38
Dead code removal.
2002-07-27 02:50:41 +00:00
Ragnvald Maartmann-Moe IV
227491d929
Remove cl_predict_static, it doesn't need a cvar to control it anymore. Also some minor related cleanups.
2002-07-27 00:44:54 +00:00
Bill Currie
81af9b14e9
move the VID_SetCaption call into CL_SetState where it belongs and fix
...
CL_SetState for when connecting to the server (dunno how I mangled that one)
2002-07-26 20:50:53 +00:00
Ragnvald Maartmann-Moe IV
587de27849
Another step towards QSG2 compliance.
2002-07-25 14:43:36 +00:00
Bill Currie
de22355371
use P_* for params and R_* for return values in builtins code
2002-07-24 21:42:33 +00:00
Bill Currie
dd08f4ff58
fix some operation order issues (might fix the stuck key issue)
2002-07-22 21:47:01 +00:00
Bill Currie
4cc39a07bc
hopefully make CL_SetState a little more sensible
2002-07-22 21:25:51 +00:00
Ragnvald Maartmann-Moe IV
0d95bc71ff
Fix cl_predict_static default!
2002-07-15 09:29:50 +00:00
Ragnvald Maartmann-Moe IV
6cef69545e
Whitespace, prune dead code.
2002-07-07 02:33:00 +00:00
Bill Currie
7e052a5cc7
certain standard user commands (eg, say) can now be overriden by the progs,
...
but only once (ie, it's an error for the progs to try to add a command twice)
2002-07-05 21:15:19 +00:00
Bill Currie
e85b3a3d97
blah, not all automake versions support that
2002-07-05 07:10:39 +00:00
Bill Currie
a918790c2d
evil hack, but this gets around the issue of libQFcsqc wanting the renderer
2002-07-05 07:05:52 +00:00
Bill Currie
b4f9652535
give the server progs access to the Cmd api
2002-07-05 06:55:38 +00:00
Bill Currie
cb814165f8
allow progs to register user commands (but not override any of the standard
...
ones (yet))
2002-07-05 06:43:47 +00:00
Bill Currie
73b68e788e
close a small security hole where a malicious challenge could potentially
...
wreak havoc with info strings.
2002-07-03 18:29:36 +00:00
Ragnvald Maartmann-Moe IV
64df22aa8c
Whitespace, dead code removal, and a couple of tiny cleanups.
2002-07-03 05:40:33 +00:00
Ragnvald Maartmann-Moe IV
c8fcdd5813
Re-enable rendering lights on the player you are viewing from...
2002-07-03 00:37:28 +00:00
Ragnvald Maartmann-Moe IV
1478dcd9c9
Prune dead code.
2002-07-02 21:37:22 +00:00
Ragnvald Maartmann-Moe IV
e1854315ac
Clean out DDActive, except from -mgl, which isn't supported ATM. Clean up vid_mgl.c comments and dead code a bit.
2002-07-02 20:34:51 +00:00
Ragnvald Maartmann-Moe IV
5e5fdb7bc2
Kill MSG_WriteChar.
2002-07-02 19:13:53 +00:00
Ragnvald Maartmann-Moe IV
ec5440fccc
Whitespace, plus a sprinkling of FIXME markers...
2002-07-02 18:35:36 +00:00
Ragnvald Maartmann-Moe IV
1ca1154964
Speed up client nail packet parsing.
2002-07-02 18:07:51 +00:00
Ragnvald Maartmann-Moe IV
aeab38fe4f
Minor cleanups.
2002-06-30 16:19:37 +00:00
Ragnvald Maartmann-Moe IV
d2dd6db51f
More nail speedups for qw.
2002-06-29 18:28:32 +00:00
Ragnvald Maartmann-Moe IV
2a3c31edbe
More nail fixes, more MSG_* cleanups.
2002-06-29 03:25:25 +00:00
Ragnvald Maartmann-Moe IV
1555324e0d
Whitespace, and fixes for SV_EmitNailUpdate.
2002-06-28 02:11:13 +00:00
Ragnvald Maartmann-Moe IV
00d72be48d
Whitespace.
2002-06-26 06:33:00 +00:00
Bill Currie
8ddca92dd9
fix a few allskins bugs
2002-06-25 17:07:52 +00:00
Chris Ison
70d8026067
Removing -3dfx's dependancy on clide
2002-06-24 15:56:01 +00:00
Bill Currie
a83ecbd23a
make sure we don't get stuck in the console when the server is in
...
intermission mode. As far as I can tell, it's pure luck wether the
svc_intermission comes before or after the first pass through the prediction
code, and if it comes before, the prediction code will never run and thus
never realise that it's ok to start rendering, so force the issue if in
intermission mode.
2002-06-21 05:15:16 +00:00
Bill Currie
e5c470d5e4
realtime should not be affected by pause and also should not be used for
...
physics and progs, that's what sv.time is for. Things seem to work nicely,
including map changing, and this /should/ make long uptime servers work so
long as the map gets changes occasionally.
2002-06-20 16:38:16 +00:00
Bill Currie
7ab3095024
back out Misty's realtime reset work. It did achieve its goal, but winding
...
realtime back caused the problems with clients not reconnect on map change
and after my preliminary mucking around with time, I'm convinced there's a
better way.
2002-06-20 16:15:27 +00:00
Bill Currie
8234988835
yet more cleanup
2002-06-19 23:16:41 +00:00
Bill Currie
a397ef953a
Nuke Netchan_AckPacket because it didn't really achieve its goal ('twas a
...
server bug anyway), broke qizmo (not that I really care: that's still qizmo's
bug) and (most importantly) broke recording demos across map changes.
(Closes : #14 )
2002-06-19 19:58:36 +00:00
Ragnvald Maartmann-Moe IV
a246015053
Order of operations fix for R_AddEfrags.
2002-06-19 17:32:39 +00:00
Bill Currie
f1ced33e92
a little more cleanup
2002-06-19 17:16:13 +00:00
Ragnvald Maartmann-Moe IV
1ebc5e6fa1
Whitespace.
2002-06-19 17:01:31 +00:00
Bill Currie
5e9baaa7c2
optimise PF_aim for when sv_aim is >= 1 or when the client's noaim is 1
2002-06-19 16:03:01 +00:00
Bill Currie
b4d7f0ec96
move the pps code into it's own function
2002-06-19 05:03:24 +00:00
Bill Currie
85a6c5aa06
remove a redundant call to IN_Move
2002-06-19 04:11:27 +00:00
Bill Currie
5052e3db1f
add qsg support for players and actually send EFFECTS2 and FRAME2 for
...
packet entities
2002-06-19 02:55:57 +00:00
Ragnvald Maartmann-Moe IV
d2fadb2978
Temporary workaround for invisible players.
2002-06-18 23:50:53 +00:00
Ragnvald Maartmann-Moe IV
c8bc5dfb4c
QSG2 glows almost working. Plus lots of typos killed.
2002-06-18 21:41:24 +00:00
Ragnvald Maartmann-Moe IV
632683e703
Change sv_maxrate 0
to unlimited. Change default to 10000. Remove forced ceiling of 10000.
2002-06-17 16:18:34 +00:00
Ragnvald Maartmann-Moe IV
3900c75cbb
Spelling correction in printf.
2002-06-17 05:40:56 +00:00
Bill Currie
9482c151c2
fix the missing view model
2002-06-14 07:55:19 +00:00
Bill Currie
c23a74ecd9
fix the recvfrom address size
2002-06-12 20:26:30 +00:00
Ragnvald Maartmann-Moe IV
2da6bd4907
Rename cl_nopred to cl_predict, cl_nostatpred to cl_predict_static, and disable prediction of static players by default.
2002-06-12 04:45:21 +00:00
Ragnvald Maartmann-Moe IV
bc4c4588cc
Minor cleanup.
2002-06-10 23:05:29 +00:00
Ragnvald Maartmann-Moe IV
dd52072c9c
Whitespace.
2002-06-10 23:04:34 +00:00
Timothy C. McGrath
ee3f85cf55
Whoops! I got slap happy with ()'s. I'll learn, just let me make more
...
bugs ;)
Tim McGrath (Misty)
2002-06-09 02:44:11 +00:00
Timothy C. McGrath
814b1b5f2b
Reworked logging and heartbeats so they use realtime again, instead of
...
directly calling sys_doubletime () - managed to remove six calls. Proboably I
should look through the code some more and find more ways to remove more calls
... The server works fine with them on my system as is, but I've gotten the
impression from people in the know that spamming the clock this often is bound
to cause non x86 arches to have problems.
Tim McGrath (Misty)
2002-06-08 23:29:19 +00:00
Bill Currie
1747c07da6
rename cl_demospeed to demo_speed and add demo_gzip (yeah, compressed demos)
2002-06-08 23:22:26 +00:00
Bill Currie
442ccc3deb
no more Sys_* functions defined in nq or qw :)
2002-06-07 15:46:15 +00:00
Bill Currie
ebfdbd9285
the fpu manipulation stuff seems to be better off in the one place that
...
actually uses it...
2002-06-07 15:09:20 +00:00
Bill Currie
4e07810f0d
a little cleanup of unneeded lines
2002-06-07 14:44:02 +00:00
Ragnvald Maartmann-Moe IV
ceb73449bb
Order of operations cleanup, QSG2 alpha is now colormod[3] in entities.
2002-06-07 11:25:47 +00:00
Ragnvald Maartmann-Moe IV
90f4bf5fa7
Improve dlight flag combination behaviors, plus some more dlight initialization cleanups.
2002-06-07 05:21:53 +00:00
Timothy C. McGrath
b552aceced
This should fix bans and heartbeats to work with realtime resets.
...
Also of note, I found a line I missed for logging from the last checkin. Doh.
Did not test heartbeats, although the code is so dead simple it ought to
function.
I did not test logging, although the code is rather simple so unless I missed
something, it ought to work this time. ;)
Tim McGrath (Misty)
2002-06-06 23:38:35 +00:00
Timothy C. McGrath
c848bf5c0c
Fixed logging to work with realtime resets.
...
Tim McGrath (Misty)
2002-06-06 23:15:26 +00:00
Timothy C. McGrath
bd82405643
Fixed automatic muting/mute to work properly with realtime resets.
...
Timothy C. McGrath (Misty)
2002-06-06 23:05:57 +00:00
Timothy C. McGrath
8f2b541b25
This fixes cuffs so they work with realtime resets.
...
Tim McGrath (Misty)
2002-06-06 22:41:34 +00:00
Ragnvald Maartmann-Moe IV
f6c6d9f03e
Add EF_DIMLIGHT to qw, make it work identically in nq.
2002-06-06 04:14:23 +00:00
Timothy C. McGrath
25ec0b8efd
I figured out why realtime 0 caused progs to crash }:) ph33r me. Or
...
not. Your choice.
if sv_frametime is less than or equal to zero, progs does not enjoy life.
Don't make progs suicide, join the > 0 club today!
Tim McGrath (Misty)
2002-06-06 00:32:04 +00:00
Ragnvald Maartmann-Moe IV
46949068a2
Check return value on R_AllocDlight. Small optimization, people cutting r_dlight_max heavily should like it.
2002-06-05 22:07:38 +00:00
Brian Koropoff
7369224f25
Added the getinfo command to grab client info keys in GIB. I might add
...
the ability to grab info about any user, but this has potential abuses.
I'll need to think it over.
2002-06-05 00:13:46 +00:00
Bill Currie
0f9adc182d
win32 compile fixes
2002-06-04 16:17:10 +00:00
Timothy C. McGrath
6ead7c9ad4
Removed an unneeded check now that realtime = 0 in sv_init.c while map is
...
loading went byebye.
Tim McGrath (Misty)
2002-06-03 23:11:09 +00:00
Bill Currie
4039452297
more sys cleanup. server consoles may be broken for non-curses.
2002-06-03 19:11:48 +00:00
Jeff Teunissen
b1ccfce60a
Remove the resetting of realtime -- there's a better solution coming, and this
...
breaks a lot of stuff subtly.
2002-06-03 03:01:46 +00:00