Commit graph

803 commits

Author SHA1 Message Date
Yamagi Burmeister
aff51633d0 Add a sanity check against buffer overflows to S_BuildSoundList 2012-05-12 14:46:13 +02:00
Yamagi Burmeister
4a414b588e Fix a buffer overflow in AL_AddLoopSounds
This fixes a crash in mine4.bsp and most likely some other problems.
The bug was reported by "mxmvasilyev0 [at] gmail [dot] com" and tracked
as Github issue #1.
2012-05-12 14:42:15 +02:00
Yamagi Burmeister
6ee203d70c Add a project for porting Quake II to several consoles 2012-05-12 09:50:20 +02:00
Yamagi Burmeister
97c4361125 Mention that Win64 is optional 2012-05-12 09:48:23 +02:00
Yamagi Burmeister
c5cd99079f First draft of CONTRIBUTE 2012-05-12 09:42:12 +02:00
Yamagi Burmeister
a7a553f34e Add joystick FAQ 2012-05-12 09:42:12 +02:00
Yamagi Burmeister
3a0ae1d6f8 I was told that there're other editors than vim 2012-05-01 15:25:28 +02:00
Yamagi Burmeister
fca28bdad7 Ignore .swp files 2012-04-30 15:31:40 +02:00
Christoph Mallon
e064f4b68b Ignore build directories. 2012-04-30 12:51:55 +02:00
Christoph Mallon
57bbdebb44 Redo "Simplify usage of $GSC_PID.", which was accidently undone. 2012-04-30 12:51:36 +02:00
Yamagi Burmeister
b6325d7858 Remove unused variables and dead code (patch submitted by Christoph
Mallon)
2012-04-30 10:02:58 +02:00
Yamagi Burmeister
cdaf1ef5c4 Resolve conflict in quake2-start.sh 2012-04-30 09:04:35 +02:00
Christoph Mallon
38da4b8eee Use set -eu. 2012-04-30 09:03:59 +02:00
Christoph Mallon
2d7f2ce464 Use "$@" instead of $*. 2012-04-30 09:00:42 +02:00
Christoph Mallon
7ee419c0fb Do not hardcode the track numbers. 2012-04-30 09:00:34 +02:00
Christoph Mallon
2b16d9eee8 Reactivate gnome-screensaver and unclutter in the reverse order they are deactivated.
Conflicts:

	stuff/quake2-start.sh
2012-04-30 08:59:25 +02:00
Christoph Mallon
d31e4a531d Use set -eu. 2012-04-30 08:43:48 +02:00
Christoph Mallon
3247c952a4 Simplify "[ $($FOO | grep $BAR | wc -l) -gt 0 ]" to "$FOO | grep -q $BAR". 2012-04-30 08:43:48 +02:00
Christoph Mallon
7c4daf24b1 Simplify usage of $GSC_PID. 2012-04-30 08:43:48 +02:00
Christoph Mallon
d3fa38bca9 Use plain echo, not echo -e 2012-04-30 08:43:08 +02:00
Christoph Mallon
3c7539b417 Simplify the test whether the architecture is supported. 2012-04-30 08:35:40 +02:00
Christoph Mallon
2867c00d61 Do not overwrite CC. 2012-04-30 08:35:10 +02:00
Christoph Mallon
ab034114b4 Whitespace fixes. 2012-04-30 08:25:59 +02:00
Daniel Gibson
2c851b052d Enable core dumps in quake2-start.sh script 2012-04-29 17:04:57 +02:00
Yamagi Burmeister
dc3e2bd3b4 Mention openal-soft in the Makefile 2012-04-29 16:16:44 +02:00
Daniel Gibson
164defb856 Small corrections in CHANGELOG and LICENSE
* Write "LADSPA" correctly
* Mention Q2Pro and zeq2 because we use their OpenAL code
* Mention libjpeg (for retexturing) and libopenal in used but not included libs
2012-04-29 16:11:45 +02:00
Daniel Gibson
8612950e0a Make SYSTEMWIDE options in Makefile configurable from Console
With the WITH_SYSTEMWIDE (yes/no) and WITH_SYSTEMDIR (actual path) options
2012-04-29 15:54:15 +02:00
Daniel Gibson
ebccfc63df Remove need to link against libopenal
libopenal is loaded with dlopen() and for all used alBla and alcBla functions
there are function pointers (just like thee qgl stuff for OpenGL).
Thus there's no need to link against libopenal on compile-time.

