Commit Graph

6486 Commits

Author SHA1 Message Date
Bill Currie 1dfb914c46 fix an oopsie (rebase!!) 2010-11-21 14:25:32 +09:00
Bill Currie 4cec187465 zixthree's wav file patch
Wav file were not read correctly when encoutering most chunk type beside the ones used by QuakeForge.

This patch will fix the riff loader code so that unused but defined chunk are skipped. Most wav files should now be loaded correctly fixing some silent sound effect.

Also fixed a typo in wav loader and reordered wav validity check so that format is checked first. The data chunk could be inexistant on some weird format and so an invalid format is a more helpful error text.

! Fix: Skip unsupported chunk in riff loader instead of rejecting riff file.
! Fix: typo in Microsoft name.
! Fix: ordering of wav validity to enable more helpful error text.
2010-11-21 14:18:15 +09:00
Bill Currie 99e87b092b zixthree's stereo swap patch.
Modified slightly for formatting and cleaner swapping.
2010-11-21 14:09:23 +09:00
Bill Currie 6771e7b8b5 sezero's win32 Sys_ConsoleInput patch. 2010-11-21 13:55:03 +09:00
Bill Currie 204c509a43 sezero's "Bad old_size value in Z_Realloc()" patch. 2010-11-21 10:06:56 +09:00
Bill Currie 9b5277fca9 Merge branch 'master' of git://git.quakeforge.net/gitroot/quake/quakeforge 2010-11-21 09:57:59 +09:00
Bill Currie 49ea878ad9 Slightly more informative progress.
Display per-thread current portal number. Will get messy if there are more threads than the screen width can handle.
2010-11-21 09:56:31 +09:00
Bill Currie 15b423cbe7 Track 0 is used to stop the BGM 2010-11-20 14:32:27 +09:00
Bill Currie 3309f483b6 Don't require pr_boundscheck for quoth.
I don't know about other FTEqcc compiled progs, but quoth doesn't try to do
anything clever (all its denormals are either vars of the wrong type, or
-0.0).
2010-11-20 14:12:40 +09:00
Bill Currie 9d6fd32206 Ensure the the progs data is aligned.
Some QuakeC compilers (eg, FTE) insert a data chunk between the progs
header and the rest of the progs data. Unfortunately, FTE does not maintain
the assumed 32-bit alignment.
2010-11-20 09:02:56 +09:00
Bill Currie 2f504709dd Print data being loaded from an entity. 2010-11-20 00:31:34 +09:00
Bill Currie 232d2f7e18 Fix an undefined operation thanks to spirit of the domain quaddicted.com. 2010-11-16 17:13:22 +09:00
Bill Currie 3b26777985 Get qf debian stable compatible again.
Had to backtrack on the libtool version, (and the init line), but I might be
able to make it a little nicer later.
2010-11-16 00:59:58 +09:00
Bill Currie f8f54fa910 Update the build dependencies. 2010-11-16 00:59:52 +09:00
Bill Currie 82687d19db Update for git (vs cvs?!?) 2010-11-16 00:59:40 +09:00
Bill Currie 6260130ae5 Fix borked autoconf of dga/vidmode headers. 2010-11-16 00:58:19 +09:00
Bill Currie 37fb8d22da Don't open a streamed sfx when there's no sound driver.
This happens when qf fails to connect to jackd (possibly other times).
There is probably a better solution to the problem, but not opening a
stream when the sample rate is reported as 0 definitely fixes the inifinite
recursion in read_samples().
2010-11-14 20:46:29 +09:00
Bill Currie 824e33c82b Fix a sizeof braino.
Somebody (probably me) got a little over-happy with sizeof.
2010-11-14 19:22:47 +09:00
Bill Currie f63e505c92 Don't realloc the string pointer table.
This causes a bit of memory waste, but avoids breaking the pointers in the
string hash table.
2010-11-14 19:21:16 +09:00
Bill Currie e6b783a616 Don't touch the watchpoint conditional when printing. 2010-11-13 14:36:33 +09:00
Bill Currie 2ef291bf46 Make mdl.py work on 64 bit machines. 2010-10-18 17:53:04 +09:00
Bill Currie 0c4b2f9e19 Add the default extension when no output file is specified. 2010-10-16 22:09:18 +09:00
Bill Currie 98fa427456 Add the extract-hull option to the usage output. 2010-10-16 16:16:58 +09:00
Bill Currie ff49239500 Fix shared config files.
We've allowed a single level of parent directy access in quake path names
for a long time, but this got broken by qfs_expand_path. Thus, make
qfs_expand_path allow a certain number of parent directory levels (usually
0 or 1).
2010-10-16 14:17:09 +09:00
Bill Currie 985c27b52d Some more brush documentation. 2010-10-13 20:52:08 +09:00
Bill Currie ef7958d680 Lots of const correctness. 2010-10-13 20:52:08 +09:00
Bill Currie f4bff1d3b0 Make some code more readable. 2010-10-13 20:52:08 +09:00
Bill Currie 16e067c8cb More portal documentation. 2010-10-13 20:52:08 +09:00
Bill Currie 538956c389 Make parts of CutNodePortals_r() easier to read. 2010-10-13 20:52:08 +09:00
Bill Currie ab70ec2a8f Sort the group names. 2010-10-13 20:52:08 +09:00
Bill Currie 08c6a185ad Documentation for writebsp. 2010-10-13 20:52:08 +09:00
Bill Currie d90a630b04 Call AddAnimatingTextures only once rather than for every wad file. 2010-10-13 20:52:08 +09:00
Bill Currie fcd1897421 Create the qfbsp doxygen modules.
Also, make doxygen extract static functions as well, so qfbsp's docs can be
more complete.
2010-10-13 20:52:08 +09:00
Bill Currie bfc6c9e798 Document the smart-leak function. 2010-10-13 20:52:07 +09:00
Bill Currie 93517d40d8 Finish the port of smart leak files.
This comes from the OpenQuartz version of qbsp.
2010-10-13 20:52:07 +09:00
Bill Currie 142defe9c0 Parameter consistency fixes.
Make the params for FreeWinding and CopyWinding consistent with those in
qfbsp. This fixes some doxygen warnings while I think about how best to
handle the duplicate code.
2010-10-13 20:52:07 +09:00
Bill Currie ad8b08238d Make some vector code easier to read. 2010-10-13 20:52:07 +09:00
Bill Currie 44776f111f Documentation for winding. 2010-10-13 20:52:07 +09:00
Bill Currie a8bd522ca1 Documentation for tjunc. 2010-10-13 20:52:07 +09:00
Bill Currie f758cacc69 Make FindEdge easier to read. 2010-10-13 20:52:07 +09:00
Bill Currie fc0e0f4665 Documentation for surfaces. 2010-10-13 20:52:07 +09:00
Bill Currie f3e7a7ca89 Documentation for solidbsp. 2010-10-13 20:52:07 +09:00
Bill Currie 4b1b838f87 More braces and whitespace. 2010-10-13 20:52:07 +09:00
Bill Currie 313677ee96 Add some braces and a bit of whitespace 2010-10-13 20:52:07 +09:00
Bill Currie 69189600a4 Some docs for bsp5.h 2010-10-13 20:52:07 +09:00
Bill Currie 68dda63de5 Documentation for region. 2010-10-13 20:52:07 +09:00
Bill Currie 00b635236d Document the readbsp code. 2010-10-13 20:52:07 +09:00
Bill Currie 34d60539de Document the portals code. 2010-10-13 20:52:06 +09:00
Bill Currie cc098fa720 Documentation for outside. 2010-10-13 20:52:06 +09:00
Bill Currie a92bd6dec1 Document the merge code 2010-10-13 20:52:06 +09:00