Yamagi Burmeister
a2dca39727
There's no libdl on FreeBSD
2013-03-16 14:32:47 +01:00
Yamagi Burmeister
63b1816be6
Add an explicit cast to shut up g++47 on FreeBSD
2013-03-16 14:32:47 +01:00
Yamagi Burmeister
649577e9be
Include stddef.h for ptrdiff_t on FreeBSD
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
f51688a470
Add FreeBSD defines
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
da31237ed0
Replace malloc.h by stdlib.h
...
On true unices malloc.h was never available and on Linux one should
include stdlib.h instead. While this change is necessary to build
rbdoom3 on FreeBSD and other true unices, the big question is what
it means to Windows.
2013-03-16 01:38:53 +01:00
RobertBeckebans
41b26e586c
Merge pull request #42 from rettichschnidi/rettichschnidi-sdl-getwindowdisplayrename
...
SDL2: SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex
2013-02-05 09:28:06 -08:00
Reto Schneider
f7b532df63
SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex
...
SDL2 commit: http://hg.libsdl.org/SDL/rev/7174fb08017a
2013-02-05 07:07:49 +01:00
RobertBeckebans
5a9e718cb0
Merge pull request #38 from DanielGibson/classic-showfps
...
Add classic com_showFPS mode
2013-01-21 12:36:27 -08:00
Daniel Gibson
deb41fb69f
Add classic com_showFPS mode
...
That only displays the fps.
It's com_showFPS 2
2013-01-20 15:58:32 +01:00
RobertBeckebans
592da5df54
Merge pull request #35 from DanielGibson/fix-relaunch
...
Implement Sys_ReLaunch() for Linux, refactor it
2013-01-20 02:12:01 -08:00
RobertBeckebans
1126231439
Merge pull request #36 from DanielGibson/fix-sdl12-console
...
Fix console-input in SDL1.2 for lots of unmapped keys
2013-01-20 02:09:42 -08:00
Daniel Gibson
b044526ddb
Implement Sys_ReLaunch() for Linux, refactor it
...
It now works on Linux so executing it doesn't freeze the game
like described in
https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/33
Furthermore, this function doesn't have any parameters anymore
(on any platform) because the only thing supplied was the original
program arguments +"+set com_skipIntroVideos 1" anyway - this is now
done in Sys_ReLaunch() (also on Windows).
Having the program arguments as one string is bad on Linux/POSIX
because there it's expected that the program arguments are one
C-string per argument.
2013-01-20 04:32:11 +01:00
Daniel Gibson
1d56411f56
Fix console-input in SDL1.2 for lots of unmapped keys
...
A lot of keys (especially keys not available on US keyboards) just weren't
supported for console input with SDL1.2 (SDL2 uses a different mechanism for
that).
This is fixed now by reordering a few lines in sdl_events.cpp
Please note that still only ASCII characters are supported and those keys
still can not be used in bindings - only for text input!
2013-01-20 04:16:19 +01:00
Robert Beckebans
98093a4e8d
Added long neck GCC compiler workaround from dhewm3
2013-01-14 00:24:11 +01:00
Robert Beckebans
42cd8afdba
Merge branch 'master' of https://github.com/RobertBeckebans/RBDOOM-3-BFG
2013-01-08 18:08:34 +01:00
Robert Beckebans
83b3439e87
Disabled unused OpenAL code requiring the AL_SOFT_buffer_samples extension
2013-01-08 18:08:24 +01:00
RobertBeckebans
1ef3c543c6
Merge pull request #22 from SpiritQuaddicted/patch-1
...
README.TXT, fixed list numbering
2013-01-07 09:51:13 -08:00
SpiritQuaddicted
d6dd5fabc6
README.TXT, fixed list numbering
...
The COMPILING ON GNU/LINUX list skipped the 2 and went straight from 1 to 3.
2013-01-07 18:20:45 +01:00
RobertBeckebans
44cc05651c
Merge pull request #21 from DanielGibson/quickfix-pause
...
Also check for com_pause when USE_DOOMCLASSIC
2013-01-07 02:11:08 -08:00
Daniel Gibson
155e5e589e
Also check for com_pause when USE_DOOMCLASSIC
...
oops, somehow forgot this one
2013-01-07 08:36:53 +01:00
RobertBeckebans
dac9539764
Merge pull request #18 from DanielGibson/update-readme
...
Update readme
2013-01-06 14:39:47 -08:00
Daniel Gibson
2a94049016
Add installation instructions to README
2013-01-06 21:17:30 +01:00
Daniel Gibson
1e22219121
Add/update minizip copyright note in README
...
forgot that when updating zip..
2013-01-06 19:03:03 +01:00
Robert Beckebans
61a0a90f01
Updated README.txt ..
2013-01-06 17:48:30 +01:00
Robert Beckebans
5234e4cd77
Cleaned up OpenAL code. Updated README.txt
2013-01-06 17:47:40 +01:00
Robert Beckebans
4884cc5793
Fixed OpenAL bug when deleting the OpenAL buffers that caused the game to hang.
2013-01-06 13:03:56 +01:00
Robert Beckebans
699e0e39f5
Fixed problems in the ADPCM decoder. Sound is working.
2013-01-05 19:00:22 +01:00
Robert Beckebans
27b83db50d
Added missing add_executable(RBDoom3BFG ...)
2013-01-05 17:17:13 +01:00
Robert Beckebans
5bef3a327f
Added MS ADPCM decoder from SDL2
2013-01-05 17:02:48 +01:00
Robert Beckebans
0b66e57359
Merge branch 'master' into openal
2013-01-05 11:50:21 +01:00
Robert Beckebans
64a2c6c39c
Merge remote-tracking branch 'DanielGibson/gcc-pch'
2013-01-05 11:36:03 +01:00
Robert Beckebans
0881085589
Merge remote-tracking branch 'DanielGibson/improve-window-handling'
2013-01-05 11:35:52 +01:00
Robert Beckebans
00a9c353f3
Defaulted OPENAL=ON for the openal branch
2013-01-05 00:14:55 +01:00
Robert Beckebans
b55d668c5c
Merge branch 'master' into openal
2013-01-05 00:13:51 +01:00
Robert Beckebans
a2fe079600
Changed OpenAL to use buffers instead of streaming
2013-01-05 00:13:35 +01:00
Robert Beckebans
0cf039bfdb
Changed project to use the DirectX10 SDK on Windows 8
2013-01-04 22:51:30 +01:00
Robert Beckebans
9ac405223b
Changed idSoundSample_OpenAL::MakeDefault() to generated a proper beep sound
2013-01-04 18:12:20 +01:00
Daniel Gibson
c58f0d4749
Precompiled Headers for GCC+Clang
2013-01-04 17:01:40 +01:00
Daniel Gibson
cf8d287a4e
Fix Sys_ListFiles() on POSIX once again
...
Turned out that as "extension" (which is really more like a pattern
that matches the whole file) was even used with patterns like "*.*"
so we do proper matching using fnmatch() now - which is even easier
than the old way.
Now deleting savegames on POSIX works.
2013-01-04 14:40:35 +01:00
Daniel Gibson
a405b37f13
Pause when window loses focus, introduce com_pause
...
If the window loses focus com_pause is set to 1, when it regains focus
it's set to 0.
The behaviour on Win32 stayed the same (the implementation is less
hacky though) and Linux now matchces that.
2013-01-04 14:40:35 +01:00
Daniel Gibson
732d8987d3
support ctrl-g for (un)grabbing mouse
...
Many Linux Games support that
2013-01-04 14:40:35 +01:00
Daniel Gibson
a1c1f1b6b2
Support resizing windows for SDL1.2
...
By implementing GLimp_SetScreenParms() for SDL1.2
and enhancing the event handling
2013-01-04 14:40:35 +01:00
Daniel Gibson
d6c32cd49b
Support resizing windows + improve fullscreen for SDL2
...
By implementing GLimp_SetScreenParms() and enhancing the
event handling
2013-01-04 14:40:35 +01:00
Daniel Gibson
19effdad2c
fix zlib include path in zip.h
2013-01-04 14:40:35 +01:00
Robert Beckebans
33774e2225
Added OpenAL support to Linux
2013-01-04 13:24:52 +01:00
Robert Beckebans
c47e78d6f3
Misc changes
2013-01-03 21:25:34 +01:00
Robert Beckebans
00a459c61b
OpenAL plays first scratchy sounds
2013-01-03 20:17:54 +01:00
Robert Beckebans
038037e524
Replaced most XAudio2 calls with OpenAL
2013-01-03 16:56:25 +01:00
Robert Beckebans
9a40f246b6
Copied neo/sound/XAudio2/XA2_* to neo/sound/OpenAL/AL_*
2013-01-02 21:45:47 +01:00
Robert Beckebans
946768ad9f
Moved minizip contrib code to libs/zlib/minizip/
2013-01-02 17:09:45 +01:00