Commit graph

277 commits

Author SHA1 Message Date
Robert Beckebans
99166faf71 Fixed compile problems on Win64 2012-12-17 12:24:31 +01:00
Daniel Gibson
e42a886b29 remove deprecated glShadeModel stuff
it's only for fixed function opengl, thus it's not needed and deprecated in OpenGL 3.2
AMD's driver complains about this.
2012-12-17 01:02:53 +01:00
Daniel Gibson
ddaa0c8f70 Fix crash when loading mc_underground map
it was because in Window.cpp/h a lot of pointers were castet to ints..
if such abomination is done at least use intptr_t...
2012-12-17 00:54:48 +01:00
Robert Beckebans
63f9d4000f First playable version on Linux. 2012-12-16 17:31:21 +01:00
Robert Beckebans
823ea36ffe Added support for OpenGL 3.2 context debugging using SDL 2.0 2012-12-16 12:22:07 +01:00
Robert Beckebans
b7d3481f57 Fixed missing 16 byte alignment on 32 bit Linux for SSE structs. 2012-12-15 14:53:11 +01:00
Robert Beckebans
d7888cf99d Added support for SDL 2.0 2012-12-14 19:03:30 +01:00
Robert Beckebans
202c54ffff Fixed backslashes bug in idRenderProgManager::LoadGLSLShader() 2012-12-14 14:21:50 +01:00
Robert Beckebans
8c9a2d3e0b Some changes to the filesystem to give local files a higher priority than resource files. 2012-12-14 14:20:04 +01:00
Robert Beckebans
8b8cfe7d25 Small changes to pthreads. 2012-12-14 13:10:52 +01:00
Robert Beckebans
776b1a2938 Merge remote-tracking branch 'DanielGibson/linux' 2012-12-14 12:06:40 +01:00
Robert Beckebans
7e29478f9e Merge branch 'linux' 2012-12-14 11:51:57 +01:00
Robert Beckebans
3e533d1e29 Merge branch 'linux' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into linux 2012-12-14 11:50:29 +01:00
Robert Beckebans
7b43a34f37 Changed idSysSignal pthread implementation to consider the manualReset parameter 2012-12-14 11:50:20 +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
Daniel Gibson
67d6a5a1fa Make sure SDL_Init() was called before SDL_VideoInfo()
by adding GLimp_PreInit()
2012-12-14 00:51:22 +01:00
Robert Beckebans
9abdf06367 Merge remote-tracking branch 'DanielGibson/linux' 2012-12-14 00:20:51 +01:00
Daniel Gibson
ebbb98c9bd eliminate more longs
for 64bit compatibility.
2012-12-13 22:07:49 +01:00
Robert Beckebans
ca85c4d27b Added changes to compile for Win64 2012-12-13 20:37:55 +01:00
Daniel Gibson
ee88148bd1 eliminate more longs
for 64bit compatibility.
2012-12-13 01:28:41 +01:00
Robert Beckebans
86deed26b8 Merged 64 bit fixes. 2012-12-12 12:11:55 +01:00
Robert Beckebans
2952f227ea Merge remote-tracking branch 'DanielGibson/linux' into linux 2012-12-12 11:35:19 +01:00
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