Bill Currie
d8d21b00f4
Fix some issues found found by valgrind.
...
Buffer underflow and though strcpy has always been safe there, change to
memmove. Had the added benefit of helping me create more test cases for
better coverage.
2012-01-24 19:54:21 +09:00
Bill Currie
c25327f4ed
Add union and merge functions and tests.
2012-01-06 12:57:25 +09:00
Bill Currie
981760e19a
Add tests for vrect.
2012-01-06 11:04:34 +09:00
Bill Currie
bfd1680c15
Fix a 32/64 bit portability issue.
2011-09-09 19:56:16 +09:00
Bill Currie
225f1cd06c
Rewrite QFS_StripExtension() to use QFS_FileExtension().
2011-09-09 17:35:12 +09:00
Bill Currie
96ef0ffaea
Rewrite QFS_FileExtension() to be more correct.
2011-09-09 17:33:29 +09:00
Bill Currie
12e238f806
Add a function to convert quake angles to a quaternion.
...
The test works by comparing the result of AngleVectors with forward,
right, and up vectors rotated by the quaternion resulting from AngleQuat.
2011-09-04 09:58:12 +09:00
Bill Currie
b18ff4ed3e
Move test-qfs.c into a test directory.
...
Same as before: avoiding -prefic-pic issues.
Also, catch some minor snafus found in the previous commit. With this, make
distcheck passes again :)
2011-06-12 16:34:15 +09:00