Commit graph

5339 commits

Author SHA1 Message Date
Bill Currie
5d14abb354 send server client info to the clients 2003-08-18 06:26:09 +00:00
Bill Currie
aa712c0169 make [super foo] work in category methods 2003-08-18 06:11:41 +00:00
Bill Currie
aa4f81b6da class.c:
whitespace
switch.c:
	set up the relocations for the switch jump table properly
2003-08-18 02:57:21 +00:00
Bill Currie
09a7e21d6e separate the client frame code from _Host_Frame making things a little
easier to follow
2003-08-16 05:29:02 +00:00
Bill Currie
537c34a27f add the new lib 2003-08-16 03:58:35 +00:00
Bill Currie
ff627bfb0d update for mingw 3.0 (thanks, Dabb:) 2003-08-15 21:26:44 +00:00
Ragnvald Maartmann-Moe IV
d8068de4fa Commit experimental particle optimization. Reduces random particles from using
6 15 bit rand() to 2 calls, with 5 bits for each of the 6.
This is up to a 1% speedup for qf particles, and up to 2.1% for id.

It may particularly affect explosions with r_particles_style 0.
Please report any anomolies in any particle effects.
2003-08-15 20:26:09 +00:00
Bill Currie
323a6182fd move pcx.c and tga.c out of libQFutil and into libQFimage with the hopes
for more image formats :)
2003-08-15 16:19:10 +00:00
Bill Currie
53448a483e handle multiple files better and auto-scale 2003-08-13 22:42:52 +00:00
Bill Currie
d77addf552 don't record frame times until we've actually `started' the demo (ie, don't
record times for frames timedemo doesn't count in its fps calcs)
2003-08-13 21:53:40 +00:00
Bill Currie
33a57c5a14 win32 compile fixes 2003-08-13 18:17:30 +00:00
Bill Currie
fe3b544528 handle "return 0" a bit better. assumes location is is always 0, but it
always has been (and always /should/ be anyway:)
2003-08-13 17:27:34 +00:00
Bill Currie
28e2679f0b while downward overlapped memcpys are safe, shut up valgrind 2003-08-13 17:07:42 +00:00
Bill Currie
6f519c7e0f don't bother doing the copy if the value to be returned is already in the
return slot
2003-08-13 17:07:05 +00:00
Bill Currie
34d2e0163c improve the timedemo fps output a little 2003-08-13 16:08:06 +00:00
Bill Currie
e36ce15b5c private cbuf in map_cfg in nq too 2003-08-13 06:23:20 +00:00
Bill Currie
70ec073904 use a private cbuf for map_cfg 2003-08-12 23:22:30 +00:00
Bill Currie
c9346e806c now sporting multiple runs (currently 3) and blending 2003-08-12 22:18:51 +00:00
Bill Currie
515dbaccc0 make qc-lex.c and qc-parse.[ch] part of the distribution (two less
requirements for the average user)
2003-08-12 18:22:11 +00:00
Bill Currie
c73d57e9ee put the axes behind the graphs and don't skip the first couple frames 2003-08-12 16:24:50 +00:00
Bill Currie
f7fd1d70a2 correct white and add axes with ms and 100 frame ticks 2003-08-12 16:04:00 +00:00
Bill Currie
b3f99a70be rename cl_timeframes to demo_timeframes and make it /not/ archive.
move call to CL_TimeFrames_AddTimestamp from cl_main.c to cl_demo.c.

add a hacky little python script to create a pnm (portable anymap file
format) graph from timeframes.txt
2003-08-12 06:33:13 +00:00
Bill Currie
0a0f8d0cfa make a LoadBSPMem function so bsp files can be read from already loaded
images
2003-08-11 22:40:46 +00:00
Bill Currie
7fe0962bac we /do/ want full precision from Sys_DoubleTime :P 2003-08-11 22:39:07 +00:00
Ragnvald Maartmann-Moe IV
9ed8150b85 More particle optimizations. 2003-08-11 20:48:34 +00:00
Bill Currie
19cf019ed2 barf when given a bsp file instead of a map file (and don't zap the bsp file
in the process!!!)
2003-08-11 20:43:26 +00:00
Bill Currie
fa31cb73b5 don't seg if files can't be opened 2003-08-11 17:11:44 +00:00
Bill Currie
ce3accd4f1 make gcc 2.95 friendly (OpenBSD seems to still use it) 2003-08-11 16:02:06 +00:00
Bill Currie
7ead5a91f8 don't let gcc automaticly inline functions but make gcc inline bigger
functions when told to. also make gcc warn if it can't inline a function.

Explicitly inline several functions (including moving VectorNormalize to
mathlib.h so it /can/ be) resulting in a 5.5% speedup for spam2 (88 to 92
fps)
2003-08-11 06:05:07 +00:00
Bill Currie
b88d275994 fix some warnings 2003-08-11 05:16:04 +00:00
Ragnvald Maartmann-Moe IV
f35b1db291 Fix a potential uninitialized variable segfault taniwha noticed, and optimize
particle effects a bit more.
2003-08-09 04:38:11 +00:00
Bill Currie
1c4c58f1a1 add a "demo_quit" cvar to cause qf to quit automaticly at the end of a
timedemo to make automation of profiling easier
2003-08-08 17:33:34 +00:00
Bill Currie
6a94607d9d rename VectorMA to VectorMultAdd, add VectorMultSub and use it in a few
places. Not certain how much speed difference it makes :/
2003-08-08 15:25:53 +00:00
Bill Currie
184aa7beb0 should be a minor speedup to mono lightmaps 2003-08-07 21:05:58 +00:00
Bill Currie
732a9a80d1 gain about 3 fps (180 to 183) in null-renderer 2003-08-07 19:58:39 +00:00
Bill Currie
4a680bf981 grovel around for the source file and line of an undefined def to give
better diagnostics
2003-08-06 21:36:07 +00:00
Bill Currie
56e79e32b5 configure fixes from MrFixit (+ a buch of "x..." for test) and make
qwaq.dat depend on qfcc
2003-08-06 18:20:48 +00:00
Bill Currie
c1b9f1c814 freebsd is happy with "cpp %d %i %o" 2003-08-06 17:20:46 +00:00
Bill Currie
d5648d03a5 merge in 0.5.4 changes 2003-08-06 00:25:30 +00:00
Bill Currie
448b6f24be make the useless expression warning more interesting 2003-08-05 21:41:48 +00:00
Bill Currie
80ed221518 update 2003-08-05 17:59:25 +00:00
Bill Currie
329c91fce4 expr.c:
qcc actually had the precedence of "!x && y" correct, so don't invert
	the logic for it in traditional code.
qfcc.c:
	allow the .debug_file def to be emitted in traditional mode.
2003-08-05 17:48:16 +00:00
Bill Currie
cbc6c40d33 get some single source instruction formats right and handle empty paths
properly
2003-08-05 17:27:47 +00:00
Bill Currie
ada828bdc9 remove a whole swath of potential buffer overflows by removing the buffer.
Also audit a few of the "FIXME: overflow" tags
2003-08-05 01:45:52 +00:00
Bill Currie
59c26b5ce0 quick fix to handle .ent files starting with comments 2003-08-04 05:21:18 +00:00
Bill Currie
07d7f81e14 hopefully fix the alsa-lib assertion bug 2003-08-04 03:36:55 +00:00
Bill Currie
39598742b8 more updates :) 2003-08-04 01:50:20 +00:00
Bill Currie
6f88e4e343 break out some duplicated code into a function and get the window coords
"properly" (for this mess I'm not sure I'm willing to call code:)
2003-08-04 01:28:30 +00:00
Bill Currie
5a944f4098 add Stack.h 2003-08-03 19:10:12 +00:00
Bill Currie
3e3b316891 blah, double ; 2003-08-01 21:26:36 +00:00