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
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
Bill Currie
fa31cb73b5
don't seg if files can't be opened
2003-08-11 17:11:44 +00:00
Bill Currie
6a94607d9d
rename VectorMA to VectorMultAdd, add VectorMultSub and use it in a few
...
places. Not certain how much speed difference it makes :/
2003-08-08 15:25:53 +00:00
Bill Currie
dddf045221
put "FIXME: overflow" on all the char arrays I could find that weren't
...
obviously safe
2003-07-08 20:11:10 +00:00
Bill Currie
9cab099383
more inline stuff
2003-05-07 07:18:36 +00:00
Bill Currie
3c58b712d9
don't subdivide hint or skip brushes
2003-04-04 21:48:47 +00:00
Bill Currie
81cf1cc99d
don't seg on hint and skip brushs. hint and clip brushes are now known to
...
work (what is a skip brush?)
2003-03-25 16:34:07 +00:00
Bill Currie
27a02de1cc
fix a double fclose
2003-03-17 04:36:06 +00:00
Bill Currie
6a687f5e45
rename all the globals in quakefs.[ch] to be QFS_* or qfs_*
2003-02-14 19:46:07 +00:00
Bill Currie
c46b58f4b5
fix an oopsie
2003-02-05 05:16:51 +00:00
Bill Currie
c5f7138db8
emit clipnodes in the correct order
2003-02-05 05:06:14 +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
2dd8a6c39d
grok quest's "map2" format (as well as the original)
2003-02-04 18:19:57 +00:00
Bill Currie
ab2aa3ae92
start merging in "map2" (quest) support
2003-02-03 22:42:13 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
a4dfef63c3
make all files with rcsid include config.h
2003-01-14 20:18:29 +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
498bdcc406
compile fixes for alpha linux
2002-11-10 02:50:42 +00:00
Bill Currie
f94eeb55a2
fix some alpha warnings
2002-11-08 17:36:47 +00:00
Bill Currie
d25ee82838
provide a tighter accuracy (but slower) _VectorNormalize for the tools
2002-09-25 21:35:49 +00:00
Bill Currie
43d8cf9640
fix program name printing
2002-09-25 17:48:43 +00:00
Bill Currie
6cdf8e083e
qfbsp shouldn't be linking with -pthread
2002-09-24 03:01:23 +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
Bill Currie
8fba02bf2f
zap some debug :/
2002-09-20 19:30:56 +00:00
Bill Currie
b59a945566
write the texdata correctly and actually write the leaf info
2002-09-20 18:17:36 +00:00
Bill Currie
56843557f6
make _VectorCompare use EQUAL_EPSILON (VectorCompare is still the fast
...
macro) and use it instead of VectorCompare in the map tools. This (and, it
seems, RINT) fixes qfbsp on spc. Also, jump /all/ entities that get hit
by the filler in qfbsp
2002-09-20 17:02:53 +00:00
Bill Currie
fa63d28acf
correctly report the location of the hit entity
2002-09-19 22:48:30 +00:00
Bill Currie
8aa08dec28
multiple wad files seem to work now
2002-09-19 20:58:29 +00:00
Bill Currie
0cd34d155f
qfbsp now mostly works. only known issue is multiple texture wads don't
...
load properly and possibly a "reached occupant" issue (dunno if it's the
map or qfbsp)
2002-09-19 20:39:33 +00:00
Ragnvald Maartmann-Moe IV
54fa6ebae2
Fix lack of compat.h/string.h includes.
2002-09-19 19:12:16 +00:00
Ragnvald Maartmann-Moe IV
8ae5a8ed2e
Gobs of whitespace.
2002-09-19 18:51:19 +00:00
Bill Currie
4d520d588d
enough whitespace to crush a shambler
2002-09-19 17:14:23 +00:00
Bill Currie
afa0b21336
Whee, now we have qfbsp. It compiles, but won't work as it hasn't been
...
`ported' to the new bspfile stuff when it comes to creating/editing a bsp.
2002-09-19 16:58:48 +00:00