Bill Currie
49ea878ad9
Slightly more informative progress.
...
Display per-thread current portal number. Will get messy if there are more threads than the screen width can handle.
2010-11-21 09:56:31 +09:00
Bill Currie
142defe9c0
Parameter consistency fixes.
...
Make the params for FreeWinding and CopyWinding consistent with those in
qfbsp. This fixes some doxygen warnings while I think about how best to
handle the duplicate code.
2010-10-13 20:52:07 +09:00
Bill Currie
f4042c5b91
Make the bsp disk data structures type size independent.
...
However, this assumes float is always 32 bits.
Also use size_t for the *size fields in bsp_t and clean up the mess.
2010-10-13 20:52:05 +09:00
Bill Currie
a51e888a1b
Nuke MAX_OSPATH and clean up the mess.
2010-08-25 13:31:08 +09:00
Bill Currie
ff132bb536
64bit windows patch from phrosty
2007-04-04 07:48:14 +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
501180aaac
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
2005-06-08 06:35:48 +00:00
Bill Currie
38c5b92086
fix a really stupid error (missing {}s) that caused vis data to basicly get
...
lost when reading the new portal file format
2004-03-19 02:20:47 +00:00
Bill Currie
9e6be1e029
hopefully handle \r\n endings
2004-03-19 00:41:14 +00:00
Ragnvald Maartmann-Moe IV
527342d80d
Whitespace, codingstyle, pouncing shalraths.
2004-02-08 02:53:58 +00:00
Bill Currie
371a0b8e75
support old-style portal files again
2004-02-02 05:44:46 +00:00
Bill Currie
0db01f41fb
progress "meter"
2003-09-12 23:13:11 +00:00
Bill Currie
0a8867fde9
replace all VectorSubtract (vec3_origin, ... and
...
VectorCopy (vec3_origin, ... with VectorNegate (... and VectorZero (...,
respectively. Should be a small speedup.
2003-09-03 22:17:04 +00:00
Bill Currie
abe657ea12
handle file openning issues a little more gracefully
2003-05-21 15:00:23 +00:00
Bill Currie
eb099ae0d3
make qf gcc 3.3 clean
2003-04-17 00:01:48 +00:00
Bill Currie
3a85d98f83
fix an out-by-one error
2003-03-17 00:52:16 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
7073afc0a4
port in OQ's detail, hint and skip brush/texture enhancements
2003-02-04 23:26:26 +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
498bdcc406
compile fixes for alpha linux
2002-11-10 02:50:42 +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
e81a0e2095
qfvis and qflight are still copyright Id
2002-09-25 01:51:58 +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
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
c57b395a0f
correct a spelling error and make a comment a little clearer
2002-09-22 03:48:16 +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
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
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
Bill Currie
ab421330a9
forgot to update a pointer
2002-09-18 21:35:00 +00:00
Bill Currie
b94fc0bf55
avoid a buffer overflow when the new visdata is bigger than the old
2002-09-18 21:14:24 +00:00
Bill Currie
599fea0edb
redo bspfile to use dynamic allocation for the arrays to avoid buffer
...
overflows. also fix up the verbosity levels in qfvis.c
2002-09-18 06:07:38 +00:00
Bill Currie
cd05f96ac6
forgot to uncomment the code that initialized uncompressed when I got
...
portal loading working
2002-09-12 19:33:17 +00:00
Bill Currie
774b0adc2b
get qfvis working, including pthreads
2002-09-12 06:48:05 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Bill Currie
5108c3c976
more (believable:) whitespace
2002-08-26 15:05:23 +00:00
Bill Currie
84f04f158e
whitespace like you wouldn't believe. s/^M/^J/g
2002-08-26 14:57:42 +00:00
Ragnvald Maartmann-Moe IV
a3af2d9fa9
Add Hideo's WIP qflight & qfvis.
2002-08-25 23:06:23 +00:00