Commit graph

61 commits

Author SHA1 Message Date
Bill Currie
bc91faf51e Change back to storing the leafnum.
Still unlimited, of course :)
2010-12-09 17:24:38 +09:00
Bill Currie
3ae2ef8d11 Remove non-progs data from edict_t.
All data that is irrelevant to the progs engine itself has been removed
from edict_t and moved into the sv_progs code.
2010-12-09 17:24:37 +09:00
Bill Currie
31cf4b0d78 Use a linked list for the leafs in which the entity is positioned.
This allows the pvs to be used on an antity no matter how many leafs the
entity is touching. Seems to work nicely, but it will leak memory every
time a map is loaded.
2010-12-08 08:44:52 +09:00
Bill Currie
997102fea8 audit the usage of "only"
There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
2010-01-13 06:42:26 +00:00
Bill Currie
839c00b97b back out the large packet/entity related patches. they've provent to be troublesome and it seems FTE has a better solution. 2007-05-07 14:58:53 +00:00
Bill Currie
52f7bd4bb4 MAX_ENTITIES patch from phrosty 2007-04-19 07:36:12 +00:00
Bill Currie
eaa79afe64 send nails2 to the mvd and qtv recorders, NOT to the client. d'oh 2007-04-07 13:52:26 +00:00
Bill Currie
3fb03fc2be hah, should have been using __attribute__((used)) all that time (rather
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
47bf8c8423 player deltas seem to be working 2005-05-09 12:12:48 +00:00
Bill Currie
080e619675 oops, accidently broke delta updates in bad pl situations 2005-05-07 00:48:19 +00:00
Bill Currie
d017b87c2b lots of progress, however mvd player deltas are borked atm 2005-05-05 11:46:29 +00:00
Bill Currie
73a34b86e8 recorder interface to ease writing server state to mvds and qtv. ones this
is working properly, adding qtv support will be trivial.
2005-05-01 09:07:20 +00:00
Bill Currie
629a2db63d first stage of rework for qtv support. there might be slight breakage in
mvds, more testing is needed, but things seem ok.
2005-04-30 08:45:17 +00:00
Bill Currie
e500935f1f move SV_WriteClientToDemo (going step by step now) 2005-04-30 04:37:01 +00:00
Bill Currie
d308d324cc o misc little cleanups
o add plent_state_t, packet_players_t and delta_t in preparation for
    re-worked delta compression code.
  o use plent_state_t in the client.
2005-04-30 03:59:23 +00:00
Bill Currie
9dcd2333d9 Serious mvd surgery. Interpolation of player position/angle is no longer
done and playerinfo is now written at the proper time, fixing the
"lagged dlights" issue (as Spike puts it:). Hack to fix broken mvds removed
as it should no longer be needed if everybody fixes their mvd servers :)
2005-04-27 09:54:37 +00:00
Bill Currie
74c0d0fe21 fix a nasty bug in QSG support where the wrong flag was getting set for
frame number > 255
2005-04-27 07:00:02 +00:00
Bill Currie
c4807a095d if we're not going to check the pvs, why bother calculating it? 2004-03-07 00:25:09 +00:00
Bill Currie
6e6df349e4 move the ucmd message code into a common qw lib (more will likely follow) 2004-02-21 05:09:02 +00:00
Ragnvald Maartmann-Moe IV
d599b651e0 Palespace. 2004-02-09 04:16:59 +00:00
Bill Currie
8e0a464ad7 get server clients updated properly 2003-08-21 20:35:36 +00:00
Bill Currie
5d14abb354 send server client info to the clients 2003-08-18 06:26:09 +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
da3cac2b6a oops, didn't notice the lack of {}s 2003-03-03 21:46:41 +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
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
Bill Currie
8d35d67997 clean up the multiple definitions of the DF_* flags 2002-11-22 17:45:30 +00:00
Bill Currie
ef33b9754b support as many packet entities in demos as qwex does (ie, 196). Makes me
wonder if I should make the server support sending 196 packet entities to
qf clients.
2002-10-17 16:03:18 +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
212e40b54a mvd recording :) (thanks to qwex 0.165b and highlander) 2002-10-04 02:29:03 +00:00
Bill Currie
028202ce3f silence the MAX_PACKET_ENTITIES warning for general use 2002-09-13 00:58:42 +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
d2dd6db51f More nail speedups for qw. 2002-06-29 18:28:32 +00:00
Ragnvald Maartmann-Moe IV
1555324e0d Whitespace, and fixes for SV_EmitNailUpdate. 2002-06-28 02:11:13 +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
Bill Currie
8ee5acb208 redo Sys_Error so it's more usable throughout quake 2002-02-20 19:22:52 +00:00
Ragnvald Maartmann-Moe IV
2db08923e8 MSG_(Read|Write)(Coord|Angle|CoordAngle)V. Cleanups, and preparation for use of vector ops in msg.c. 2001-12-12 21:56:09 +00:00
Bill Currie
0bb01f310f don't crash when there are too many entities for update messages. just ignore
the excess.
2001-12-10 03:17:21 +00:00
Bill Currie
cc66577f1c fixes for building on alpha (linux) 2001-11-16 01:09:17 +00:00
Bill Currie
c5aec15569 This prepares for moving the net_svc code to a branch allowing both network
code cleanups and general performance work to be developed in relative peace.
While cleaning up the networking code /is/ important, fixing QF's perfomance
issues is of much higher priority.
2001-11-07 08:24:56 +00:00
Adam Olsen
87a0a4d7d6 - a TODO item
- converted svc_packetentities and svc_deltapacketentities
- added some convenience defines for U_foo grouping
- tweaked Host_NetError's "please report this" print, but it still
  doesn't work
2001-11-04 21:23:22 +00:00
Adam Olsen
c5f4af0109 - convert svc_playerinfo, cvs_nails, svc_modellist, and svc_soundlist 2001-11-03 10:48:55 +00:00
Bill Currie
d04edfaaf2 whitespace 2001-10-29 05:42:10 +00:00
Bill Currie
78a3e398d5 * taniwha gets medieval on extern 2001-10-28 04:23:37 +00:00
Bill Currie
7883280d9a whitespace 2001-10-16 22:55:37 +00:00
Bill Currie
b1f4a778f9 the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
Ragnvald Maartmann-Moe IV
f4fd3178f4 More header and whitespace horror reduction. 2001-08-28 02:43:24 +00:00
Adam Olsen
b277881832 Don't try to write freed entities to the client 2001-08-14 11:15:47 +00:00
Bill Currie
fb42199637 change all the SVFIELD calls to SVtype. this should make the code a little
easier to read.
2001-08-08 20:28:53 +00:00
Bill Currie
7a06a2254a rename the Con_Printf in sv_send.c to SV_Printf and change all the calls to
Con_Printf in the server code to SV_Printf.
nuke Con_DPrintf from sv_send.c
2001-07-11 23:11:29 +00:00