Commit graph

355 commits

Author SHA1 Message Date
Robert Beckebans
baac8780a5 Fixed some bugs in idSysSignal. 2012-12-12 11:29:55 +01:00
Robert Beckebans
47f3f1b999 Fixed bug in Sys_CPUCount() 2012-12-12 00:37:01 +01:00
Robert Beckebans
6c4590d8d4 Fixed stupid backslashes bug in idFileSystemLocal::CreateOSPath() 2012-12-12 00:36:07 +01:00
Daniel Gibson
9eeea7adf3 Fix tons of compiler warnings
mostly -Wreorder, use const char* instead of char* for "static strings",
fix inappropriate usage of NULL (e.g. instead of '\0' or (int)0)
2012-12-11 23:57:05 +01:00
Robert Beckebans
b848312904 Fixed missing SDL video initialization. 2012-12-11 23:49:41 +01:00
Robert Beckebans
99f144c32f Added missing neo/sys/sdl/sdl_local.h 2012-12-11 23:23:17 +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
3b0dabe30a Formatted code. 2012-12-08 18:20:13 +01:00
Robert Beckebans
8812f6f0a4 Merge branch 'linux' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into linux 2012-12-07 21:25:01 +01:00
Robert Beckebans
bc6d7fbb8c Fixed wrong assert 2012-12-07 21:24:45 +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
948865123d More Linux specific fixes, especially 64 bit 2012-12-07 17:06:44 +01:00
Robert Beckebans
55cc6b3946 Minifix for idCommonLocal 2012-12-07 00:23:27 +01:00
Robert Beckebans
1feaa335df More compile fixes for Linux. 2012-12-07 00:09:53 +01:00
Robert Beckebans
9cc36a111e More Linux specific fixes. idlib compiles on Kubuntu 12.10 64 bit 2012-12-06 21:31:33 +01:00
Robert Beckebans
37a6018233 Added some macro defines for Linux. 2012-12-06 01:00:05 +01:00
Robert Beckebans
afaf66ef40 Formatted code 2012-12-04 12:11:14 +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
180cb328a4 Added neo/cmake-eclipse-mingw-release.bat 2012-12-03 17:30:42 +01:00
Robert Beckebans
5e05fa58c3 Added Doom 3 GCC compile options. 2012-12-03 14:21:45 +01:00
Daniel Gibson
d949bc9410 Fix compiler warnings and errors in MinGW
many of the warnings -Wreorder and #includes with invalid path because of
case-errors (windows may not care, but linux does)
2012-12-03 09:29:14 +01:00
Daniel Gibson
948b3777eb xinput.h for mingw
the one from the dx sdk is incompatible.. again..
2012-12-02 22:37:21 +01:00
Daniel Gibson
18139ebcc2 Remove unavailable includes
Why didn't MSVC complain about this?
2012-12-02 22:33:03 +01:00
Daniel Gibson
a7ca987d2b doomclassic fixes, incl. soundstub 2012-12-02 22:32:00 +01:00
Daniel Gibson
7cd400ad02 One more small change
.. before fighting with xinput
2012-12-02 16:20:23 +01:00
Daniel Gibson
e738de183b Some more small changes for MinGW build 2012-12-02 06:00:08 +01:00
Daniel Gibson
25e9e8bf1d Stubs for __asm in DXTEncoder.cpp to make it compile
TODO: needs implementation with intrinsics and/or plain C(++)!
2012-12-02 06:00:07 +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
Robert Beckebans
b6dd24ec4e More MinGW specific compile fixes. 2012-12-02 06:00:07 +01:00
Robert Beckebans
8abb571fe7 Added retail base/ files to .gitignore 2012-12-02 06:00:06 +01:00
Robert Beckebans
536de6932a Added missing #include <stdint.h> for uinptr_t with MinGW. 2012-12-02 06:00:06 +01:00
Robert Beckebans
f43305fe59 Added Eclipse CDT4 - MinGW Makefiles configuration. 2012-12-02 06:00:06 +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
174a69d1cc add .gitignore 2012-12-01 05:35:44 +01:00
Daniel Gibson
a3f45c984c Some headers needed for compilation with MinGW
* sal.h is missing in MinGW
* wine-dsound.h replaces the DirectX dsound.h which uses tons of
  annotations that are incompatible with MinGW
2012-12-01 05:34:33 +01:00
Daniel Gibson
364a85fa5d (more) GCC/MinGW support in CMakeLists.txt 2012-12-01 05:27:22 +01:00
RobertBeckebans
585a04dfe4 Merge pull request #1 from DanielGibson/rb_static-rt
Use static runtime, remove 2 annoying assertions
2012-11-28 12:59:56 -08:00
Daniel Gibson
af67d970c5 Comment out two noisy assertions
they spam the console in debug builds (at least on my system)
2012-11-28 21:48:52 +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
f55a763ca4 Formatted code using Artistic Style for better readability. 2012-11-28 16:47:07 +01:00
Robert Beckebans
d40e661b3e Added Artistic Style 2.02.1 C++ beautifier. 2012-11-28 16:36:17 +01:00
Robert Beckebans
b6308a932f Fixed crash when starting Doomclassic 2012-11-28 11:53:33 +01:00
Robert Beckebans
fb51d8ec80 Moved TiMidity to neo/libs/ 2012-11-28 11:46:51 +01:00
Robert Beckebans
991c9992b6 Removed old obsolete VS 2010 project files. 2012-11-28 11:32:11 +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
ac30c96ccb Added missing cmake/FindDirectX.cmake 2012-11-27 23:45:49 +01:00
Robert Beckebans
683861eb45 Added initial CMake configuration. 2012-11-27 23:23:32 +01:00