quakeforge/tools/qfvis/source
Bill Currie 32b6d15931 Use a sorted queue for portals.
qsort is used to sort the queue by nummightsee. At ~4ms for 20k portals, I
think it's affordable. Using a queue rather than scanning the portal list
each time loses the dynamic sorting when mightsee gets updated, but it
seemed to shave off 4s anyway (~207s to ~203s (maybe, yay random times)).

Another step towards threaded base-vis.
2013-03-18 21:14:12 +09:00
..
base-vis.c Make BasePortalVis another 17% faster. 2013-03-14 14:01:26 +09:00
flow.c Use a per-portal rwlock for portal updates. 2013-03-18 15:03:11 +09:00
Makefile.am Remove the AM_CONDITIONALs from tools. 2012-02-10 02:50:42 +09:00
notes add some notes about the threading of qfvis 2002-10-09 19:33:47 +00:00
options.c Set the default level to 4. 2013-03-09 15:01:54 +09:00
qfvis.c Use a sorted queue for portals. 2013-03-18 21:14:12 +09:00
soundphs.c First step for BSP2 support. DOES NOT WORK! 2012-09-07 16:09:24 +09:00