Bill Currie
674ffa0941
[util] Make bsp_t counts size_t
...
and other bsp data counts unsigned, and clean up the resulting mess.
2021-08-01 21:54:05 +09:00
Bill Currie
9e633e7230
[qflight] Remove minlights
...
It seems to be have been DOA (even in the original qutils light).
2021-03-21 10:11:53 +09:00
Bill Currie
7970525ef4
[util] Make va thread-safe
...
It now takes a context pointer (opaque data) that holds the buffers it
uses for the temporary strings. If the context pointer is null, a static
context is used (making those uses of va NOT thread-safe). Most calls to
va use the static context, but all such calls have been formatted
consistently so they are easy to find when it comes time to do a full
audit.
2021-01-31 16:05:48 +09:00
Bill Currie
6d5ffa9f8e
[build] Move to non-recursive make
...
There's still some cleanup to do, but everything seems to be working
nicely: `make -j` works, `make distcheck` passes. There is probably
plenty of bitrot in the package directories (RPM, debian), though.
The vc project files have been removed since those versions are way out
of date and quakeforge is pretty much dependent on gcc now anyway.
Most of the old Makefile.am files are now Makemodule.am. This should
allow for new Makefile.am files that allow local building (to be added
on an as-needed bases). The current remaining Makefile.am files are for
standalone sub-projects.a
The installable bins are currently built in the top-level build
directory. This may change if the clutter gets to be too much.
While this does make a noticeable difference in build times, the main
reason for the switch was to take care of the growing dependency issues:
now it's possible to build tools for code generation (eg, using qfcc and
ruamoko programs for code-gen).
2020-06-25 11:35:37 +09:00
Bill Currie
d2909cd4dd
Clear the padding in the light data buffers.
...
Getting uninitialized memory in calloced space was interesting :P
2013-03-07 09:11:23 +09:00
Bill Currie
5fc8d1eb26
Split out the surface offset code.
...
This tidies up LightWorld a little.
2013-03-07 09:11:22 +09:00
Bill Currie
b025e7ba9a
Make sure all source files in qflight have (C) headers.
2013-03-07 09:11:22 +09:00
Bill Currie
23a38738fc
Massive whitespace cleanup.
...
Lots of trailing whitespace and otherwise blank lines.
2012-05-22 08:23:22 +09:00
Bill Currie
bc1b483525
Nuke the rcsid stuff.
...
It's pretty useless in git.
2012-04-22 10:56:32 +09:00
Bill Currie
de04e1b602
Lots of win32 (mingw cross) build fixes.
...
HTTP (curl) support is missing, but everything else builds.
2010-12-23 11:40:16 +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
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
9abe3b29e0
start of my properties work. doesn't seem to have broken anything :)
2004-01-27 08:31:34 +00:00
Bill Currie
ccea0d5d5d
seems printf isn't threadsafe
2003-09-12 20:40:14 +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
6eef62cff8
LordHavoc's colored lighting support (not his relight stuff (yet?) though)
2003-09-10 15:48:46 +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
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
e81a0e2095
qfvis and qflight are still copyright Id
2002-09-25 01:51:58 +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
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Bill Currie
df96985118
whitespace
2002-08-26 15:12:05 +00:00
Ragnvald Maartmann-Moe IV
a3af2d9fa9
Add Hideo's WIP qflight & qfvis.
2002-08-25 23:06:23 +00:00