Commit Graph

84 Commits

Author SHA1 Message Date
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 fe95805d86 various gcc 4.3 fixes 2008-07-19 05:40:57 +00:00
Bill Currie 7c4a0725e1 clean out unused functions 2007-10-08 09:50:02 +00:00
Bill Currie 787a9bc182 forgot to increment the tail number (would have made a mess of maps with more than one duplicate of a texture name) 2007-05-09 10:08:35 +00:00
Bill Currie 6a019f1859 make sure all miptex entries have a unique name in the generated wad file so no textures get lost when extracting. 2007-05-07 02:06:03 +00:00
Bill Currie ff132bb536 64bit windows patch from phrosty 2007-04-04 07:48:14 +00:00
Bill Currie 81a57bb3fa patch from phrosty for vc2005 support. includes fixes for a bunch of gcc-isms that crept in over the years. 2007-03-22 23:20:57 +00:00
Bill Currie 99e05d2188 warning cleanup patch from raorn 2007-01-06 21:31:03 +00:00
Bill Currie 45d467d748 box tracing (instead of point). Currently disabled because it doesn't work right just yet. However, when it is working, it will let us do things like crouching, crawling, arbitrary sized objects (including players), etc. 2006-12-24 03:13:29 +00:00
Bill Currie 538f0ee51f allow more hull points (don't remember why, now, but...) 2006-11-10 13:51:02 +00:00
Bill Currie 87cc09233c "long" audit. can't use long when we want 32 bits. May be a few more cases. 2005-10-23 13:19:21 +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 9768568eeb get the number of points for the clipped winding correct
This is an imperfect revision of history.
2004-11-02 07:29:00 +00:00
Bill Currie 25484f415b move the script parser from qfbsp into libQFutil and correct a spelling error
This is an imperfect revision of history.
2004-11-02 05:05:00 +00:00
Bill Currie f10f59bb42 don't try to write non-existant textures 2004-05-11 07:26:33 +00:00
Bill Currie 3f6b2fd87b has some issues, but support writting to stdout 2004-05-01 03:39:33 +00:00
Bill Currie 42c88b23fc correct the help output 2004-04-30 21:52:17 +00:00
Bill Currie a12074c1a6 can now extract entities from foo.bsp to foo.ent 2004-04-30 21:51:00 +00:00
Ragnvald Maartmann-Moe IV e27db9f6b2 More compile fixes for current gcc. 2004-03-21 18:53:41 +00:00
Bill Currie 199455d38f fix a silly bug that caused all parsed keys to be "" 2004-03-17 20:22:19 +00:00
Bill Currie e021afd141 remove some more arbitrary limits: tokens and keys can now be any size 2004-02-21 01:34:59 +00:00
Bill Currie 3764497143 various impovements from Vic via hqbsp (lordhavoc) 2004-02-05 04:11:39 +00:00
Bill Currie 22fe9de3f9 terminate buf properly (\r\n -> \n translation can cause the bytes read to
be /much/ smaller than expected)
2004-02-05 00:13:42 +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 74d8c3e379 use the wadfile support in libQFutil instead of a local version 2004-01-13 06:47:08 +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 d0a95aba9d t-juctions don't affect portals so don't mess with the loaded faces 2004-01-12 02:09:42 +00:00
Bill Currie dd3f9b2265 qfbsp --portal foo.bsp now works :) produces identical results for simple
maps.
2004-01-12 01:52:08 +00:00
Bill Currie 33e80fb595 whitespace 2004-01-12 01:49:27 +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 03a24be4de partial work on wad file access cleanup in preparation of making a wad
utility
2004-01-09 23:34:32 +00:00
Bill Currie 9e861128ec world is supposed to be portalized using the "detail" portals 2003-09-17 22:46:37 +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 9297732f86 fix a typo pointed out by IrcMonkey 2003-09-11 18:11:20 +00:00
Bill Currie 94f00bbefe it seems wine doesn't like %i in *scanf 2003-09-08 21:57:34 +00:00
Bill Currie f93cc0d5d5 make the reached entity warning display even without verbose 2003-09-08 19:50:19 +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 1a250f0ef7 error checking in LoadLump and handle muptiple wad files better (ie,
properly:P)
2003-09-05 03:47:19 +00:00
Bill Currie 04a1ff51b1 D'OH!!! fixes totally borked vis data :) 2003-09-05 02:27:34 +00:00
Bill Currie 194ea081eb hopefully add watervis support 2003-09-03 23:04:30 +00:00
Bill Currie 4cb6c062ec use the right plane when calculating the texture normals 2003-09-03 22:54:14 +00:00
Bill Currie a30fbfc917 tighten up hl texture alignment parsing and don't print
"adding 0 texture frames".
2003-09-03 22:32:40 +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 996de18cc6 good line number reporting for errors and treat ^Z and ^D as whitespace 2003-09-03 18:27:27 +00:00
Bill Currie 36f8dbf75a fix a buffer overflow (ouch) 2003-09-02 20:20:54 +00:00
Bill Currie 4c52975584 make FindPlane much pickier about matching planes 2003-08-27 01:12:03 +00:00
Bill Currie 19cf019ed2 barf when given a bsp file instead of a map file (and don't zap the bsp file
in the process!!!)
2003-08-11 20:43:26 +00:00