Bill Currie
0bb562f93f
Fix a bunch of float vs int bugs
...
Just those made me glad I tried compiling with clang: running into those
bugs would have lead to some serious headaches, I imagine.
2022-03-31 00:28:26 +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
f8961e4376
[qflight] Fix some typos in comments
2021-02-25 10:12:19 +09:00
Bill Currie
ab04a1915e
[build] Fix a pile of gcc 10 issues
...
gcc got stricter about array accesses, complicating progs macros, and
much better at detecting buffer overflows.
2020-12-21 14:14:29 +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
9248e8cf01
Update for doxygen 1.8.16
2020-02-11 15:22:42 +09:00
Bill Currie
34bcf7faab
Do a pure/const/noreturn/format attribute pass.
...
I always wanted these, but as gcc now provides warnings for functions that
could do with such attributes, finding all the functions is much easier.
2018-10-09 12:42:21 +09:00
Bill Currie
4d4bcaf3a3
Make the Test functions const-correct.
2013-03-07 09:11:23 +09:00
Bill Currie
0e82b37001
Parse the sun information from the worldspawn entity.
2013-03-07 09:11:23 +09:00
Bill Currie
f1a18742f1
Cache the worldspawn entity.
...
It is an error (for now) if there is not exactly one worldspawn entity.
2013-03-07 09:11:23 +09:00
Bill Currie
4f0a1df3c1
Implement sky tracing.
...
Again, this is from Jardrup's light tool. Sun data is not yet parsed, nor
are any sun lighting calculations done.
2013-03-07 09:11:23 +09:00
Bill Currie
7cd1894a6d
Add the solid-sky option from Jardrup's light tool.
...
However, actual sky tracing is not yet implemented.
2013-03-07 09:11:23 +09:00
Bill Currie
48809404b1
Use qfplist for light entities.
...
This removes a lot of redundant code from qflight (though it does become
dependent of libQFgamecode *shrug*). The nice thing is qflight now uses the
exact same code to load entities as does the server.
2013-03-07 09:11:22 +09:00
Bill Currie
9e6477fdf0
Remove the leading _ from entity fields for properties.
...
Dealing with the _ in the properties code is a bit messy, and having to use
it in the properties list file is a pain.
2013-03-07 09:11:22 +09:00
Bill Currie
5fbe50a5e2
Remove some dead code.
2013-03-07 09:11:22 +09:00
Bill Currie
b01986c3c5
Correct some white space.
2013-03-07 09:11:22 +09:00
Bill Currie
c9b1c445a8
Move the properties docs into properties.h
2013-03-07 09:11:22 +09:00
Bill Currie
5720392f37
Begin documenting qflight.
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
a2f2d4d949
"Check" for the availability of pthreads.
...
Unfortunately, just because the header is there doesn't mean anything will
actually work :(. Also, the check is based on the host vendor/os for now.
Yes, it's rather lame but it will do for now.
With this, QF will build on an almost fresh ps3toolchain install. Only two
"fixes" are needed:
o In $PS3DEV/ppu/powerpc64-ps3-elf: ln -s ../include sys-include
o libsamplerate cross-built and installed.
2012-08-19 13:40:42 +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
a51e888a1b
Nuke MAX_OSPATH and clean up the mess.
2010-08-25 13:31:08 +09:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
acc5e87619
missed this one
2007-04-04 11:40:00 +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
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
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
cabe8d6c02
remove some arbitrary limits and add some of the fields from hlight
2003-09-08 03:39:44 +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
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
Ragnvald Maartmann-Moe IV
fed01ddd3e
.gitignores for qf map tools
2002-08-25 23:16:48 +00:00
Ragnvald Maartmann-Moe IV
a3af2d9fa9
Add Hideo's WIP qflight & qfvis.
2002-08-25 23:06:23 +00:00