Commit graph

39 commits

Author SHA1 Message Date
Daniel Gibson
cec460d38c Move stuff from sys/posix/ and sys/win32/ to sys/common/
All these files were almost identical, so there is no good reason to
have them twice..

and change CMakeLists.txt accordingly

(Not that this commit won't compile because some #includes are still
broken - will be fixed in the next one)
2013-03-18 00:38:58 +01:00
Daniel Gibson
c635566bcc Move sys/posix/posix_net.cpp to sys/common/socket_net.cpp, remove win_net.cpp
and adjust the CMakeLists.txt accordingly
2013-03-17 23:35:12 +01:00
Yamagi Burmeister
a2dca39727 There's no libdl on FreeBSD 2013-03-16 14:32:47 +01:00
Robert Beckebans
5234e4cd77 Cleaned up OpenAL code. Updated README.txt 2013-01-06 17:47:40 +01:00
Robert Beckebans
27b83db50d Added missing add_executable(RBDoom3BFG ...) 2013-01-05 17:17:13 +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
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
Daniel Gibson
c58f0d4749 Precompiled Headers for GCC+Clang 2013-01-04 17:01:40 +01:00
Robert Beckebans
33774e2225 Added OpenAL support to Linux 2013-01-04 13:24:52 +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
Daniel Gibson
ca112294b8 Update unzip code to minizip 1.1
.. from zlib-1.2.7/contrib/minizip/
The original source was minizip 0.15beta from 1998.

This update brings zip64 support (untested) and cleaner code.

Furthermore, updates to future minizip should be much easier now, as
my changes to the original source files from minizip are quite small.

To make diffing to upstream minizip-src easier, I added the minizip
source as exceptions in the astyle-scripts and left them in their own
directory.

Two custom functions from idSoftware - unzSetCurrentFileInfoPosition()
and unzGetCurrentFileInfoPosition() - aren't needed anymore as
minizip 1.1 has functions that do the same.
2013-01-02 05:29:56 +01:00
Daniel Gibson
7cfe7dd69a Improve CMakeLists.txt
* manage warning flags in a variable, they're reused for
  each profile anyway (but this way profile-specific flags can
  still be added before or after the generic ones)
* added some disable-warning flags specifically for clang
2012-12-23 06:40:48 +01:00
Robert Beckebans
dd9b8a8710 Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds. 2012-12-22 16:18:19 +01:00
Robert Beckebans
f57d92a1ab Renamed RBDoom3 to RBDoom3BFG 2012-12-19 15:23:57 +01:00
Robert Beckebans
9c477c6bd9 Possible fix for the linker problems on Ubuntu 12.04 64 bit 2012-12-17 20:36:11 +01:00
Robert Beckebans
d7888cf99d Added support for SDL 2.0 2012-12-14 19:03:30 +01:00
Daniel Gibson
a5f5d75e82 Use -O0 for Debug builds, make sure that compiles
because of some GCC bug the included refactoring in
PacketProcessor.* was necessary
2012-12-14 00:52:31 +01:00
Robert Beckebans
ca85c4d27b Added changes to compile for Win64 2012-12-13 20:37:55 +01:00
Robert Beckebans
a1730fa430 Supplemented Linux backend with missing functions. -> [100%] Built target RBDoom3 on Kubuntu 12.10 2012-12-11 23:17:23 +01:00
Robert Beckebans
f7279b850c Disabled -Wall option 2012-12-09 02:10:01 +01:00
Robert Beckebans
6d70f04cc9 Ported the Win32 threads to POSIX pthreads. 2012-12-09 01:55:59 +01:00
Robert Beckebans
3639ba0c7b Everything compiles on Linux. Now we can fix the linker problems! :) 2012-12-07 18:29:47 +01:00
Robert Beckebans
1feaa335df More compile fixes for Linux. 2012-12-07 00:09:53 +01:00
Robert Beckebans
5e582222cf Removed unused callstack traces API. All C++ files compile with MinGW. 2012-12-04 02:30:46 +01:00
Robert Beckebans
e0c79bd2d2 More work on MinGW support. 2012-12-03 23:55:27 +01:00
Robert Beckebans
5e05fa58c3 Added Doom 3 GCC compile options. 2012-12-03 14:21:45 +01:00
Daniel Gibson
91301c893f Stub away XAudio2 for non-MSVC builds
Getting it to work with MinGW seems impossible..
and on Linux/OSX it won't work anyway, so nevermind
2012-12-02 06:00:07 +01:00
Daniel Gibson
259f164d28 Make idlib build with MinGW
but it probably is buggy and still has a lot of warnings.

The rest still has errors, i.e. you can't build a doom executable with
MinGW yet
2012-12-02 06:00:05 +01:00
Daniel Gibson
364a85fa5d (more) GCC/MinGW support in CMakeLists.txt 2012-12-01 05:27:22 +01:00
Daniel Gibson
2c4db750b7 Compile VS runtime library statically
.. so MSVCP100D.dll (from VS runtime) or similar isn't needed to run
the binaries
2012-11-28 21:47:24 +01:00
Robert Beckebans
fb51d8ec80 Moved TiMidity to neo/libs/ 2012-11-28 11:46:51 +01:00
Robert Beckebans
1c08bda8dd Fixed compile and linker problems on Windows 7 with Visual C++ 2010 Express Edition 2012-11-28 11:27:27 +01:00
Robert Beckebans
683861eb45 Added initial CMake configuration. 2012-11-27 23:23:32 +01:00