Commit graph

31 commits

Author SHA1 Message Date
Bill Currie
d470094a55 Flip the nodes when flipping the plane. 2010-12-10 18:13:48 +09:00
Bill Currie
9ba70884c5 Prefer positive Z axis for 45 degree canonical planes. 2010-12-10 17:17:30 +09:00
Bill Currie
ba2a5838fd Normalize the clip plane before adding it to the bsp. 2010-12-10 17:17:30 +09:00
Bill Currie
a0828ddd06 Clean up bsp limits.
Delete all bogus bsp limits, fixing the code that depended on them.
Document those limits that are dictated by the format.
2010-12-07 17:58:09 +09:00
Bill Currie
985c27b52d Some more brush documentation. 2010-10-13 20:52:08 +09:00
Bill Currie
ef7958d680 Lots of const correctness. 2010-10-13 20:52:08 +09:00
Bill Currie
fcd1897421 Create the qfbsp doxygen modules.
Also, make doxygen extract static functions as well, so qfbsp's docs can be
more complete.
2010-10-13 20:52:08 +09:00
Bill Currie
a5c96cb825 More documentation and move some functions. 2010-10-13 20:52:06 +09:00
Bill Currie
5cf5c1e227 lots of whitespace 2010-10-13 20:52:06 +09:00
Bill Currie
5c0a55d818 Add some documentation for the brush code. 2010-10-13 20:52:06 +09:00
Bill Currie
9a4c9c506f Fix bbox calculation for rotating brush entities. 2010-10-13 20:52:06 +09:00
Bill Currie
b91568bbdd More non-canonical checks in PlaneTypeForNormal. 2010-10-13 20:52:06 +09:00
Bill Currie
c9eb679c41 Make PlaneTypeForNormal const-correct. 2010-10-13 20:52:06 +09:00
Bill Currie
a703956553 split up most of bsp5.h and get things compiling again 2010-08-18 17:52:13 +09:00
Bill Currie
538f0ee51f allow more hull points (don't remember why, now, but...) 2006-11-10 13:51:02 +00:00
Bill Currie
4f33663c8c brush.c:
quieten point off plane warning
qfbsp.c:
	allocate less memory for clipped winding
2003-09-17 21:03:52 +00:00
Bill Currie
83ba424ffc force axis aligned planes to truely be axis aligned (fixes degenerate
polygons being generated by ClipWinding) and use LordHavoc's point off
plane correction code
2003-09-17 20:26:57 +00:00
Bill Currie
ca91f7b727 MAXEDGES? What MAXEDGES? :) 2003-09-08 03:00:53 +00:00
Bill Currie
231a1bfb56 bring in many of LordHavoc's changes to qbsp: HalfLife WorldCraft texture
alighnment, partial "point of plane" autocorrection (currently disabled: I
want to make it optional), large map support (not sure where that's
hiding), hipnotic entity rotation
2003-09-03 22:00:08 +00:00
Bill Currie
4c52975584 make FindPlane much pickier about matching planes 2003-08-27 01:12:03 +00:00
Bill Currie
81cf1cc99d don't seg on hint and skip brushs. hint and clip brushes are now known to
work (what is a skip brush?)
2003-03-25 16:34: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
d25ee82838 provide a tighter accuracy (but slower) _VectorNormalize for the tools 2002-09-25 21:35:49 +00:00
Bill Currie
4bf8ac58f1 whitespace cleanup and add rcsid tags 2002-09-23 16:27:17 +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
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
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