Commit graph

54 commits

Author SHA1 Message Date
Bill Currie
bcda96a445 Report the source line of the entity in messages.
For now, just when PrintEntity is used to print the message, but having the
first line of the entity sure makes life easier.
2012-09-12 08:33:44 +09:00
Bill Currie
bc1b483525 Nuke the rcsid stuff.
It's pretty useless in git.
2012-04-22 10:56:32 +09:00
Bill Currie
853bf13d9e Move the winding code into libQFmodels. 2011-11-28 20:54:35 +09:00
Bill Currie
91e65b6c80 Rename mplane_t to plane_t and clean up the mess.
I got rather tired of there being multiple definitions of mostly compatible
plane types (and I need a common type anyway). dplane_t still exists for
now because I want to be careful when messing with the actual bsp format.
2011-11-28 20:54:34 +09:00
Bill Currie
2457837b37 Make some improvements to the winding docs. 2011-11-12 12:17:45 +09:00
Bill Currie
d470094a55 Flip the nodes when flipping the plane. 2010-12-10 18:13:48 +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
16e067c8cb More portal documentation. 2010-10-13 20:52:08 +09:00
Bill Currie
08c6a185ad Documentation for writebsp. 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
93517d40d8 Finish the port of smart leak files.
This comes from the OpenQuartz version of qbsp.
2010-10-13 20:52:07 +09:00
Bill Currie
44776f111f Documentation for winding. 2010-10-13 20:52:07 +09:00
Bill Currie
a8bd522ca1 Documentation for tjunc. 2010-10-13 20:52:07 +09:00
Bill Currie
fc0e0f4665 Documentation for surfaces. 2010-10-13 20:52:07 +09:00
Bill Currie
f3e7a7ca89 Documentation for solidbsp. 2010-10-13 20:52:07 +09:00
Bill Currie
69189600a4 Some docs for bsp5.h 2010-10-13 20:52:07 +09:00
Bill Currie
68dda63de5 Documentation for region. 2010-10-13 20:52:07 +09:00
Bill Currie
00b635236d Document the readbsp code. 2010-10-13 20:52:07 +09:00
Bill Currie
34d60539de Document the portals code. 2010-10-13 20:52:06 +09:00
Bill Currie
cc098fa720 Documentation for outside. 2010-10-13 20:52:06 +09:00
Bill Currie
a92bd6dec1 Document the merge code 2010-10-13 20:52:06 +09:00
Bill Currie
6ce7c5040b Make NewFaceFromFace const-correct 2010-10-13 20:52:06 +09:00
Bill Currie
6c89883c8f Lots of csg4 documentation 2010-10-13 20:52:06 +09:00
Bill Currie
a5c96cb825 More documentation and move some functions. 2010-10-13 20:52:06 +09:00
Bill Currie
2e6eb419ca Some documentation for the map parser. 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
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
0dfff8fd58 ignore stuff 2010-08-07 10:42:09 +00:00
Bill Currie
997102fea8 audit the usage of "only"
There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
2010-01-13 06:42:26 +00:00
Bill Currie
e2355aa357 add --extract-hull which produces C structures for the clipping hull (currently only hull 0) 2009-03-18 03:28:34 +00:00
Bill Currie
7c4a0725e1 clean out unused functions 2007-10-08 09:50:02 +00:00
Bill Currie
3f6b2fd87b has some issues, but support writting to stdout 2004-05-01 03:39:33 +00:00
Bill Currie
a12074c1a6 can now extract entities from foo.bsp to foo.ent 2004-04-30 21:51:00 +00:00
Bill Currie
31d970aca0 can now dump a map's textures to a wad file (name currently based on bsp
file name (eg, foo.bsp -> foo.wad)
2004-01-15 07:16:44 +00:00
Bill Currie
c31c97a6d9 minor cleanup: LoadBSP really shouldn't be doing the bsp2prt stuff :) 2004-01-13 03:02:25 +00:00
Bill Currie
440e03374e first stab at getting bsp to portal working. produces a portal file that
looks ok at first glance but the numbers are a tad bogus. More loading
errors, I guess.
2004-01-11 08:48:58 +00:00
Bill Currie
50d83a7c56 same with MAX_POINTS_ON_WINDING 2003-09-08 03:25:01 +00:00
Bill Currie
ca91f7b727 MAXEDGES? What MAXEDGES? :) 2003-09-08 03:00:53 +00:00
Bill Currie
194ea081eb hopefully add watervis support 2003-09-03 23:04:30 +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
7073afc0a4 port in OQ's detail, hint and skip brush/texture enhancements 2003-02-04 23:26:26 +00:00
Bill Currie
26c06c09a2 s/__attribute/__attribute__/ 2003-01-27 23:14:07 +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
4bf8ac58f1 whitespace cleanup and add rcsid tags 2002-09-23 16:27:17 +00:00
Bill Currie
4d9fb73b29 use getopt and add wad search paths 2002-09-20 21:48:34 +00:00