Commit Graph

101 Commits

Author SHA1 Message Date
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 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 99d8ea22b4 fix uninitialized data
In the process of testing the changes to WriteBSPFile, it was found that
the data being supplied to it contained uninitialized values.
2010-10-13 20:52:05 +09:00
Bill Currie a51e888a1b Nuke MAX_OSPATH and clean up the mess. 2010-08-25 13:31:08 +09:00
Bill Currie 669771681a split up and modernize configure.ac
Most of the guts of configure.ac have been moved to config.d and are then
brought in by m4_include. This will make maintaining configure.ac much easier.

Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and
on occasion, PACKAGE_STRING instead, and clean out some old files we no longer
need.
2010-08-19 15:01:43 +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 7ef81cae31 and the rest of the changes before actually working on the new parser 2010-08-05 03:39:26 +00:00
Bill Currie 9a4258b5c5 rename "map" to "map_script" in anticipation of a better map parser 2010-08-05 03:30:13 +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 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