Commit Graph

453 Commits

Author SHA1 Message Date
Ozkan Sezer 7dd3ee7a58 moved Host_Version_f from host_cmd.c to host.c.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@463 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:20:52 +00:00
Ozkan Sezer 9052c6faa8 net_udp.c: check whether the address returned by gethostbyname is an IPv4 address
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@462 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-27 13:10:19 +00:00
Ozkan Sezer e5a5e89f53 minor syncing with uhexen2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@461 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-13 12:41:00 +00:00
Ozkan Sezer 701ae6882c a little syncing with uhexen2.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@460 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-12 12:25:22 +00:00
Ozkan Sezer 03bbe29d44 updated q_stdinc.h from uhexen2.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@459 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 13:20:13 +00:00
Ozkan Sezer e25c9d2716 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@458 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-11 05:03:04 +00:00
Steven 44ecfb19bb Trial a new Freeze cvar.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@457 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-10 03:04:51 +00:00
Ozkan Sezer d546301342 Recompiled all windows x64 libraries using the latest mingw-w64 tools.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@456 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-06-02 07:56:15 +00:00
Ozkan Sezer 8a1b526e5d 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@455 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-05-20 22:20:30 +00:00
Ozkan Sezer 45498a99a4 replaced COM_FileExtension by a slightly better version from uhexen2,
renamed it to COM_FileGetExtension, added a prototype to common.h.

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

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@451 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-25 21:33:54 +00:00
Ozkan Sezer 77c3142aab updated documents for new changes
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@450 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 16:25:26 +00:00
Ozkan Sezer e77c1ad9df 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@449 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 04:27:54 +00:00
Steven 24aa8ca6f8 Update Makefile.darwin (OSX) and doco.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@448 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 03:01:40 +00:00
Ozkan Sezer c33eb7e1e0 * codecs: updated libmpg123 windows libraries to the latest
stable 1.13.3 version.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@447 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-22 05:23:45 +00:00
Ozkan Sezer 250fa2b7ce check for arguments to several command line options. patch from Sander van Dijk.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@446 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:29:41 +00:00
Ozkan Sezer e8d366d63d changed Misc/homedir_0.patch to incorporate host_parms->userdir
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@445 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:02:00 +00:00
Ozkan Sezer 8dc5750acc keys.c (History_Init, History_Shutdown): use host_parms->userdir.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@444 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 17:02:41 +00:00
Ozkan Sezer a85d8dcd6a 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@443 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 16:41:45 +00:00
Ozkan Sezer 4f95ba8ef8 fixed several gcc-4.6 -Wunused-but-set-variable warnings.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@442 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-12 12:36:04 +00:00
Ozkan Sezer 2702be5b5d minor update to README.music document.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@441 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 20:25:58 +00:00
Ozkan Sezer 97c9c807f8 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@440 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 06:01:39 +00:00
Ozkan Sezer 2bcdb4b39f 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@439 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-01 14:55:45 +00:00
Ozkan Sezer 2afe61374f updated README files. added Misc/README.music as a new reference document.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@438 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-31 09:50:24 +00:00
Kristian Duske 86677e3ff8 Removed unused XCode user files.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@436 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 15:17:30 +00:00
Kristian Duske 4f92e153ac 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@435 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 14:28:18 +00:00
Ozkan Sezer 0979da1a11 added native sound code snd_alsa.c, snd_oss.c, snd_win.c and for future
reference and/or probable use.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@434 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:37:44 +00:00
Kristian Duske 46db3e5968 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@433 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:16:43 +00:00
Kristian Duske e35dff890a 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@432 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:04:08 +00:00
Kristian Duske 1200ae8ea8 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@431 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:03:28 +00:00
Ozkan Sezer 78c95e1b91 minor documentation updates, final touches for 0.85.4.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@430 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-27 14:00:31 +00:00
Steven fd0fe9aa89 Trivial doco updates
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@429 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-05 10:20:00 +00:00
Ozkan Sezer 305be5e835 * 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@428 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-01 18:00:30 +00:00
Ozkan Sezer c53dd74e4d 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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@427 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-27 07:05:18 +00:00
Ozkan Sezer 7ae84d838c recopiled windows mpg123 libraries with debug/error/warning console messages disabled
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@426 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-24 10:01:03 +00:00
Ozkan Sezer 6d007ba6b7 * Windows/codecs: update libmpg123 header, import libraries and dlls
to version 1.13.2.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@425 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-23 10:27:38 +00:00
Ozkan Sezer 59523d789a snd_mix.c, minor cleanup: eliminated stupid multiple casting in SND_PaintChannelFrom8(),
added braces to the inner for loop in SND_InitScaletable().

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@424 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-21 18:03:35 +00:00
Ozkan Sezer ea03f22642 spelling fixes from Sander
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@423 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-18 14:00:28 +00:00
Ozkan Sezer e5a1b9100f re-diff'ed the user directories patch
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@422 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-18 14:00:13 +00:00
Ozkan Sezer 2d53581117 updated documentation (again..)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@421 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 10:20:26 +00:00
Ozkan Sezer 7b341d444c * snd_mpg123.c: Print a message if mpg123_init() fails.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@420 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 07:02:47 +00:00
Ozkan Sezer 3d93dc18fc updated documentation
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@419 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 06:56:28 +00:00
Ozkan Sezer dbaa22dd78 * gl_model.c: changed the `ignored' messages from Con_DPrintf
to Con_Printf for external lit files.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@418 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 06:38:52 +00:00
Ozkan Sezer f6683583c2 bgmusic.c, bgmusic.h: small updates and tidy-ups from uHexen2.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@417 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-16 15:20:20 +00:00
Ozkan Sezer fe70ba99ab bgmusic.c: renamed -nomusic command line switch to -noextmusic. minor update.
updated documentation for the command line option name change.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@416 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-15 21:30:32 +00:00
Ozkan Sezer 8fb84cf5d4 added libmpg123 header, import libraries and dlls for windows builds
using libmpg123 for mp3 support.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@415 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-15 09:27:52 +00:00
Ozkan Sezer 9f7430e8d5 * snd_mpg123.c: added new codec for mp3 playback using libmpg123 as
an alternative to the existing one using libmad. requires at least
  mpg123-1.12.0, i.e. api version 25.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@414 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-14 20:02:52 +00:00
Ozkan Sezer c4ff2c768d updated changelog entries in the REDAME for 0.85.4
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@413 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-13 16:50:18 +00:00