Commit graph

440 commits

Author SHA1 Message Date
sezero
7697791c87 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@449 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 04:27:54 +00:00
stevenaaus
3c1010e6b0 Update Makefile.darwin (OSX) and doco.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@448 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-24 03:01:40 +00:00
sezero
6934c349f3 * codecs: updated libmpg123 windows libraries to the latest
stable 1.13.3 version.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@447 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-22 05:23:45 +00:00
sezero
a68b95a2de check for arguments to several command line options. patch from Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@446 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:29:41 +00:00
sezero
06a6c0c0cc changed Misc/homedir_0.patch to incorporate host_parms->userdir
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@445 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 18:02:00 +00:00
sezero
e61ddf465c keys.c (History_Init, History_Shutdown): use host_parms->userdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@444 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 17:02:41 +00:00
sezero
203ff53a7a 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@443 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-19 16:41:45 +00:00
sezero
f081c21a40 fixed several gcc-4.6 -Wunused-but-set-variable warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@442 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-12 12:36:04 +00:00
sezero
250b265398 minor update to README.music document.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@441 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 20:25:58 +00:00
sezero
0c2e3e79a2 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@440 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-08 06:01:39 +00:00
sezero
0fbd3237b5 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@439 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-04-01 14:55:45 +00:00
sezero
76a07e33b3 updated README files. added Misc/README.music as a new reference document.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@438 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-31 09:50:24 +00:00
kristianduske
e8837a9cbb Removed unused XCode user files.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@436 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 15:17:30 +00:00
kristianduske
6697a64e31 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@435 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 14:28:18 +00:00
sezero
f3db05de11 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@434 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:37:44 +00:00
kristianduske
a1d224402e 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@433 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 11:16:43 +00:00
kristianduske
4b931c71c9 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@432 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:04:08 +00:00
kristianduske
4b3ef140e1 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@431 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-28 10:03:28 +00:00
sezero
a67360f0b7 minor documentation updates, final touches for 0.85.4.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@430 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-27 14:00:31 +00:00
stevenaaus
35c70d900d Trivial doco updates
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@429 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-05 10:20:00 +00:00
sezero
429793c7f8 * 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@428 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-03-01 18:00:30 +00:00
sezero
27c2c92fed 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@427 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-27 07:05:18 +00:00
sezero
b2327884f8 recopiled windows mpg123 libraries with debug/error/warning console messages disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@426 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-24 10:01:03 +00:00
sezero
59d270ccbb * Windows/codecs: update libmpg123 header, import libraries and dlls
to version 1.13.2.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@425 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-23 10:27:38 +00:00
sezero
9a1bdc3137 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@424 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-21 18:03:35 +00:00
sezero
0015341b73 spelling fixes from Sander
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@423 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-18 14:00:28 +00:00
sezero
9e31f5fa1e re-diff'ed the user directories patch
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@422 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-18 14:00:13 +00:00
sezero
86fae9964b updated documentation (again..)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@421 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 10:20:26 +00:00
sezero
9829e47937 * snd_mpg123.c: Print a message if mpg123_init() fails.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@420 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 07:02:47 +00:00
sezero
c6272f8ac7 updated documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@419 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-17 06:56:28 +00:00
sezero
300fd5c267 * gl_model.c: changed the `ignored' messages from Con_DPrintf
to Con_Printf for external lit files.


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


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

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@415 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-15 09:27:52 +00:00
sezero
9383301a6b * 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@414 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-14 20:02:52 +00:00
sezero
d00791f805 updated changelog entries in the REDAME for 0.85.4
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@413 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-13 16:50:18 +00:00
sezero
001120aec0 README punctuation patch from Sander van Dijk
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@412 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-12 22:20:09 +00:00
sezero
8fa7b15802 snd_codec.c (S_CodecUtilOpen): fix again after rev.410.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@411 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-10 18:23:50 +00:00
sezero
44c88e27bb snd_codec.c (S_CodecUtilOpen): minor cleanup (better type for length.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@410 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-10 18:20:33 +00:00
sezero
6c4d84d52d documentation updates
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@409 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-10 18:15:19 +00:00
sezero
8d3ba3ac02 * common.c (COM_FileExists): changed return type to qboolean.
(COM_filelength): new procedure.
(COM_FindFile): adjustments to avoid multiple file open/close operations just a
little.
* common.h (COM_FileExists): adjusted prototype.
* bgmusic.c (BGM_PlayCDtrack): adjusted for COM_FileExists() return type change.
* sys_sdl_win.c, sys_sdl_unix.c (Sys_filelength): changed return type to long.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@408 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-10 17:25:43 +00:00
sezero
92bc5e8b9e support for mouse buttons 4 and 5:
* keys.h: add KMOUSE4 and K_MOUSE5 defines after K_MWHEELDOWN
* keys.c: add KMOUSE4 and K_MOUSE5 to the keynames table.
* main_sdl.c: handle SDL_BUTTON_X1 and SDL_BUTTON_X2 for mouse
button events.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@407 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-10 16:10:53 +00:00
sezero
29afc4966c * common.c (FS_fread): fixed coding style.
* bgmusic.c:  minor updates from uhexen2.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@406 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-02-08 11:00:29 +00:00
sezero
678aedb4a7 * snd_mp3.c: removed useless rudimentary info checks.
* updated copyright years for several sound related sources.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@405 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-30 21:34:12 +00:00
sezero
ec4ba2f70a * snd_mp3.c: sync with sox project CVS repo and add mp3_madseek()
as a new private function. make S_MP3_CodecRewindStream() to use
  the new mp3_madseek() function.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@404 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-30 18:23:20 +00:00
sezero
849904c295 gl_vidsdl.c (VID_Menu_ChooseNextRate): refresh rates not implemented for SDL.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@403 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-29 07:21:04 +00:00
sezero
d8a994271a fixed a typo in a comment, noticed by Sander van Dijk.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@402 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-22 20:11:46 +00:00
sezero
f918de5d64 * snd_mix.c (SND_PaintChannelFrom16): multiplication might cause
integer overflow as observed in the warpspasm mod depending on
  the volume level. so, moved the left shifting to left/right
  volume before the multiplication.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@401 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-18 06:50:35 +00:00
sezero
368dc1f993 added linux, bsd and windows native cdaudio code from uhexen2.
will integrate to build later.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@400 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-15 09:50:17 +00:00
sezero
87ebf264ec updated visual studio project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@399 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-01-13 14:10:16 +00:00