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
Bill Currie
6ce7c5040b
Make NewFaceFromFace const-correct
2010-10-13 20:52:06 +09:00
Bill Currie
6c89883c8f
Lots of csg4 documentation
2010-10-13 20:52:06 +09:00
Bill Currie
17e5813a51
Make a block of code a little easier to read.
2010-10-13 20:52:06 +09:00
Bill Currie
a5c96cb825
More documentation and move some functions.
2010-10-13 20:52:06 +09:00
Bill Currie
2e6eb419ca
Some documentation for the map parser.
2010-10-13 20:52:06 +09:00
Bill Currie
5cf5c1e227
lots of whitespace
2010-10-13 20:52:06 +09:00
Bill Currie
5c0a55d818
Add some documentation for the brush code.
2010-10-13 20:52:06 +09:00
Bill Currie
9a4c9c506f
Fix bbox calculation for rotating brush entities.
2010-10-13 20:52:06 +09:00
Bill Currie
b91568bbdd
More non-canonical checks in PlaneTypeForNormal.
2010-10-13 20:52:06 +09:00
Bill Currie
c9eb679c41
Make PlaneTypeForNormal const-correct.
2010-10-13 20:52:06 +09:00
Bill Currie
9a30968c87
type size correctness
2010-10-13 20:52:06 +09:00
Bill Currie
cd159e1cc1
Use LoadBSPMem to load brush models.
...
Now that Mod_LoadBrushModel uses bspfile.[ch], the engine uses the same
code as the tools to work with bsp files.
2010-10-13 20:52:05 +09:00
Bill Currie
7fca21837a
fix some errors found by valgrind
2010-10-13 20:52:05 +09:00
Bill Currie
db898655d1
make LoadBSPFile own the memory for the bsp data
2010-10-13 20:52:05 +09:00
Bill Currie
719ca15516
make LoadBSPMem work in-place
...
LoadBSPMem now modifies the passed in buffer rathern than allocating new
memory. One step closer to cleaning up brush model loading.
2010-10-13 20:52:05 +09:00
Bill Currie
56fb4d9a22
allow safe bsp freeing
...
any memory the bsp thinks it does not own will not be freed
2010-10-13 20:52:05 +09:00
Bill Currie
cec8e09f07
white space cleanup
2010-10-13 20:52:05 +09:00
Bill Currie
99d8ea22b4
fix uninitialized data
...
In the process of testing the changes to WriteBSPFile, it was found that
the data being supplied to it contained uninitialized values.
2010-10-13 20:52:05 +09:00
Bill Currie
1d86e71404
make WriteBSPFile take a const bsp_t *
...
This means that the supplied bsp can now be reused, as it should be.
2010-10-13 20:52:05 +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
8808eba3ff
add VectorSet macro
...
VectorSet(a,b,c,d) -> vec3_t d = (a, b, c)
This should be useful.
2010-10-13 20:52:05 +09:00
Bill Currie
7dca7e8e2e
Doc/boostrap tweaks.
...
Mention git instead of subversion, add libsamplerate to the requirements
and it turns out autoconf 2.65 is good enough.
2010-10-10 10:05:01 +09:00
Bill Currie
f666f8d27a
Get the lib dependency for testsound right.
...
No need for $(top_builddir) when the lib is in the same directory. Fixes
parallel builds.
2010-09-25 23:07:06 +09:00
Bill Currie
19a558a2db
Fix a doxygen warning
2010-08-31 22:07:49 +09:00
Bill Currie
fcd9c3e115
Fix a stray doxygen control comment.
2010-08-31 21:15:40 +09:00
Bill Currie
42faad9015
Move expand_squiggle() from quakefs to sys, and rename to Sys_ExpandSquiggle.
...
Hopefully the final resting place of this function.
2010-08-25 14:00:04 +09:00
Bill Currie
e9bd9a4baa
Move QFS_CreatePath() to Sys_CreatePath().
2010-08-25 13:52:24 +09:00
Bill Currie
4f620655be
Document quakefs.h
2010-08-25 13:40:22 +09:00
Bill Currie
f1943ebaab
Fix some path compression bugs.
2010-08-25 13:38:45 +09:00
Bill Currie
550b094b93
Unit testing for QFS_CompressPath
2010-08-25 13:38:30 +09:00
Bill Currie
05c57f219d
Nuke a comment.
2010-08-25 13:38:24 +09:00
Bill Currie
c6be3c469a
Make the names of static functions canonical.
2010-08-25 13:38:24 +09:00
Bill Currie
bbf2ac0204
Avoid creating // in path names.
2010-08-25 13:38:18 +09:00
Bill Currie
ba8ca132a9
Change QFS_Gamedir()'s parameter from dir to gamedir.
2010-08-25 13:31:24 +09:00
Bill Currie
745bdfafdf
Eliminate QFS_LoadHunkFile().
...
It is unused, and part of the group of functions I wish to remove from QF.
2010-08-25 13:31:23 +09:00
Bill Currie
ea22ec1271
Add documentation for the directory configuration.
2010-08-25 13:31:23 +09:00
Bill Currie
cbee789fe1
Change ProgPath to ModelPath and dir.progs to dir.models.
...
The default is still $path/progs, as that is what is expected by the
game-code.
2010-08-25 13:31:13 +09:00
Bill Currie
cf40f5073d
Nuke QFS_WriteBuffers.
...
This function is too dangerous for my liking, and it's now unnecessary
since qfs has been locked down.
2010-08-25 13:31:13 +09:00
Bill Currie
031055a91f
Move the qfs_* cvars out of quakefs.h
...
The qfs cvars are all private.
2010-08-25 13:31:13 +09:00
Bill Currie
0cc4bc8c69
Move searchpath out of quakefs.h.
...
It's not needed, nor should it be used, anywhere else.
2010-08-25 13:31:13 +09:00
Bill Currie
478394ef81
Nuke MAX_GAMEDIR_CALLBACKS
...
The number of gamedir callbacks is now unlimited.
2010-08-25 13:31:08 +09:00
Bill Currie
a51e888a1b
Nuke MAX_OSPATH and clean up the mess.
2010-08-25 13:31:08 +09:00
Bill Currie
baede61f4f
New function: dstring_strdup
...
I got tired of always doing dstring_newstr/dstring_copy, so I thought it
was time to wrap it. dstring_strdup is the dstring equivalent of strdup.
2010-08-25 13:31:00 +09:00
Bill Currie
fcdd046333
Add some docs for expand_squiggle.
2010-08-25 13:30:53 +09:00
Jeff Teunissen
9bae615577
regularize the changelog rule, make it work for out-of-tree.
2010-08-23 03:43:05 -04:00
Jeff Teunissen
3c76768b01
Clean up 'make changelog'
...
We need more information in the changelog, and we need some checking to
make sure the .git dir exists before trying to generate it.
2010-08-23 03:21:30 -04:00
Jeff Teunissen
4452c31859
Pull in changes from master
2010-08-23 00:03:46 -04:00
Jeff Teunissen
b5375449e9
Guess I had it pretty-much right already.
...
Rename TOPDIR to TOPSRC, can't get around requiring it and it's more
descriptive this way anyway. Also, revert the use of the m4_esyscmd()
macro in configure. It's kinda cool, but I'll come up with a better way
to do it.
2010-08-22 23:53:06 -04:00