Bill Currie
ec42bde527
Make hash tables more const correct.
...
And clean up the resulting mess :/
2012-10-27 11:44:31 +09:00
Bill Currie
50b22ab163
Fix a rather silly snafu with smart-leak.
...
I blame this fever :P
Now smart-leak actually makes sense.
2012-09-18 07:48:39 +09:00
Bill Currie
156f3382a5
Emit the points in the expected order.
...
Associating p1 with n2 and p2 with n1 was a bit confusing. Makes for a
more-sensible points output file, too.
2012-09-16 13:51:42 +09:00
Bill Currie
d6476d4f93
Make some improvements to the leak files.
...
smart leak files now produce many points, not just one per portal. Normal
leak files now center the trail on the portal (instead of some weird
weighted average).
2012-09-16 12:38:55 +09:00
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
db25d5597d
Handle quest format brushes.
...
Bah, I forgot I needed to fix the vertex count parsing when I did the
script lexing change.
2012-09-12 08:24:17 +09:00
Bill Currie
ea541b325d
Set the map parser scripts to not lex single chars.
...
qbsp treats {foo as one token, not two.
2012-09-09 17:23:55 +09:00
Bill Currie
a37c5465e1
First step for BSP2 support. DOES NOT WORK!
...
All of the nastiness is hidden in bspfile.c (including the old bsp29
specific data types). However, the conversions between bsp29 and bsp2 are
implemented but not yet hooked up properly. This commit just gets the data
structures in place and the obvious changes necessary to the rest of the
engine to get it to compile, plus a few obvious "make it work" changes.
2012-09-07 16:09:24 +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
eefa89e72e
Remove the AM_CONDITIONALs from tools.
...
Now that the tools directories aren't entered when those tools aren't being
built, there's no reason to use AM_CONDITIONAL in there.
2012-02-10 02:50:42 +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
505660dffe
Nuke another buffer.
...
Though snprintf was used, not having a buffer just makes things cleaner.
2011-09-07 09:41:06 +09:00
Bill Currie
f75b0a611b
Some compile fixes for OpenBSD
2011-08-25 22:35:20 +09:00
Bill Currie
0f7390dd60
Clean up all the "set but not used" warnings.
...
gcc on my system is failing to treat this specific warning as an error :/
2011-06-19 10:48:02 +09:00
Bill Currie
d638fdce83
Add a PlaneFlip macro.
2011-05-07 19:29:03 +09:00
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
ac88c86dd3
Scripts now treat {}()': as single character tokens.
2010-11-28 15:31:30 +09:00
Bill Currie
0c4b2f9e19
Add the default extension when no output file is specified.
2010-10-16 22:09:18 +09:00
Bill Currie
98fa427456
Add the extract-hull option to the usage output.
2010-10-16 16:16:58 +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
f4bff1d3b0
Make some code more readable.
2010-10-13 20:52:08 +09:00
Bill Currie
16e067c8cb
More portal documentation.
2010-10-13 20:52:08 +09:00
Bill Currie
538956c389
Make parts of CutNodePortals_r() easier to read.
2010-10-13 20:52:08 +09:00
Bill Currie
08c6a185ad
Documentation for writebsp.
2010-10-13 20:52:08 +09:00
Bill Currie
d90a630b04
Call AddAnimatingTextures only once rather than for every wad file.
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
bfc6c9e798
Document the smart-leak function.
2010-10-13 20:52:07 +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
ad8b08238d
Make some vector code easier to read.
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
f758cacc69
Make FindEdge easier to read.
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
4b1b838f87
More braces and whitespace.
2010-10-13 20:52:07 +09:00
Bill Currie
313677ee96
Add some braces and a bit of whitespace
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