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
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
a2cf42c8fd
smarter gzipping thanks to alphageek (whew, slipped in at last moment:)
2002-10-01 02:37:53 +00:00
Jeff Teunissen
86d0093237
Add a paragraph to the Rua doc's introduction.
2002-09-30 16:45:51 +00:00
Bill Currie
9d8d570269
using Qseek on a pak sub-file should work better. this should make oggs in
...
paks work.
2002-09-27 04:27:19 +00:00
Bill Currie
2a56b8f15f
go back to the `long way' for the cross product as qfvis was no longer
...
getting the same results as vis (that may be acceptable, but not yet:)
2002-09-26 03:58:22 +00:00
Bill Currie
d25ee82838
provide a tighter accuracy (but slower) _VectorNormalize for the tools
2002-09-25 21:35:49 +00:00
Bill Currie
43d8cf9640
fix program name printing
2002-09-25 17:48:43 +00:00
Bill Currie
e81a0e2095
qfvis and qflight are still copyright Id
2002-09-25 01:51:58 +00:00
Bill Currie
324172414a
use the vector math macros from mathlib.h to make the math in
...
ClipToSeparators clearer and comment on how --level effects the vis
calculations
2002-09-24 21:48:47 +00:00
Bill Currie
554347b97c
forgot qflight was threaded too
2002-09-24 04:50:28 +00:00
Bill Currie
6cdf8e083e
qfbsp shouldn't be linking with -pthread
2002-09-24 03:01:23 +00:00
Bill Currie
5904859cca
split the base vis functions out of flow.c, add -D_REENTRANT to the compile
...
for qfvis and a bunch of whitespace
2002-09-24 02:46:03 +00:00
Bill Currie
ded572b31f
various var cleanups
2002-09-23 22:54:28 +00:00
Bill Currie
4bf8ac58f1
whitespace cleanup and add rcsid tags
2002-09-23 16:27:17 +00:00
Bill Currie
ee61eaebbb
don't do threading if only 1 thread is used and add another state to
...
vstatus_t for better portal state checking
2002-09-22 21:54:41 +00:00
Bill Currie
528eec1e12
go back to bailing out on errors
2002-09-22 21:32:36 +00:00
Bill Currie
a751e39674
re-enable the break to speed up vis
2002-09-22 04:17:30 +00:00
Bill Currie
c57b395a0f
correct a spelling error and make a comment a little clearer
2002-09-22 03:48:16 +00:00
Bill Currie
b6edd778e7
more malloc/memset to calloc
2002-09-21 22:15:57 +00:00
Bill Currie
90b4f5c0ee
correct the spelling of FindPassages
2002-09-21 21:42:30 +00:00
Bill Currie
fca84341de
more grey space and replace malloc/memset 0 with calloc
2002-09-21 21:35:04 +00:00
Bill Currie
7d7e578b71
white and grey space cleanup
2002-09-21 21:27:38 +00:00
Bill Currie
c1c36f79f5
remove a dead var from flow.c and make the mutex use defaults (not sure if
...
the thing even works:( )
2002-09-21 21:17:32 +00:00
Bill Currie
35a14572be
report on the non-reliability of c_chains when threads are used
2002-09-21 03:51:50 +00:00
Bill Currie
dd5cac488c
fix a few memory access bugs
2002-09-20 22:44:29 +00:00
Bill Currie
00294f7ae0
hopefully make everything happy with the new bsp struct
2002-09-20 22:31:44 +00:00
Bill Currie
c1c68830c5
get qflight (maybe:) working with threads
2002-09-20 21:58:40 +00:00
Bill Currie
4d9fb73b29
use getopt and add wad search paths
2002-09-20 21:48:34 +00:00
Bill Currie
8fba02bf2f
zap some debug :/
2002-09-20 19:30:56 +00:00
Bill Currie
544d4d6ff8
fix the missing LOCK and UNLOCK defs (found by accident:) and use a dstring
...
for building the compressed vis data
2002-09-20 19:03:06 +00:00
Bill Currie
b59a945566
write the texdata correctly and actually write the leaf info
2002-09-20 18:17:36 +00:00
Bill Currie
56843557f6
make _VectorCompare use EQUAL_EPSILON (VectorCompare is still the fast
...
macro) and use it instead of VectorCompare in the map tools. This (and, it
seems, RINT) fixes qfbsp on spc. Also, jump /all/ entities that get hit
by the filler in qfbsp
2002-09-20 17:02:53 +00:00
Bill Currie
fa63d28acf
correctly report the location of the hit entity
2002-09-19 22:48:30 +00:00
Bill Currie
8aa08dec28
multiple wad files seem to work now
2002-09-19 20:58:29 +00:00
Bill Currie
0cd34d155f
qfbsp now mostly works. only known issue is multiple texture wads don't
...
load properly and possibly a "reached occupant" issue (dunno if it's the
map or qfbsp)
2002-09-19 20:39:33 +00:00
Ragnvald Maartmann-Moe IV
54fa6ebae2
Fix lack of compat.h/string.h includes.
2002-09-19 19:12:16 +00:00
Ragnvald Maartmann-Moe IV
8ae5a8ed2e
Gobs of whitespace.
2002-09-19 18:51:19 +00:00
Bill Currie
4d520d588d
enough whitespace to crush a shambler
2002-09-19 17:14:23 +00:00
Bill Currie
afa0b21336
Whee, now we have qfbsp. It compiles, but won't work as it hasn't been
...
`ported' to the new bspfile stuff when it comes to creating/editing a bsp.
2002-09-19 16:58:48 +00:00
Bill Currie
d8a38ae648
don't fuss with function defs that aren't initialized
2002-09-19 06:01:06 +00:00
Bill Currie
24a9b48127
rewrite bspfile.[ch] so they work off an object rather than global data.
...
The direct filesystem access is also removed. Fix up qfvis and qflight to
compile with the new bspfile. qfvis seems to work, qflight probably doesn't
2002-09-19 05:35:17 +00:00
Ragnvald Maartmann-Moe IV
e5582a9f2d
typo fix
2002-09-19 02:45:57 +00:00
Ragnvald Maartmann-Moe IV
6376ebb253
Whitespace.
2002-09-19 02:37:52 +00:00