Commit graph

3805 commits

Author SHA1 Message Date
Bill Currie
68b41f9b44 make dstring_adjust `grow' in increments of 1024. this should speed up
multiple appends nicely.
also create davsprintf and dasprintf to /append/ the printed strings to the
dstring rather than overwriting it as is done with dvsprintf and dsprintf.
2002-10-15 19:52:46 +00:00
Bill Currie
1f0b6e84a5 change pr_obj_msgSend and pr_obj_msgSend_super so they either call builtin
methods directly or setup the progs struct for a normal function call to
call a progs method rather than recursively calling PR_ExecuteProgram. This
will reduce method call overhead (both cpu and stack usage), fix the loss
of tracing when calling a method and makes it possible to break out of the
progs engine simply if threaded progs are ever implemented.
2002-10-15 18:53:33 +00:00
Bill Currie
fcb06dbd84 blah :) 2002-10-15 17:36:12 +00:00
Bill Currie
99350cf4f1 cleanup some bitrot that caused qf to seg when using the null sound driver 2002-10-15 17:32:47 +00:00
Brian Koropoff
72e1ab0c57 Added the sleep console command that waits for a specified amount of time.
Note that this isn't a GIB-specific command but is very useful in GIB
threads.  Fixed the range GIB command to respect the ifs local variable.
2002-10-13 19:46:47 +00:00
Brian Koropoff
70c1fee4c9 Fixed some missing commas that resulted in garbled cbuf error messages. 2002-10-13 19:18:10 +00:00
Brian Koropoff
8b31103e6f Var substitution is now handled in the same pass as embedded return values.
This prevents var substitution from being performed on the return value
of a function.  The local variable ifs can now be set to specify a custom
field separator for use in for loops.  file.find will also insert ifs
between file names instead of a space if it is set.  file.find will also
no longer put . and .. in a list of file names.
2002-10-13 05:52:06 +00:00
Bill Currie
ce2cfbcf45 clear beam end time when beams expire 2002-10-11 22:13:40 +00:00
Bill Currie
652907bc58 X overlays crash fix from Vincent Cojot 2002-10-11 21:32:17 +00:00
Bill Currie
eb8302170d hmm, missed that one 2002-10-11 20:54:34 +00:00
Bill Currie
9f7c669370 various win32 compile fixes for the latest mingw (not fully working due to
LPCWAVEFORMATEX)
2002-10-11 20:47:17 +00:00
Bill Currie
c1cad316fd fix some missing windows files 2002-10-11 17:43:51 +00:00
Bill Currie
347815f3e3 Call CL_UpdateScreen a few extra times to make sure the screen gets updated
before any lengthy pauses occur
2002-10-11 03:40:41 +00:00
Bill Currie
a055269654 workaround for buggy glibc memcpy (Closes: #28) 2002-10-11 03:29:39 +00:00
Bill Currie
cddca4544d behave sanely when the requested map doesn't exist (Closes #44). I'm
closing the bug because X closing on qf receiving TERM or KILL is due to
X segfaulting and thus is an X bug.
2002-10-11 03:15:41 +00:00
Bill Currie
d7e7b7de7d cause the model to load into a calloced buffer rather than the hunk temp
region to avoid the data getting corrupted by cache shufflings. This
/should/ fix the bad extents bug (Closes: #37)
2002-10-11 02:54:02 +00:00
Ragnvald Maartmann-Moe IV
00b798c5b6 MORE whitespace. Will it never end? 2002-10-10 20:12:32 +00:00
Ragnvald Maartmann-Moe IV
0b0f9ee371 More whitespace. 2002-10-10 20:03:23 +00:00
Ragnvald Maartmann-Moe IV
ef47bf6e12 gl_skymultipass -> gl_sky_multipass. Much nicer tab completion. 2002-10-10 19:49:36 +00:00
Ragnvald Maartmann-Moe IV
b025a4e9aa Wh17e5p@c3! 2002-10-10 19:44:27 +00:00
Ragnvald Maartmann-Moe IV
0d28f4d63a More whitespace. 2002-10-10 19:32:19 +00:00
Ragnvald Maartmann-Moe IV
9648fbf181 Whitespace. 2002-10-10 19:24:36 +00:00
Bill Currie
5f8118ce1f bah 2002-10-10 03:35:45 +00:00
Bill Currie
5e13394afc rewrite the user matching to assume a clean number refers to uid rathern
than an leet matched name (Closes: #56)
2002-10-10 02:17:11 +00:00
Bill Currie
8591a4cddb print the current map time with the map name for "map" 2002-10-09 22:41:07 +00:00
Bill Currie
f95510bd46 make vector.x work for structure fields (which actually makes vectors more
useful in structures:)
2002-10-09 20:35:25 +00:00
Bill Currie
df1fdca828 add some notes about the threading of qfvis 2002-10-09 19:33:47 +00:00
Bill Currie
7e4e1a1f96 partial support for accessing vector components as .x .y and .z rather than
_x _y and _z
2002-10-09 19:30:43 +00:00
Bill Currie
22d3cf9664 rename the def_void and dev_function defs 2002-10-09 19:17:45 +00:00
Bill Currie
823822301f support emitting bind sub-expressions 2002-10-09 19:16:55 +00:00
Bill Currie
a20bb946f6 type.[ch]:
provide a vector structure def so vector.[xyz] can be implemented
def.c:
	record the return address in get_temp to aid debugging
2002-10-08 22:35:37 +00:00
Jeff Teunissen
575689296a Tidy up progs dump output, and do some whitespace. 2002-10-08 19:46:42 +00:00
Bill Currie
bca275944c record the type of the result of a bind expr 2002-10-08 18:20:09 +00:00
Bill Currie
f992090b18 don't do extra manipulations for unnamed defs 2002-10-08 18:03:23 +00:00
Bill Currie
fa31594227 ditto :) 2002-10-08 04:09:44 +00:00
Bill Currie
95d504fade make sv_maxrate changes effective immediately 2002-10-08 04:08:07 +00:00
Bill Currie
80d2f8e27d make it so the demo recorder and normal protocol use common code to
calculate the client stats
2002-10-07 22:15:19 +00:00
Bill Currie
cb368e0b3a support writing the extended stats to mvds 2002-10-07 18:58:54 +00:00
Bill Currie
fb8a5afda5 fix a bunch more potential message writes while playing demos 2002-10-07 03:58:08 +00:00
Brian Koropoff
9c4f2d32ca Add print and print.center GIB commands and fix a nasty bug with threads
that could cause a double free.
2002-10-06 04:40: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
afad07b8e7 never print the rcon password given as it may be a legitimate password for
another server (ie, confused person :)
2002-10-06 03:54:54 +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
6917d2c1a3 fix a silly pointed out by sixk@ifrance.com 2002-10-05 02:21:44 +00:00
Bill Currie
f78d6cbf83 update 2002-10-04 15:01:46 +00:00
Bill Currie
8e3335b851 uptodateitude 2002-10-04 14:49:15 +00:00
Bill Currie
6e015bba1a d'oh, forgot to fix the FIXME :) fixes the seg on demo record start when
more than 1 player is invovled
2002-10-04 03:36:51 +00:00
Bill Currie
e698af0208 cut some spam 2002-10-04 03:02:38 +00:00
Bill Currie
212e40b54a mvd recording :) (thanks to qwex 0.165b and highlander) 2002-10-04 02:29:03 +00:00
Bill Currie
30c8646e70 bring in sv_demo.c from qwex. This is only the beginning of the mvd server
side support.
2002-10-03 21:00:35 +00:00