Commit graph

520 commits

Author SHA1 Message Date
Ludwig Nussel
4c242115dc - change long to intptr_t for 64bit windows compatability
- change vmMain arguments back to int. 64bit types are apparently not
  needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Tim Angus
26b4ed2f7d * Fix to a woopsie 2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c * OpenAL now respatializes using the player entity origin instead of the view
origin by default. The old behaviour is available by setting
  s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
ef19ccd56f * Removed (unintentional) C99 code 2006-02-07 18:36:17 +00:00
Maik
602743a25b * workaround for msvc compiler bug. 2006-02-07 12:26:53 +00:00
Tim Angus
2e19bdfb5d * Reimplement console history recall "bug" behaviour without the bug 2006-02-04 00:28:57 +00:00
Tim Angus
91b2b9297a * Fix to an obo bug in the console history recall code 2006-01-28 23:26:23 +00:00
Tim Angus
947ebb932e * SDL build no longer requires a vid_restart when changing r_fullscreen 2006-01-25 17:57:53 +00:00
Tim Angus
8a6be4aef4 * Persistent console history 2006-01-24 04:35:19 +00:00
Tim Angus
704c151eb1 * Fix to an OpenAL "bug" involving Team Arena 2006-01-22 21:09:55 +00:00
Tim Angus
3404fbac56 * Fix the operation of the delete key in *nix 2006-01-22 17:07:21 +00:00
Tim Angus
c3f7915a8b * Overhaul of console autocompletion
- No longer does weird stuff like move the cursor inappropriately
  - Autocomplete works with compound commands
  - Special autocomplete on some commands e.g. \map, \demo
  - Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus
893629fb0f * Fix to ability to diabled Ogg Vorbis 2006-01-21 15:09:35 +00:00
Tim Angus
58c8175024 * Added Q_isnan for NaN tests with -ffast-math
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690 * Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this 2006-01-19 17:25:55 +00:00
Tim Angus
fc8fcd7af5 * Don't try to auto record a demo while playing a demo 2006-01-16 04:00:30 +00:00
Tim Angus
d4bd2fd737 * Change defaults for s_alRolloff and s_alMinDistance 2006-01-15 15:45:12 +00:00
Tim Angus
a166f2173a * Oops. Rename cl_avidemo to cl_aviFrameRate 2006-01-06 22:28:07 +00:00
Tim Angus
dbf7caec10 * Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
default)
2006-01-06 17:36:03 +00:00
Tim Angus
58e7fc0a1a * Added cl_autoRecordDemo, which when enabled automatically records a new demo
on each map change
2006-01-05 00:15:47 +00:00
Tim Angus
0c9d2c365a * Only display the g_syncClients warning when it's appropriate 2006-01-04 21:48:20 +00:00
Tim Angus
a21eb2bbcb * AVI video output
- Uses motion jpeg codec by default
  - Use cl_avidemo to set a framerate
  - \video [filename] to start capture
  - \stopvideo to stop capture
  - Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Tim Angus
6c6396a54f * Increase default for s_alSources to 96
* Source allocation warning on looping sounds demoted to developer only
2005-12-11 21:14:45 +00:00
Ludwig Nussel
81c15bc41d use memcpy for copying stuff around to fix alignment problems 2005-12-06 23:11:25 +00:00
Tim Angus
9bd6709e10 * Removed seemingly unnecessary OS X implementation of yuv_to_rgb24 2005-12-06 20:52:29 +00:00
Tim Angus
2499d9b0f5 * Solaris patch from Vincent S. Cojot 2005-12-06 19:03:39 +00:00
Tim Angus
1704eecc52 * Replaced ALIGN macro with PAD
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Tim Angus
e67d270f2a * Same as last revision, but I didn't forget to save this time 2005-12-03 16:36:45 +00:00
Tim Angus
5cc1fb1c05 * Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
  out of memory
2005-12-03 00:19:27 +00:00
Tim Angus
0f8c177cf3 * Fix to an OpenAL "bug" 2005-12-02 00:14:24 +00:00
Tim Angus
1b314e8934 * Updated AL headers
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
  headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus
acb810b972 * Fix compilation when using SDL and dlopening OpenAL 2005-12-01 20:45:01 +00:00
Tim Angus
3161a34a4f * Fixed bug where if two looping sounds were added to a single entity they
would fight for a source and you'd get a horrible distorted sound that was
  each of the two sounds interleaved
* Changed the default of s_alPrecache to 1 -- having it off seems to cause
  problems for some and it doesn't actually improve things much
