Brian Koropoff
9b63402f12
Added llist.[ch], a set of general-purpose linked list routines. Added
...
cl_chat.[ch] to qw to hold advanced chat features, the first of which is
the ability to ignore chat messages from annoying players. Some polishing
in this area still remains, but the current implementation seems to work.
2003-07-18 06:27:26 +00:00
Bill Currie
0234988c46
fix an exploitable overflow (owwie)
2003-07-17 22:14:50 +00:00
Bill Currie
5bafde58d2
blah, failed to notice the info string was getting freed earlier
2003-05-30 21:22:30 +00:00
Bill Currie
42ade2c507
clear the player slots properly when disconnecting
2003-05-30 20:16:30 +00:00
Brian Koropoff
e707e9bb89
Moved gib_*.h into include/ and moved the necessary declarations and struct
...
definitions to QF/gib.h to interface with libQFgib.
2003-04-13 22:07:58 +00:00
Ragnvald Maartmann-Moe IV
5fb8aa07f3
Code style, people. Love it or leave it!
2003-03-21 21:25:44 +00:00
Bill Currie
661b812fac
call QFS_Gamedir only if the gamedir actually changes
2003-03-11 05:58:06 +00:00
Ragnvald Maartmann-Moe IV
2000954a2c
Whitespace, and a workaround for show_* misplacement.
2003-03-03 19:20:44 +00:00
Ragnvald Maartmann-Moe IV
e959df1692
Whitespace. Grr!
2003-02-25 03:56:58 +00:00
Bill Currie
d93fceea38
fix a snafu in SVC_DirectConnect related to info strings, make
...
Info_ParseString take (and pass on to Info_SetValueForStarKey) a flags arg
and simplify the flags handing in Info_SetValueForStarKey.
2003-02-19 17:39:21 +00:00
Brian Koropoff
d626575091
Fixed use of a dstring without allocating one.
2003-02-15 21:26:15 +00:00
Bill Currie
a98d4c5125
first stab at configurable downloads
2003-02-15 00:05:22 +00:00
Bill Currie
851d203916
work towards a more secure qfs
2003-02-14 22:36:10 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
3b9e7db882
fix the skins dowload location issue (not really to my satisfaction, but it
...
will do for now)
2003-01-10 23:07:04 +00:00
Bill Currie
2e0ed3377c
basic (very!) implementation of the new filesystem directory struture code.
...
All the details of game directories will be fully configurable (search
paths and gamecode file name currently supported). Downloading of skins to
qw/skins only currently broken (will download to $gamedir/skins for now).
2003-01-10 22:47:18 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Brian Koropoff
c522970a88
Added a GIB event system for registering GIB callback functions to be
...
started when a named event occurs. Added a few test events to the qw
client and server. Cleaned up the range GIB builtin a bit.
2003-01-03 04:30:38 +00:00
Brian Koropoff
714f2ced4c
Fixed several GIB bugs, optimized Cbuf_Execute_Stack a bit, changed QW
...
clients to use a separate buffer for stufftext commands.
2002-12-01 07:22:42 +00:00
Bill Currie
3d44623b57
change Cmd_Exec_File's api so it can conditionally use normal or quake
...
file system accesses. fixes the map.cfg exec problem
2002-11-08 16:39:28 +00:00
Bill Currie
864b181b99
d'oh, COM_FOpenFile could probably do with a re-design of its api :P
2002-11-08 03:27:05 +00:00
Bill Currie
ec0273e3dc
do a pre and post pass for maps/mapname.cfg and use maps_default.cfg if
...
maps/mapname.cfg doesn't exist.
2002-11-08 02:43:04 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Bill Currie
fb8a5afda5
fix a bunch more potential message writes while playing demos
2002-10-07 03:58:08 +00:00
Bill Currie
a0f49816e5
cl_parse.c:
...
print the name of the last svc parsed when a badread happens
sv_ents.c:
allocate enough space for the svc_nails2 nails
2002-10-06 04:30:50 +00:00
Bill Currie
9145388750
/never/ write to the message buffers when playing a demo. This avoids the
...
"SZ_GetSpace: overflow" messages when playing denis (especially mvd in 1st
person mode).
2002-10-05 04:52:09 +00:00
Bill Currie
2383340031
mvd playback support. seems to work (get some weird entities hanging around
...
but I suspect that's the mod used in the demo I was testing with), but
probably needs some cleanup.
2002-10-02 21:56:45 +00:00
Bill Currie
6fa4205675
tidy up SV_Serverinfo_f, move Cvar_Info from sv_cver.c to sv_ccmds.c and
...
make the client no_pogo_stick cvar properly reflect the serverinfo
2002-09-17 05:11:28 +00:00
Bill Currie
f7b4dffcc0
get larger player skins working in gl
2002-09-13 05:32:28 +00:00
Ragnvald Maartmann-Moe IV
7bf16df448
More QSG2 work.
2002-09-12 22:09:55 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Brian Koropoff
98fc04e041
Added threads and callbacks to GIB, as well as several QW callbacks dealing
...
with player status.
2002-08-27 04:47:49 +00:00
Brian Koropoff
5595cb848b
Blue armor? Guess I shouldn't code too late at night...
2002-08-26 01:10:02 +00:00
Brian Koropoff
876eaa467c
Added a few useful builtins and began adding GIB hooks into quakeworld.
...
The player global branch variable is now updated with useful information
and the location.get builtin is available to return the current location
of the player based on loc files. Fixed a bug with zooming out in zoom.gib.
2002-08-24 05:14:46 +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
bd9092a626
per map config files (eg, maps/start.cfg for maps/start.bsp)
2002-08-06 05:45:03 +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
64df22aa8c
Whitespace, dead code removal, and a couple of tiny cleanups.
2002-07-03 05:40:33 +00:00
Ragnvald Maartmann-Moe IV
1478dcd9c9
Prune dead code.
2002-07-02 21:37:22 +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
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
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
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
Bill Currie
97029c0689
rearrange the svc_stufftext code so stuffbuff doesn't even get allocated if
...
it's not needed. This should speed things up fractionally for well behaved
mods/servers that send atomic svc_stufftext packets (ie, always ending in
\n).
2002-04-19 17:58:52 +00:00
Brian Koropoff
ea3c2f0d78
Changed stufftext behavior so that commands are built up until a \n is
...
found at the end of the string. This works around a stupidity in some
servers where stufftext commands are sent in pieces and might not reach
the client before execution occurs, resulting in parse errors.
2002-04-19 06:26:08 +00:00
Robin Redeker
54037f1115
Fixed cl_fraglog and fs_fraglog cvar for being archived.
...
Fixed fraglogging when playing demos.
2002-03-15 13:31:05 +00:00
Robin Redeker
650912e75a
Added my fancy automatic fraglog to the qw-client.
...
Cvar fs_fraglog is a new cvar for the filename of the fraglog (default: qw-score.log)
Any devel should take a look at qw/source/cl_parse.c and qw/source/sbar.c to verify
the place where the function is placed and called, i am not shure if its correct there.
2002-03-14 15:43:08 +00:00
Bill Currie
87e4148ffc
fix the client getting stuck trying to download (eg) "skins/ .pcx"
2002-03-11 18:47:14 +00:00