Commit Graph

615 Commits

Author SHA1 Message Date
sezero e22611b1e7 removed the LoadBufFile method
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@475 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-08-03 19:22:29 +00:00
sezero 8e5e380771 fixed vorbisfile link order at another place
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@474 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:20:45 +00:00
sezero 8112a09b96 deleted unused vorbisenc.h header from OSX port too
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@473 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:11:30 +00:00
sezero c5b2bf7087 fixed vorbisfile link order for static linkage if one chooses to do so.
deleted unused vorbisenc.h header.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@472 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-21 09:03:35 +00:00
sezero 7920f6af3e snd_mp3.c: leave Z_ alone and allocate libmad decoding buffers (ca. 64kb)
on the system memory.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@471 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-20 09:00:12 +00:00
sezero df4a1685a0 zone.c (Z_Realloc): If expanding size, zero-fill the expanded part
of the memory before returning, which is Z_Malloc() behavior.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@470 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-17 14:00:48 +00:00
stevenaaus cc2484d042 Added a new OSX app. Update links in doco.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@469 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-16 11:07:19 +00:00
sezero 3fcb8030ae progs.h (PR_RunError): Mark the function as noreturn.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@468 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-08 17:27:44 +00:00
sezero 6181c3307a host.c (Host_ClearMemory): Do not check if host_hunklevel is
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@467 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:50:23 +00:00
sezero b7a03b22f3 host.c (Host_Init): Execute quake.rc _after_ setting host_hunklevel
and host_initialized.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@466 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:45:31 +00:00
sezero 55cc159297 * Removed some useless memset calls onto newly hunk allocated memory.
Hunk_Alloc() already clears the memory before returning it.
* Some minor cleanups.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@465 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-07-05 06:28:42 +00:00
sezero b6913f5348 Increased localmodels array size to 8 (better alignment)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@464 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-28 11:33:23 +00:00
sezero 7e771ad5bb moved Host_Version_f from host_cmd.c to host.c.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@463 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:20:52 +00:00
sezero 4ac590b037 net_udp.c: check whether the address returned by gethostbyname is an IPv4 address
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@462 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:10:19 +00:00
sezero fedac5982f minor syncing with uhexen2
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@461 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-13 12:41:00 +00:00
sezero 9800cf9d15 a little syncing with uhexen2.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@460 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-12 12:25:22 +00:00
sezero 2806d26412 updated q_stdinc.h from uhexen2.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@459 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 13:20:13 +00:00
sezero 74dc497e5a gl_model.c (Mod_LoadEntities): Added support for loading external entity files.
Adding a cvar to control this option should follow later.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@458 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 05:03:04 +00:00
stevenaaus f4853de691 Trial a new Freeze cvar.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@457 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-10 03:04:51 +00:00
sezero b3b5ae7b61 Recompiled all windows x64 libraries using the latest mingw-w64 tools.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@456 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-02 07:56:15 +00:00
sezero 82960be532 Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@455 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-20 22:20:30 +00:00
sezero 5d43920b02 replaced COM_FileExtension by a slightly better version from uhexen2,
renamed it to COM_FileGetExtension, added a prototype to common.h.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@454 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-20 20:38:11 +00:00
sezero 99bbf85535 recompiled SDL.dll for windows x64 from 2010-11-11 snapshot.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@453 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-15 10:33:26 +00:00
stevenaaus 899285e057 Add note about music sampling and sndspeed to readme.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@452 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-28 06:24:37 +00:00
sezero 1d9d5e6e85 added a note to README.music about Quake cdrom audio tracks being pre-emphasized.
from Sander van Dijk.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@451 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-25 21:33:54 +00:00
sezero dcfafc56b0 updated documents for new changes
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@450 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 16:25:26 +00:00
sezero e81b03246e small documentation corrections. fixed the borked README.txt file.
changed version to 0.85.5 in the README files. changed version to
0.85.5 in quakedef.h.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@449 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 04:27:54 +00:00
stevenaaus b88b2ac7ce Update Makefile.darwin (OSX) and doco.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@448 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 03:01:40 +00:00
sezero 53a9d09984 * codecs: updated libmpg123 windows libraries to the latest
stable 1.13.3 version.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@447 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-22 05:23:45 +00:00
sezero 88d6f8f1ef check for arguments to several command line options. patch from Sander van Dijk.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@446 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:29:41 +00:00
sezero c2583f35d3 changed Misc/homedir_0.patch to incorporate host_parms->userdir
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@445 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:02:00 +00:00
sezero 51134643dd keys.c (History_Init, History_Shutdown): use host_parms->userdir.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@444 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 17:02:41 +00:00
sezero f6b6f49a7e made global host_parms a pointer, set in main(). adjusted places where
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@443 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 16:41:45 +00:00
sezero ccf800306b fixed several gcc-4.6 -Wunused-but-set-variable warnings.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@442 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-12 12:36:04 +00:00
sezero f6ba05705c minor update to README.music document.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@441 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 20:25:58 +00:00
sezero 46f0616a0b cl_parse.c (CL_KeepaliveMessage): fixed big boom in net play in maps with
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@440 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 06:01:39 +00:00
sezero 7851cda724 just properly use (u)intptr_t where necessary and don't do the cheap hack
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@439 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-01 14:55:45 +00:00
sezero 3e894adf1b updated README files. added Misc/README.music as a new reference document.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@438 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-31 09:50:24 +00:00
kristianduske d85741e19c Removed unused XCode user files.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@436 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 15:17:30 +00:00
kristianduske ba47bf9ae9 Added fat binary for libmpg123 v 1.12.1 with support for ppc, i386 and x86_64.
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@435 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 14:28:18 +00:00
sezero 2f8cc178a9 added native sound code snd_alsa.c, snd_oss.c, snd_win.c and for future
reference and/or probable use.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@434 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:37:44 +00:00
kristianduske 877c63a9d3 Added vorbis fat binaries to SVN to avoid future headaches.
Adapted XCode project so that the dylibs are copied into the App bundle (untested).

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@433 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:16:43 +00:00
kristianduske 5ccef9778c Launcher window is now centered and will launch Quake when Return key is pressed.
Enabled PPC builds.
All OS X builds are without music support for now.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@432 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:04:08 +00:00
kristianduske 71465aedc7 Launcher window is now centered and will launch Quake when Return key is pressed.
Enabled PPC builds.
All OS X builds are without music support for now.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@431 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:03:28 +00:00
sezero 17df4c702d minor documentation updates, final touches for 0.85.4.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@430 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-27 14:00:31 +00:00
stevenaaus e9d05ae12a Trivial doco updates
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@429 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-05 10:20:00 +00:00
sezero 49f0fc353a * gl_model.c: relaxed searchpath requirements for external lit file
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@428 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-01 18:00:30 +00:00
sezero a8c685d391 cvar'ize the game loop throttling by adding the new sys_throttle with
a default value of 0.02.  changing its value to 0 disables throttling.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@427 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-27 07:05:18 +00:00
sezero 5f858ac355 recopiled windows mpg123 libraries with debug/error/warning console messages disabled
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@426 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-24 10:01:03 +00:00
sezero c03be37a37 * Windows/codecs: update libmpg123 header, import libraries and dlls
to version 1.13.2.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@425 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-23 10:27:38 +00:00