It was a legacy from Quake who used to open and close the log file on every
write. Commented out the unlink() call and added O_TRUNC to the open flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@476 af15c1b1-3010-417e-b628-4374ebc0bcbd
of the memory before returning, which is Z_Malloc() behavior.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@470 af15c1b1-3010-417e-b628-4374ebc0bcbd
set before freeing the hunk allocations. The order in Host_Init()
is clear and Host_ClearMemory must not be hit before host_hunklevel
is set. (otherwise, there _will_ be much trouble...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@467 af15c1b1-3010-417e-b628-4374ebc0bcbd
Hunk_Alloc() already clears the memory before returning it.
* Some minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@465 af15c1b1-3010-417e-b628-4374ebc0bcbd
Adding a cvar to control this option should follow later.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@458 af15c1b1-3010-417e-b628-4374ebc0bcbd
by COM_FileGetExtension. Adjusted all users because COM_FileGetExtension
doesn't include the leading dot for the extension, nor does it ever return
NULL.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@455 af15c1b1-3010-417e-b628-4374ebc0bcbd
renamed it to COM_FileGetExtension, added a prototype to common.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@454 af15c1b1-3010-417e-b628-4374ebc0bcbd
changed version to 0.85.5 in the README files. changed version to
0.85.5 in quakedef.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@449 af15c1b1-3010-417e-b628-4374ebc0bcbd
host_parms is used. made COM_Init() and Host_Init() to take no arguments.
made Sys_Init() to set host_parms->userdir: at present, it is set to
host_parms->basedir, to be changed properly when user directories are
implemented.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@443 af15c1b1-3010-417e-b628-4374ebc0bcbd
extended limits. it was a fitzquake-0.85 bug noticed by `mh' as explained
at http://forums.inside3d.com/viewtopic.php?p=35030
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@440 af15c1b1-3010-417e-b628-4374ebc0bcbd
of using size_t instead of it. include stdint.h in q_stdinc.h for it.
for Visual Studio earlier than version 2010, use the header provided by
the msinttypes project.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@439 af15c1b1-3010-417e-b628-4374ebc0bcbd
Adapted paths for libraries within the dylibs.
Added header files for ogg, vorbis and libmpg123 to MacOSX build to avoid people having to get ahold of the music decorders when they want to build on OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@435 af15c1b1-3010-417e-b628-4374ebc0bcbd
Adapted XCode project so that the dylibs are copied into the App bundle (untested).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@433 af15c1b1-3010-417e-b628-4374ebc0bcbd
Enabled PPC builds.
All OS X builds are without music support for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@432 af15c1b1-3010-417e-b628-4374ebc0bcbd
Enabled PPC builds.
All OS X builds are without music support for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@431 af15c1b1-3010-417e-b628-4374ebc0bcbd
loading: they are now allowed from the same game directory as the
map itself as well as from a searchpath with a higher priority.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@428 af15c1b1-3010-417e-b628-4374ebc0bcbd
a default value of 0.02. changing its value to 0 disables throttling.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@427 af15c1b1-3010-417e-b628-4374ebc0bcbd