* Changed a few of the variable names in snd_openal.c to be more sane
2005-12-01 18:22:42 +00:00
Tim Angus
ae39051f1e * Support RIFF files with zero length data chunks (yes they exist, and yes,
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Tim Angus
382c6adb54 * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon
721b9a7d01 Mac OS X work...lots of little changes that touch a lot of random places.
Still work to be done, but this at least matches the PowerPC Linux status
 now.

MacOS-specific directory (and XCode project) is gone...this now uses SDL,
 OpenAL, and the Unix Makefiles.

--ryan.
2005-11-26 07:46:21 +00:00
Ryan C. Gordon
b20b86bbbe Don't byteswap when resampling audio...we byteswapped it previously in the
codecs.
2005-11-20 15:35:45 +00:00
Ludwig Nussel
108c051345 make internal functions static 2005-11-19 14:53:46 +00:00
Tim Angus
387d8041ce * Partial implementation of FS_Seek for files in pk3s
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus
0163f77f4e * Oops, missed a bit 2005-11-14 18:35:31 +00:00
Tim Angus
9d7bb06743 * Replace a redundant function in the wav decoder 2005-11-14 18:26:25 +00:00
Tim Angus
668fdc102c * Unbreak the MinGW build more...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Ludwig Nussel
1c2722a9ba link against libopenal by default rather than dlopening it 2005-11-13 21:01:44 +00:00
Ludwig Nussel
17719e0c61 soname is libopenal.so.0 2005-11-13 21:01:07 +00:00
Tim Angus
84c4f21082 * OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
+ An abstract codec system, simplifying support for new formats
  + Changes versus BlackAura's patch:
    o Consolidated the OpenAL parts into one file
    o Changed the function naming scheme to more closely resemble Q3
    o Changed the interface to fall back on the "base" sound system
      if loading OpenAL fails
  + This is enabled on Linux and MinGW for now, but should work on the
    other *nixs with appropriate additions to the Makefile
  + NOT enabled on OS X or MSVC Windows builds
  + Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
  there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00
Ludwig Nussel
cc8b03c655 - don't spam the tty with that message 2005-11-06 16:24:49 +00:00
Tim Angus
e4b7a04d5c * Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Tim Angus
c41483634c * General decrufting:
* Removed Q3_STATIC and associated defines
* Removed MAC_STATIC
* Replaced __LCC__ with Q3_VM
* Removed bspc and splines directories
2005-10-29 23:13:09 +00:00
Tim Angus
05e8ab9538 * Added STATUS
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Tim Angus
3a2ad50406 * Moved various source files from their mod sdk locations to places more
appropriate for open source Q3
* This patch looks bigger than it really is, however it will probably break the
  VC and OS X builds (easy to fix though)
2005-10-26 19:45:21 +00:00
Tim Angus
20c5bc38cf * Removed hard coded mouse acceleration in the unix build(s)
* Added CVAR_ROM cl_platformSensitivity to normalise the scale
  of cl_sensitivity across platforms
2005-10-14 22:58:28 +00:00
Six
ecd73786d5 Fix build problems under OS X 2005-10-11 01:52:29 +00:00
Tim Angus
52dcaa45fd * A better fix to the "doppler" bug 2005-09-29 22:53:31 +00:00
Tim Angus
24d3c6b2a2 * Fixed the bug where the "doppler" effect code could cause a temporary client lock up 2005-09-29 22:35:05 +00:00
Tim Angus
f0bd20e00a * Removed the redundant "sound system is muted" message
* Moved printing of desired audiospec to before SDL_OpenAudio
* When the computed value for samples is not a power of 2, now pick the smallest power of 2 greater rather than the largest power of 2 smaller
2005-09-24 01:26:51 +00:00
Tim Angus
fe14a45ad1 * Applied ajax's cleanup patch 2005-09-23 17:39:14 +00:00
Tim Angus
2b8395a4d0 * Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
2005-09-23 02:59:15 +00:00
Tim Angus
fcaf343d7f * Port to MinGW 2005-09-22 03:21:33 +00:00
Tim Angus
33a48a0336 * Fix to multiple buffer overflow bugs in CL_Rcon_f
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Ludwig Nussel
aa942839ce apply altivec fixes from Emanuel Steen (#2383) 2005-09-17 14:59:28 +00:00
Zachary Slater
f327407bb8 Cleanups from pomac! 2005-09-02 20:13:47 +00:00
Zachary Slater
06c73f5e59 First diff from Andreas Schneider:
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ludwig Nussel
88171d6bb7 support for 64bit native mods 2005-08-30 20:30:17 +00:00
Ludwig Nussel
5ae70d54b0 remove svn:executable property 2005-08-28 17:54:51 +00:00
Ludwig Nussel
fd4bbf42d6 remove 64bit warning. For QVM it's ok and native .so is broken anyways 2005-08-28 12:34:17 +00:00
Zachary Slater
916cb54d72 From ludwig: Unsigned overflows don't work in 64bit address space ... 2005-08-27 18:10:36 +00:00
Zachary Slater
f46ede91fb Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build. 2005-08-27 02:24:00 +00:00
Zachary Slater
59cce31e75 newlines fixed 2005-08-26 17:39:27 +00:00
Zachary Slater
5b755058f5 Itsa me, quake3io! 2005-08-26 04:48:05 +00:00
Travis Bradshaw
dbe4ddb103 The Quake III Arena sources as originally released under the GPL license on August 20, 2005. 2012-01-31 13:41:34 -06:00