Yamagi Burmeister
9af9f54f36
Remove QGL pointers
...
This is a manual merge of Hecatomb Q2 ref b8952d5. Manual since git
couldn't do an automerge for some reasons... Notable changes are:
- QGL function pointers are removed, libGL is linked directly
- The OpenGL log framework is removed. It was disfunctional
- The gl_driver cvar is finaly gone
This change is currently untested on Windows and OS. There should
be no problems but a better Makefile integration of libGL is needed.
2013-06-15 10:37:11 +02:00
Alejandro Ricoveri
2b0974822c
Client refactoring
...
Some stuff being reordered
2013-06-15 10:37:11 +02:00
Alejandro Ricoveri
3e45c5e363
Refresh API refactoring
...
Analog functions of the former refexport_t are now public for the client
to access.
2013-06-15 10:27:30 +02:00
Alejandro Ricoveri
8e69d9dc5c
Remove vid_ref cvar
...
Normally setting gl_mode cvar would result in VID_LoadRefresh because
of vid_ref being "modified". After removing vid_ref out of the picture
it will "modify" vid_fullscreen to replicate the same behaviour.
Variable "name" (who used to hold refresh dll name) is now left unused
All references to vid_ref cvar has been taken out ...
2013-06-15 10:27:30 +02:00
Alejandro Ricoveri
a7f02a5b0e
The refresher is linked statically into the client, no more 'ref_gl.so'.
2013-06-15 10:27:30 +02:00
svdijk
55d6a601c9
Fix default video mode.
...
Revert "The default video mode is 5 (640x480). Spotted by svdijk."
This reverts commit a76d7d5cfb
.
2013-05-28 20:42:57 +02:00
svdijk
1251fde6e4
credits
2013-05-24 18:21:11 +02:00
svdijk
9564b7b55e
fix aspect ratio menu option
2013-05-19 18:42:44 +02:00
svdijk
6472514c8f
Lets not do the last two commits just before 5.11
...
Revert "change several strcat calls to Q_strlcat calls"
This reverts commit ab879f1bc7
.
Revert "change (v)sprintf calls to (v)snprintf calls"
This reverts commit b46e210d76
.
2013-05-18 18:59:39 +02:00
svdijk
ab879f1bc7
change several strcat calls to Q_strlcat calls
2013-05-17 22:25:18 +02:00
svdijk
b46e210d76
change (v)sprintf calls to (v)snprintf calls
2013-05-17 21:50:31 +02:00
svdijk
4bef586e67
remove unnecessary fileHandle_t typecasts
2013-05-13 18:49:16 +02:00
svdijk
b08fbb7cbf
replace remaining strncat calls with memcpy calls
2013-05-13 18:38:37 +02:00
svdijk
8fad0a9008
change some more (mostly wrong) strncpy calls to Q_strlcpy calls
2013-05-12 20:25:00 +02:00
svdijk
7c1d2b4219
fix incorrect typecasts in FS_* calls
2013-05-11 15:22:27 +02:00
svdijk
e07294b6b1
replace most strncpy calls (several of them wrong) by Q_strlcpy calls
2013-05-11 14:44:36 +02:00
svdijk
3c62c2be5a
ogg/cda: move defaults from yq2.cfg to engine
2013-05-08 20:06:53 +02:00
svdijk
1c431e14ac
make the load/save statusbar a bit more informative
2013-05-08 20:01:44 +02:00
Yamagi
b58b78714b
Merge pull request #23 from alericoveri/osx-aluwf
...
AL_InitUnderwaterFilter wasn't being compiled conditionally
2013-04-28 08:46:42 -07:00
svdijk
fa9548fcad
M_Popup: some more tuning
2013-04-28 12:31:51 +02:00
Alejandro Ricoveri
1c84805c1f
AL_InitUnderwaterFilter wasn't being compiled conditionallyi
2013-04-27 17:21:15 -04:30
svdijk
8e1bb70932
M_Popup: align the same as the old popups
2013-04-26 18:55:23 +02:00
svdijk
082c2d454f
cinematics: minor rewriting of cin_force43 behaviour
2013-04-24 20:33:12 +02:00
svdijk
3c6a57129e
cinematics: force 4:3 aspect ratio (new cvar cin_force43)
2013-04-22 20:44:47 +02:00
svdijk
b9deabd86a
videomenu: fix CUSTOM_MODE
2013-04-21 18:44:50 +02:00
Yamagi Burmeister
277c2b9567
Use the same default volume on all platforms again
...
Testing showed that after the last round of sound changes FreeBSD is the
only platform with distorted sound when s_volume is set too high. I'm
pretty sure that it's caused by a bug in the OSS backend of openal-soft.
I'll need to analyze this more and maybe write a problem report. Since
FreeBSD users should be experienced enough to lower the volume when
there are problem (there's a FAQ in our README!), use the same default
volume on all platforms.
2013-04-21 12:02:38 +02:00
Yamagi Burmeister
3ac88e1bda
Rename snd_wav.c to wave.c to get in line with other files
2013-04-21 11:32:20 +02:00
Yamagi Burmeister
84020e4d8e
Rename snd_vorbis.c to ogg.c. This name is more appropriate
2013-04-21 11:30:07 +02:00
Yamagi Burmeister
fb7b97d868
Minor cleanups to snd_vorbis.c
...
- Remove any forward declarations
- Tightens checks for SDL
2013-04-21 11:27:31 +02:00
Yamagi Burmeister
78ce1e491c
Rename snd_al.c to openal.c
2013-04-21 11:19:01 +02:00
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
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
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