Bill Currie
7c3f58e08e
this should fix elmex's segfault
2002-03-12 19:44:10 +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
Ragnvald Maartmann-Moe IV
f66b7a93e5
Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment).
2001-12-11 22:37:30 +00:00
Bill Currie
44b36e4d6b
sadly, I have to revert my low-copy code. it doesn't gain /enough/ to be
...
worth the bugs it's introduced (it's extremely difficult to do both low-copy
/and/ correct entity updates).
2001-12-03 05:36:39 +00:00
Bill Currie
27ff29214e
print a warning and recover instead of crashing when the model is null
2001-12-02 00:38:44 +00:00
Bill Currie
5b13c1a07d
fix rocket trails in demos
2001-12-02 00:18:09 +00:00
Bill Currie
13d67a4c67
fix an oopsie with low-copy and software clients
2001-12-01 22:26:17 +00:00
Bill Currie
6a51021f86
low-copy networking code. gives about 3-4% speed boost to overkill (null
...
renderer).
2001-12-01 22:16:50 +00:00
Ragnvald Maartmann-Moe IV
f192287a3b
U_EXTEND fixes taniwha wanted me to commit for him.
2001-11-28 23:51:49 +00:00
Bill Currie
0652a9d90c
initialize the projectiles array so nails are visible
2001-11-28 03:17:41 +00:00
Bill Currie
f7c90759af
clean out the non-renderer fields from entity_t. not yet a noticable gain
...
but more work needs to be done on the linking code in the client. However,
there /does/ seem to be a slight gain with possibly less variance.
2001-11-27 21:42:49 +00:00
Bill Currie
e2db0ed434
allow oolormap to be set for the last client
2001-11-26 05:16:04 +00:00
Bill Currie
87d6278a87
move the physent overflow tests to the correct locations
2001-11-26 01:52:08 +00:00
Bill Currie
d99da515f7
cl_ents.c:
...
catch and moan about physents overlows (needs more work, but I don't
grok the code well enough yet to do more).
pmovetst.c:
correct a spelling error
2001-11-25 23:25:53 +00:00
Bill Currie
e99b422628
extinguish gl_fires. it's semi-broken, generally nasty (code wise) and
...
kinda tacky. also results in a slight speed boost:)
2001-11-25 06:24:26 +00:00
Bill Currie
288ec4251c
various fractional speedups
2001-11-15 19:37:29 +00:00
Bill Currie
504b804b4c
replace many Host_EndGame calls with Host_Error and make Host_Error not bail
...
out of the program in most cases
2001-11-12 20:46:11 +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
c0f363e05c
it seems that map changes generate from mismatches, so change that
...
back to a silent warning (but also make it drop the packet)
2001-10-30 09:15:09 +00:00
Adam Olsen
61f819b5c9
- further error checking rearangements, putting the "old packet" check
...
first, and making it a Con_DPrintf that just invalidates that packet
2001-10-30 02:29:04 +00:00
Adam Olsen
950331a1f4
clean up a few error messages, rearange error checks, and change some
...
"impossible" warnings into errors.
2001-10-30 00:24:25 +00:00
Bill Currie
85c9e0ab1e
more externs cleaned up
2001-10-29 17:46:03 +00:00
Adam Olsen
36b8256b3a
- fixed net_packetlog to use Con_Printf when there's no logfile open,
...
rather than a stdout hack (which had problems with buffering)
- actually parse net_deltapacketentities
- print offset within net_{,delta}packetentities blocks for each
entity
- fix indenting in Log_Delta
- fix off-by-one for packet offset printing
- fix a miss-parsing of svc_deltapacketentities
(MAX_PACKET_ENTITIES does NOT include U_REMOVE entities)
- remove "full update" handling for CL_ParseDeltaPacketEntities, since
that only happens with svc_packetentities
2001-10-29 00:32:16 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Adam Olsen
f3fe1cec87
- add a request to send any errors to quake-devel in Host_NetError
...
- cleanup CL_ParseDeltaPacketEntites a little bit
- change some warnings in CL_{,Delta}PacketEntites to errors, as well
as full updates with delta*, so that they can either be debugged or
shown not to be needed
2001-10-28 00:51:14 +00:00
Bill Currie
7910fe026b
nuke FlushEntityPacket and CL_ParseDelta as they are both redundant and
...
FlushEntityPacket now causes a crash.
2001-10-26 15:04:51 +00:00
Adam Olsen
b5856e8be0
- audit of the net_svc.c users' sanity checking
2001-10-25 23:26:33 +00:00
Adam Olsen
dd19f7b500
- convert svc_deltapacketentities
...
- add a Host_NetError that dumps a packet log and disconnects, and use
it instead of Host_EndGame in most cases
- fix a couple multiply-defined vars
2001-10-24 15:23:02 +00:00
Adam Olsen
818f5de658
- rename CL_ParsePacketEntities to CL_ParseDeltaPacketEntities
...
- fix various spots in the above that called Host_EndGame but didn't
return
- switched the order of modellist and soundlist in net_svc*, to
conform with the rest of the files
- create a new CL_ParsePacketEntities, that only handles
svc_packetentities (so it's much simpler). it uses net_svc*
2001-10-21 14:21:30 +00:00
Adam Olsen
32fbdba399
- move the MAX_PROJECTILES def from cl_ents.c to bothdefs.h
...
- convert svc_nails
2001-10-20 08:10:25 +00:00
Adam Olsen
a4d9507895
- roast the unnecesary MAX_STYLESTRING def from bothdefs.h
...
- rename the message argument of NET_SVC_*_Parse to msg
- rename the other argument to block, for brevity
- convert svc_spawnstaticsound
- convert svc_serverinfo
- convert svc_playerinfo
- fix a exploitable buffer overflow with svc_lightstyle
2001-10-19 21:20:49 +00:00
Bill Currie
6ad55725c2
chase cam seems to work properly now
2001-10-11 16:26:09 +00:00
Bill Currie
c0f0dcb4b8
sort of apply Serplord's chasecam fix (it wasn't complete)
2001-10-11 04:43:40 +00:00
Bill Currie
9f612ec82a
this fixes the rendering of the player when not in chasecam mode. not sure
...
what it does for chasecam mode.
2001-09-28 22:07:26 +00:00
Bill Currie
c78edb3a36
Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch
2001-09-28 07:51:15 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Ragnvald Maartmann-Moe IV
05d3aaa0bb
Whitespace.
2001-09-10 17:32:22 +00:00
Bill Currie
714f429276
cl_predict_players2 is gone (cl_predict_players is still there)
2001-09-07 17:44:02 +00:00
Ragnvald Maartmann-Moe IV
0d0e570676
Small particle trail speedup/legibility/flexibility improvement, at price of redundant code in sw/sw32. Tradeoffs. *sigh*
2001-09-07 05:37:11 +00:00
Ragnvald Maartmann-Moe IV
ade99607cc
header/whitespace sweep continues.
2001-08-28 23:05:45 +00:00
Ragnvald Maartmann-Moe IV
c6266aba36
sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet.
2001-08-25 02:47:11 +00:00
Bill Currie
7cda1c6705
put in some comments about future player dlight improvements
2001-08-19 05:41:56 +00:00
Bill Currie
f61ca0e321
fix the persistent fires. For sanity's sake, the non-renderer specific parts
...
of gl_dyn_fires.c have been moved to r_main.c (for now).
2001-06-29 02:43:04 +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
Zephaniah E. Hull
2ab7077e0e
Minor clipping.
2001-05-27 18:35:08 +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
Bill Currie
ece576ed4b
reduce gl_rmain's dependency on cl*.h
2001-05-21 00:22:35 +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
Bill Currie
d1c2b0ec52
r_efrag.c no longer relies on cl*.h
2001-05-20 02:39:56 +00:00
Bill Currie
e61c33c9d9
merge of cl_tents and r_efrag.
2001-05-15 21:34:54 +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
Joseph Carter
2bc55b7828
Cvar cleanups.. NULL is now used in place of 0 for callbacks, this should
...
make Cvar_Get's a lot easier to read.
2001-04-10 23:39:30 +00:00
Bill Currie
e939ccc40a
cvars now sport a callback function that gets called whenever the cvar changes
...
or on initial get.
2001-03-31 01:02:52 +00:00
Bill Currie
cb5c262ffc
qtypes.h:
...
remove includes of qdefs.h and compat.h
pr_comp.h:
merge pr_comp.h from quake and qfcc, removing the copy in qfcc
cmdlib.[ch]:
nuke the endian code.
qendian.c:
initialise the LittleLong etc pointers at compile time rather than run
time
com.c (both nq and qw):
nuke the LittleLong etc init code
everything else:
fix up after the qtypes.h cleanup
2001-03-28 17:17:56 +00:00
Bill Currie
f78b973978
move the api headers into include/QF and clean up (most of) the resulting mess.
...
target specific files that I don't build won't compile yet. just put QF/
infront of the offending headers.
Also move ver_check into libqfutils
2001-03-27 20:33:07 +00:00
Bill Currie
f6073d756f
better progs access error checking and cleanups resulting from it. Fixes
...
mega2k and nq.
2001-03-27 03:57:17 +00:00
Bill Currie
2bfeed6820
looks like utils is more or less complete for now, except for some fixes in
...
nq for abyss etc (ie, the magical -<mod> args).
The interface to the message subsystem got a revamp and all the mods to the .c
files reflect this. currently a little ugly, but I plan on abstracting msg
further to clean it up and make it more oo.
2001-02-23 23:16:13 +00:00
Bill Currie
87854e1a0c
initial checkin of most recent newtree and nuq(?) source
2001-02-19 21:15:25 +00:00