svdijk
b46e210d76
change (v)sprintf calls to (v)snprintf calls
2013-05-17 21:50:31 +02:00
svdijk
c469a97b36
fix typo
2013-05-11 15:29:02 +02:00
svdijk
3c62c2be5a
ogg/cda: move defaults from yq2.cfg to engine
2013-05-08 20:06:53 +02:00
svdijk
27b3d27584
sdl: fix key repeat (SDL_EnableKeyRepeat was called too early)
2013-04-28 12:38:53 +02:00
svdijk
695e0a9a16
cinematics: fix video mode changing during cinematic playback
2013-04-22 20:51:59 +02:00
Yamagi Burmeister
78ce1e491c
Rename snd_al.c to openal.c
2013-04-21 11:19:01 +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
svdijk
d07735b831
Rewrite the Shift+Escape code a bit (somewhat cleaner)
2013-03-18 19:37:26 +01:00
svdijk
8b28e3d0df
Make Shift+Escape toggle the console.
2013-03-17 17:31:00 +01:00
Citramonum
3e56938aa9
Update vid.c
...
Fix a typo in 1280x960 graphic mode parameters.
2013-03-09 21:06:06 +04:00
Brandon Foltz
d6feeeff8d
Added support for 1366x768 laptop resolution in video menu.
2013-01-18 14:59:44 -05:00
svdijk
bcc6f62b61
Make the Load/Save menu multi-page (support low-res).
2012-12-09 17:57:00 +01:00
svdijk
0fe5d4f610
Make sure that the crashlog actually gets written.
2012-11-17 15:31:12 +01:00
Yamagi Burmeister
a76d7d5cfb
The default video mode is 5 (640x480). Spotted by svdijk.
2012-11-14 21:12:21 +01:00
svdijk
247e2baa3a
More mouse grab/release tuning.
2012-11-14 21:08:07 +01:00
svdijk
823753dec9
Some minor restructuring and cleanup.
2012-11-07 21:15:18 +01:00
svdijk
8c8fba7421
Refresher cleanup.
2012-11-05 21:33:35 +01:00
svdijk
7be7f6831f
backends/sdl/input.c: only call SDL_WM_GrabInput() when needed.
2012-10-30 20:36:29 +01:00
Yamagi Burmeister
687ca61dfa
Fix gl_swapinterval
2012-10-06 09:14:12 +02:00
Yamagi Burmeister
943c29804c
Add the SDLMain SDL wrapper, needed for OS X
2012-09-14 11:46:22 +02:00
Yamagi Burmeister
ba10009aa5
Add support for Mac OS X
...
These are the code changes and Makefile changes necessary to build and
run Yamagi Quake II on Max OS X. OS X 10.6 or higher is required, older
version may work but we cannot guarantee it. The documentation will be
added in another commit. This patch was contributed by W. Beser, I made
only some small cosmetical changes.
2012-09-14 11:21:02 +02:00
Jonathan Gray
1f9d6084b6
OpenBSD port
2012-08-18 09:53:03 +02:00
Jonathan Gray
22fa99b713
test SIN6_LEN not __FreeBSD__ for sin6_len
2012-08-12 13:40:43 +10:00
Yamagi Burmeister
602dd1af6f
Connect non-base OpenGL function by calling wglGetProcAddress() on Windows
...
This is necessary since non-base OpenGL functions can't be connected by
calling the standard GetProcAddress() on Windows. To archive this the
old qwglGetProcAdress() is renamed into GetProcAdressGL() and a new
function pointer qwglGetProcAdress is introduced. On unixoid System it's
NULL and on Windows connected to wglGetProcAddress(). If it's NULL the
system wide function is called, if not the function Pointer is used.
2012-08-03 15:14:45 +02:00
Yamagi Burmeister
739590e639
Do not hide library loading errors behind "developer"
2012-08-03 15:13:58 +02:00
Yamagi Burmeister
3ab4e58df5
Cleanup the video menu, remove support for different refresher
2012-08-02 14:39:33 +02:00
Yamagi Burmeister
c6eaf5c876
Mobe LIBGL makro to common.h and replace all hardcoded libGL calls with it
2012-08-02 14:06:32 +02:00
Yamagi Burmeister
751d39fb50
Update the file header comments
2012-08-02 14:00:04 +02:00
Yamagi Burmeister
8d0dfd2c30
Merge vid.c into 1 generic file
2012-08-01 16:54:09 +02:00
Yamagi Burmeister
f89bb3265e
Combine qgl.c glwindow.h into one generic file
2012-08-01 15:51:39 +02:00
Yamagi Burmeister
e5f70fcf40
Merge qal.c into one generic file for all platforms
...
To archive this, 3 new functions Sys_GetProcAddress(), Sys_LoadLibrary()
and Sys_FreeLibrary() were added to abstract the library loading code
into a platform independend API.
2012-08-01 14:54:18 +02:00
Yamagi Burmeister
399c581f06
Move src/windows to src/backends/windows
2012-08-01 14:12:05 +02:00
Yamagi Burmeister
3fb8492398
Move src/unix to src/backends/unix
2012-08-01 13:58:10 +02:00
Yamagi Burmeister
c5bf1e8c93
Move src/sdl to src/backends/sdl
2012-08-01 13:47:32 +02:00