Bill Currie
824e33c82b
Fix a sizeof braino.
...
Somebody (probably me) got a little over-happy with sizeof.
2010-11-14 19:22:47 +09:00
Bill Currie
f63e505c92
Don't realloc the string pointer table.
...
This causes a bit of memory waste, but avoids breaking the pointers in the
string hash table.
2010-11-14 19:21:16 +09:00
Bill Currie
e6b783a616
Don't touch the watchpoint conditional when printing.
2010-11-13 14:36:33 +09:00
Bill Currie
2ef291bf46
Make mdl.py work on 64 bit machines.
2010-10-18 17:53:04 +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
ff49239500
Fix shared config files.
...
We've allowed a single level of parent directy access in quake path names
for a long time, but this got broken by qfs_expand_path. Thus, make
qfs_expand_path allow a certain number of parent directory levels (usually
0 or 1).
2010-10-16 14:17: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
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
ab70ec2a8f
Sort the group names.
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
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
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
Bill Currie
17e5813a51
Make a block of code a little easier to read.
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
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
9a30968c87
type size correctness
2010-10-13 20:52:06 +09:00
Bill Currie
cd159e1cc1
Use LoadBSPMem to load brush models.
...
Now that Mod_LoadBrushModel uses bspfile.[ch], the engine uses the same
code as the tools to work with bsp files.
2010-10-13 20:52:05 +09:00
Bill Currie
7fca21837a
fix some errors found by valgrind
2010-10-13 20:52:05 +09:00
Bill Currie
db898655d1
make LoadBSPFile own the memory for the bsp data
2010-10-13 20:52:05 +09:00
Bill Currie
719ca15516
make LoadBSPMem work in-place
...
LoadBSPMem now modifies the passed in buffer rathern than allocating new
memory. One step closer to cleaning up brush model loading.
2010-10-13 20:52:05 +09:00
Bill Currie
56fb4d9a22
allow safe bsp freeing
...
any memory the bsp thinks it does not own will not be freed
2010-10-13 20:52:05 +09:00
Bill Currie
cec8e09f07
white space cleanup
2010-10-13 20:52:05 +09:00