There were a few occurences of "normal" openal functions (al* instead of qal*)
- they are fixed now.

This allows to use a yquake2 version compield with WITH_OPENAL=yes to be used
on systems that have no libopenal installed (the standard SDL sound backend
will be used then).
2012-04-29 15:24:14 +02:00
Yamagi Burmeister
4520d53b26 Alter the README for github
This is the Yamagi Quake II subversion repo converted to git. The
history was preserved, bit the older parts are in german and crap.
Sorry for that. Each releases is referenced ba a "git tag".
2012-04-29 14:59:49 +02:00
Yamagi Burmeister
4203bed129 Bump version number to 4.20 2012-04-29 08:08:21 +00:00
Yamagi Burmeister
b0a6ec177b Update the CHANGELOG 2012-04-29 08:07:02 +00:00
Daniel Gibson
965fedf9ae It's X11GAMMA with 2 "m". 2012-04-28 20:04:24 +00:00
Daniel Gibson
2b7ef996ed Fall back to "libGL.so.1" if gl_driver set in (default) config fails 2012-04-28 20:02:15 +00:00
Daniel Gibson
632bd0a776 Enforce "C" lokale, this time correctly
Now when some braindead alsa/ladspa plugin calls setlocale(LC_ALL, "") the 
locale is (still) set to "C" and not some other locale that may fsck up printf
and scanf formats
2012-04-28 19:39:36 +00:00
Daniel Gibson
669a78de12 Compiletime options in Makefile overwritable from console
And a small fix that shuts up a compiler warning
2012-04-28 19:38:07 +00:00
Daniel Gibson
53d54b1f23 Merge OpenAL branch 2012-04-28 15:58:50 +00:00
Daniel Gibson
31f9af817f Last fixes and cleanups for OpenAL support
* New license header in snd_al.c
* README fixes
* Fix printing of used OpenAL device
* Cleanup in snd_al.c
2012-04-28 15:44:14 +00:00
Yamagi Burmeister
c62e5ac85b - Implement AL_UnqueueRawSamples() and use it to stop the Vorbis playback
imediatly
- Increase Vorbis buffers to 64. 24 were to few
2012-04-27 14:06:08 +00:00
Yamagi Burmeister
2b6389a471 Filter sound samples (not the music) when under water 2012-04-27 13:55:45 +00:00
Yamagi Burmeister
1a0b4ebad5 Do not set / enable / show the s_openal CVAR if the binary is build
without OpenAL support. OpenAL is enabled in the default Makefile and if
it's disabled, it's shown at startup.
2012-04-27 12:00:22 +00:00
Yamagi Burmeister
363dc5d311 Update TODO 2012-04-27 11:53:04 +00:00
Yamagi Burmeister
774e7bf46f Document the OpenAL support 2012-04-27 11:52:38 +00:00
Yamagi Burmeister
905b31a918 Integrate OpenAL into the options system 2012-04-25 10:09:30 +00:00
Yamagi Burmeister
a388254252 Fix a missmerge 2012-04-25 10:09:16 +00:00
Yamagi Burmeister
2c3c203097 Merge out new options framework from the trunk 2012-04-25 09:57:17 +00:00
Yamagi Burmeister
a3f05e7be5 Mention the options framework in the Makefile 2012-04-25 09:52:38 +00:00
Yamagi Burmeister
38943b3573 Print build options at startup 2012-04-25 09:50:06 +00:00
Yamagi Burmeister
a00ce8dee3 Typos :/ 2012-04-25 09:32:36 +00:00
Yamagi Burmeister
3d84b624c7 Allow the setting of user defined options in the Makefile 2012-04-25 09:32:11 +00:00
Yamagi Burmeister
048f680701 Hide ZIP support behind ZIP 2012-04-25 09:12:02 +00:00