Yamagi Burmeister
1d6aaca68e
Whitespace cleanup
2013-04-21 11:14:00 +02:00
Yamagi Burmeister
a1f5ccfcac
Update header comment
2013-04-21 11:13:26 +02:00
Yamagi Burmeister
92be8c75e3
Rework volume handling
2013-04-21 11:06:18 +02:00
Yamagi Burmeister
b9e71913ae
Restructure and refactor snd_al.c
2013-04-21 10:40:00 +02:00
Yamagi Burmeister
e5505f90d7
Rename snd_dma.c to sound.c. yq2 never used DMA.
2013-04-20 15:09:57 +02:00
Yamagi Burmeister
957e4d4735
Whitespace cleanup
2013-04-20 15:06:47 +02:00
Yamagi Burmeister
242a62384c
Update header comment
2013-04-20 15:06:15 +02:00
Yamagi Burmeister
b9a62ff34b
Cleanup snd_dma.c
2013-04-20 15:01:31 +02:00
Yamagi Burmeister
720db15de9
Cleanup local.h of the sound system
2013-04-20 14:20:58 +02:00
Yamagi Burmeister
d9cd053461
Whitespace cleanup
2013-04-20 13:48:21 +02:00
Yamagi Burmeister
910dc421c6
Update file header and comment
2013-04-20 13:47:15 +02:00
Yamagi Burmeister
ef7c85bbcd
yq2 never had a dma based soundengine. Let's call it just "sound".
2013-04-20 13:40:54 +02:00
Yamagi Burmeister
b45876ffdd
Refactor the SDL part of S_Update() into the backend
2013-04-20 13:32:58 +02:00
Yamagi Burmeister
d9643e8b76
Refactor the SDL part of S_RawSamples into the backend
2013-04-20 13:16:40 +02:00
Yamagi Burmeister
2c356d142e
Refactor the SDL part of S_LoadSound into the SDL backend
2013-04-20 10:26:31 +02:00
Yamagi Burmeister
0c93ecbddb
Print the number of OpenAL sources in the backend
2013-04-20 10:26:19 +02:00
Yamagi Burmeister
cbecc5b2dc
Retire snd_mem.c and integrate it into snd_dma.c and the backends
2013-04-20 09:19:59 +02:00
Yamagi Burmeister
3989ff73b2
Retire snd_mix.c and incorporate it into the SDL backend
2013-04-20 09:03:47 +02:00
Yamagi Burmeister
35ba5b0de1
Move all generic function used only by the SDL backend into it
...
Additionally rename those function to SDL_ prefix and refactor
them a little.
2013-04-20 08:40:53 +02:00
Yamagi Burmeister
f1ce0c0c00
Move all SDL backend function to the SDL backend and use SDL_ as prefix
2013-04-20 08:02:13 +02:00
Yamagi Burmeister
3e294e5288
Pass -rdynamic to the linker on Linux
...
This fixes the backtrace output in the signal handler.
2013-04-19 18:53:12 +02:00
svdijk
20110faeed
Some minor cleanup/tuning/commenting
2013-04-14 18:46:08 +02:00
svdijk
4465d7e045
menu: some style syncing between savegame/server listing
2013-04-14 16:17:00 +02:00
svdijk
d297b97c12
menu: Rework the save/load menu a bit using M_Popup (get rid of excessive green)
2013-04-14 16:13:58 +02:00
svdijk
f9cda84d6e
menu: Use M_Popup for the server search message
2013-04-14 16:07:37 +02:00
svdijk
1d86145f7f
menu: Use M_Popup for the sound system restart message
2013-04-14 16:03:59 +02:00
svdijk
5daee97e2a
menu: Add a generic popup function M_Popup
2013-04-14 14:49:45 +02:00
svdijk
aae7de19c4
Use some safer offset values for gl_zfix, and default to 0
...
(Since it seems to cause unwanted artifacts with some drivers)
2013-04-07 19:07:16 +02:00
Yamagi Burmeister
9def7d908f
Silence another 2 gcc48 warnings due to creative array usage
...
This is nearly the same case as in 1bee58840d
and should be a no-op.
2013-04-07 13:54:24 +02:00
Yamagi Burmeister
1bee58840d
Silence a gcc48 warning due to some "creative" array usage
...
To my understanding this code and the old code do exactly the same, this
one is just more readable. Therefor this change should be a no-op.
2013-04-07 13:43:17 +02:00
Yamagi Burmeister
d394102712
Mention that gl_showtris needs gl_ext_multitexturing set to 0
2013-04-06 17:40:18 +02:00
svdijk
41d89c7171
Whitespace
2013-03-24 18:12:14 +01:00
svdijk
346d9873f0
Fix double server entries in multiplayes menu.
...
Also display netadr in statusbar instead of in the list (lowres compatible).
2013-03-24 18:08:06 +01:00
svdijk
77c9cb7e05
Update savegame tables (forgot them in the previous commit)
2013-03-23 12:30:48 +01:00
svdijk
5ed89a0373
Move some functions to a better place
2013-03-23 11:40:54 +01:00
svdijk
6f6c9a1aae
Fix help computer and inventory updates when already opened
2013-03-20 20:21:53 +01:00
svdijk
909e69462f
Fix a typo in a function prototype in game.h
2013-03-19 21:42:48 +01:00
svdijk
d07735b831
Rewrite the Shift+Escape code a bit (somewhat cleaner)
2013-03-18 19:37:26 +01:00
svdijk
317355f7ca
Minor rewriting.
2013-03-17 21:32:50 +01:00
svdijk
e49693bec4
Make cmdlist and cvarlist alphabetically ordered.
2013-03-17 18:16:02 +01:00
svdijk
8b28e3d0df
Make Shift+Escape toggle the console.
2013-03-17 17:31:00 +01:00
svdijk
f36f708b24
Unbind default bindings before loading stored bindings (new cvar cfg_unbindall)
2013-03-16 22:49:48 +01:00
svdijk
7637d32f6f
Work around the z-fighting on some baseq2 maps (new cvar gl_zfix)
2013-03-16 16:47:57 +01:00
Yamagi Burmeister
d9519cee61
Remove an unneccessary check.
...
This check involved an uninitialized pointer, so it never worked. It
could lead to crashes in some situations, especially when clients tried
to reconnect after a manual map change on the dedictated server.
2013-03-10 12:08:58 +01:00
Yamagi Burmeister
e1903dd925
Change some qglTexParameterf to qglTexParameteri
...
Scott S. pointed out that some the qglTexParameterf calls should be
qglTexParameteri. I don't know if all this changes are correct (I'm
an openGL noob) but they shouldn't make thinks worse and "works for me".
2013-03-10 10:20:42 +01:00
Yamagi
aabb5454c1
Merge pull request #21 from Citramonum/patch-1
...
Update vid.c: Fix a typo.
2013-03-10 00:18:28 -08:00
Citramonum
3e56938aa9
Update vid.c
...
Fix a typo in 1280x960 graphic mode parameters.
2013-03-09 21:06:06 +04:00
Yamagi
2300a547a8
Merge pull request #19 from JayWalker512/stupid-laptop-res
...
Added support for 1366x768 laptop resolution in video menu. This will break existing configs one again if a mode of 1440x900 or higher is used.
2013-01-20 03:08:00 -08:00
Yamagi Burmeister
56d920162e
Reduce default volume to 0.3 on non-linux-platforms
...
If the volume is set too high the OpenAL backend preamplification leads
to overdriven sound samples. It's not quite understandable to me why
that only happen on platforms other than Linux (maybe a bug in OpenAL?)
and there's not much we can do against it besides reducing the volume.
As the side note: Simmilar behavior can be seen at least in ioQ3 and
dhewm3...
2013-01-20 12:01:10 +01:00
Yamagi Burmeister
bc5c308684
Add a cvar "s_openal_maxgain" to clamp AL_GAIN
...
This cvar is a last resort if all other measures to prevent overdriven
preamplifation fail. Setting it to lower value than 1.0 limits the
overall dynamic range, so sound quality is lost. This is especially
hearable when low volume samples are encountered, like the shotgun
combined with the silencer.
2013-01-20 12:01:10 +01:00