Commit Graph

53 Commits

Author SHA1 Message Date
Bill Currie 3a6e5ea179 Fix a string comparision mistake.
This snuck in with the parser changes.
2010-11-28 15:31:36 +09:00
Bill Currie ac88c86dd3 Scripts now treat {}()': as single character tokens. 2010-11-28 15:31:30 +09:00
Bill Currie f4042c5b91 Make the bsp disk data structures type size independent.
However, this assumes float is always 32 bits.

Also use size_t for the *size fields in bsp_t and clean up the mess.
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 1442273a8f more opaque correctness 2010-08-20 12:58:37 +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 0dfff8fd58 ignore stuff 2010-08-07 10:42:09 +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 acc5e87619 missed this one 2007-04-04 11:40:00 +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 70ec9848e7 add PL_RemoveObjectForKey and make PL_D_AddObject take a normal C string for key instead of a pl string. 2006-12-09 06:00:36 +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 9d956b2979 more script usage
This is an imperfect revision of history.
2004-11-12 02:54:00 +00:00
Bill Currie 1e1734f6b4 remove some redundant code
This is an imperfect revision of history.
2004-11-02 05:17:00 +00:00
Bill Currie 1d40013e5e get the spotlight working 2004-03-25 05:41:33 +00:00
Bill Currie 9abe3b29e0 start of my properties work. doesn't seem to have broken anything :) 2004-01-27 08:31:34 +00:00
Bill Currie 2ea155dc53 make "havoc" map to the correct attenuation type 2004-01-27 08:12:59 +00:00
Ragnvald Maartmann-Moe IV 09bdd3487b Compile fixes, plus a couple of minor optimizations. 2004-01-26 20:07:04 +00:00
Bill Currie 5ee1b1d9ca bring in OpenQuartz's extentions (except -ikmap: got tired:)
go back to id's lighting model being default. LordHavoc's is selectable
via --attentuation havoc. Also selectable on a per-light basis.
2004-01-26 07:39:29 +00:00
Bill Currie ccea0d5d5d seems printf isn't threadsafe 2003-09-12 20:40:14 +00:00
Bill Currie c8d405dbcb oops, else in wrong spot 2003-09-12 18:35:10 +00:00
Bill Currie deb6b2e3a7 all numeric args now check the validity of their arg (that it's a number) 2003-09-12 16:43:44 +00:00
Bill Currie bf89a486a8 error checking 2003-09-11 18:52:37 +00:00
Bill Currie 84f58bdd5d allow reading of gzipped bsps 2003-09-11 18:21:26 +00:00
Bill Currie 0c1655ac00 some serious speedups. that memset was fiendishly expensive (oops:) and
redundant anyway (d'oh, paranoia bit me in the bum).
2003-09-10 21:09:23 +00:00
Bill Currie 6eef62cff8 LordHavoc's colored lighting support (not his relight stuff (yet?) though) 2003-09-10 15:48:46 +00:00
Bill Currie 9607b8f5f2 parse the vis data properly 2003-09-09 15:29:14 +00:00
Bill Currie 26f3839276 bring in lordhavoc's vis data optimisations (doesn't work properly yet) and
parsing of his extra fields.
2003-09-09 08:13:33 +00:00
Bill Currie cb5f57fb51 oops, forgot to edit the checks for specified fields 2003-09-08 03:46:56 +00:00
Bill Currie cabe8d6c02 remove some arbitrary limits and add some of the fields from hlight 2003-09-08 03:39:44 +00:00
Bill Currie 0a8867fde9 replace all VectorSubtract (vec3_origin, ... and
VectorCopy (vec3_origin, ... with VectorNegate (... and VectorZero (...,
respectively. Should be a small speedup.
2003-09-03 22:17:04 +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 6a687f5e45 rename all the globals in quakefs.[ch] to be QFS_* or qfs_* 2003-02-14 19:46:07 +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 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 d25ee82838 provide a tighter accuracy (but slower) _VectorNormalize for the tools 2002-09-25 21:35:49 +00:00
Bill Currie e81a0e2095 qfvis and qflight are still copyright Id 2002-09-25 01:51:58 +00:00
Bill Currie 554347b97c forgot qflight was threaded too 2002-09-24 04:50:28 +00:00
Bill Currie dd5cac488c fix a few memory access bugs 2002-09-20 22:44:29 +00:00
Bill Currie 00294f7ae0 hopefully make everything happy with the new bsp struct 2002-09-20 22:31:44 +00:00
Bill Currie c1c68830c5 get qflight (maybe:) working with threads 2002-09-20 21:58:40 +00:00
Bill Currie 24a9b48127 rewrite bspfile.[ch] so they work off an object rather than global data.
The direct filesystem access is also removed. Fix up qfvis and qflight to
compile with the new bspfile. qfvis seems to work, qflight probably doesn't
2002-09-19 05:35:17 +00:00
Ragnvald Maartmann-Moe IV 6376ebb253 Whitespace. 2002-09-19 02:37:52 +00:00
Bill Currie 91a6dd5272 bah, EXTRA_MANS doesn't work, even though automake doesn't complain :/ 2002-09-17 22:37:32 +00:00
Bill Currie 317c02539b macro-ize --with-{clients,servers} and implement --with-tools using the new
macro
2002-09-17 22:19:14 +00:00
Bill Currie ec47e08e1c go back to using QFile, quakeio.h and quakefs.h 2002-08-27 07:16:28 +00:00
Ragnvald Maartmann-Moe IV 9b9a68db9e Updated manpages. 2002-08-26 23:02:17 +00:00
Bill Currie 52f183a9a5 more getopt fixes. correct : and - for qflight and fix up the help screens 2002-08-26 16:24:46 +00:00