Robert Beckebans
d295a6aea9
Disabled usage of OpenGL 3.2 compatibility profiles for Linux #187
2014-11-12 12:34:07 +01:00
BielBdeLuna
f77b3b6f71
the engine now supports all the lenguages from steam in sounds and strings
2014-11-06 16:25:25 +01:00
Robert Beckebans
7e49606cc8
Removed ARB endings from OpenGL calls
2014-08-20 11:09:02 +02:00
Robert Beckebans
f9ff46d03d
Removed include of SDL_syswm.h because it creates problems on Kubuntu 14.04 with Mir
2014-08-20 00:30:39 +02:00
Robert Beckebans
195b99e39f
Removed usage of Sys_GetSystemRam(). refs #164
2014-08-06 11:35:42 +02:00
Pat Raynor
6f65394d97
Removed the useless Sys_GetSystemRam and Sys_GetVideoRam
2014-08-01 02:36:04 -04:00
Pat Raynor
afeab489dd
Add more windows versions...
2014-08-01 02:35:12 -04:00
Robert Beckebans
79c4b3ef98
Fixed SDL 1.2 support
2014-05-22 09:55:25 +02:00
Radegast
e1f8597360
Use SDL to find Application Support path. #87
2014-05-22 00:33:58 +01:00
Radegast
c76e9a26ef
Removed objective-c++ code. #87
2014-05-22 00:07:34 +01:00
Radegast
4045be32b1
Replaced procfs dependent functions with native calls on OS X. #87
2014-05-21 22:31:18 +01:00
Radegast
b8676a513f
Replaced MACOS_X define with standardised __APPLE__. #87
2014-05-20 13:51:53 +01:00
Robert Beckebans
05248cce6d
AStyle
2014-05-20 09:29:08 +02:00
Radegast
5304284e90
Added CLOCK_REALTIME support to our custom clock_gettime() function for OS X. #87
...
The monotonic part was written by Gavin Beatty
https://github.com/gavinbeatty/python-monotonic-time/blob/master/darwin.c
2014-05-19 22:53:46 +01:00
Radegast
ca5c463bbd
Added clock_gettime() for OS X which always returns monotonic time. #87
2014-05-19 16:53:20 +01:00
Radegast
764b067825
Avoid 'unknown event' spam when testing with touchpad. #87
2014-05-19 15:52:33 +01:00
Radegast
9b4f849cd5
Get RAM in MB. #87
2014-05-18 23:33:08 +01:00
Radegast
812fb78d52
Initial OS X support. #87
2014-05-18 23:14:28 +01:00
Robert Beckebans
0ca7667fd2
Removed glewExperimental = GL_TRUE hack for SDL 2
2014-05-11 12:28:29 +02:00
Robert Beckebans
5c0fedf190
Patched GLEW to get the extensions with OpenGL >= 3.2 for the case that glGetString(GL_EXTENSIONS) fails
2014-05-11 12:19:10 +02:00
Robert Beckebans
11456a231d
Changed Mesa backend to output GLSL ES 3.00 in order to support shadow mapping
2014-05-11 11:30:56 +02:00
Robert Beckebans
12fd563fce
Merge branch 'advanced-renderer-upgrades' of github.com:RobertBeckebans/RBDOOM-3-BFG into advanced-renderer-upgrades
2014-05-10 15:30:55 +02:00
Robert Beckebans
ade5c434f8
Replaced QGL with GLEW in sdl_glimp.cpp
2014-05-10 15:30:48 +02:00
Robert Beckebans
485417ab41
Removed obsolete sdl_qgl.cpp and fixed some compile errors
2014-05-10 15:29:59 +02:00
RobertBeckebans
8018378c3c
Merge branch 'master' into glew
...
Conflicts:
neo/renderer/OpenGL/glext.h
neo/renderer/OpenGL/qgl.h
neo/renderer/OpenGL/wglext.h
neo/renderer/RenderProgs.cpp
neo/renderer/RenderProgs_GLSL.cpp
neo/renderer/RenderSystem_init.cpp
neo/renderer/tr_backend_draw.cpp
neo/sys/win32/win_qgl.cpp
2014-04-21 15:01:50 +02:00
Robert Beckebans
3b19aa7991
Added glConfig.vendorType settings for Linux and disabled unused shaders. #90
2014-04-20 17:20:50 +02:00
RobertBeckebans
cce21e0d76
Added GLSL ES 1.0 backend for Mesa drivers #90
2014-04-20 16:29:58 +02:00
Andreas Bergmeier
f66591f244
Force format invocations to be correct (on gcc and clang) and fix them.
2014-02-23 19:16:23 +01:00
Robert Beckebans
a315630d7d
Changed astyle-code.sh script to use the system astyle which is 2.03 on Kubuntu 13.10
2014-02-23 15:19:11 +01:00
Andreas Bergmeier
69f7f0eba6
Fix usage of trigraphs.
2014-02-22 11:54:04 +01:00
Christoph Korn
264ffcb6f7
Fix typos
...
Just fix some typos.
2013-12-31 02:23:16 +01:00
Robert Beckebans
7690fb4b8e
Merge branch 'master' into glew
...
Conflicts:
neo/renderer/OpenGL/glext.h
neo/renderer/RenderSystem_init.cpp
2013-12-24 15:49:06 +01:00
Jonathan Young
b3983e582a
astyle
2013-09-21 19:37:12 +10:00
Daniel Gibson
1f5579a697
Fix compilation with SDL2 Release
...
.. they removed ev.key.keysym.unicode - but checking for
SDL_SCANCODE_GRAVE is better anyway to handle console key
2013-08-13 23:08:48 +02:00
Robert Beckebans
fe22638fdd
Merge branch 'master' into glew and fixed a crash on Intel HD drivers
2013-04-23 00:43:00 +02:00
Robert Beckebans
aefa4ac6e3
Merge branch 'master' into glew and fixed a crash on Intel HD drivers
2013-04-23 00:41:54 +02:00
Robert Beckebans
cbd696cc67
Merge remote-tracking branch 'DanielGibson/improve-threading'
2013-03-26 09:58:14 +01:00
Robert Beckebans
dcae311b7f
Renamed in_kbd to in_keyboard
2013-03-26 09:56:48 +01:00
Daniel Gibson
ae02bb54a1
Make it compile with SDL2 again
...
For some reason SDL.h (or headers included by it) need some
string functions (like strncmp) in inline-functions (that we
don't even use).
Str.h has #defines preventing their usage.. so #undef those in
the (few) sourcefiles that need SDL headers
2013-03-24 23:44:13 +01:00
Robert Beckebans
75f7fa3aa8
Removed obsolete old renderer SMP code
2013-03-23 21:33:40 +01:00
Daniel Gibson
07524dadb0
Adapt #includes for moved files, make it build again
...
socket_net.cpp needed some small fixes to build again,
because of imcompatibilities between Winsock and the
real POSIX sockets API.
2013-03-18 00:38:58 +01:00
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
95a1066004
prepare unification of more sys/win32/ and sys/posix/ stuff
...
because the code is almost the same anyway, so
* add win32 support to sys/posix/posix_signin.cpp
* add posix support to sys/win32/win_savegame.cpp
2013-03-18 00:38:40 +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
Daniel Gibson
a2be306fed
Add Winsock support to posix_net.cpp (to remove code duplication)
...
win_net.cpp and posix_net.cpp were almost identical, i.e. caused a lot
of duplicated code.
To get rid of that, unify both files - by adding Winsock support to
posix_net.cpp and, in the next step, moving posix_net.cpp to sys/common/
and removing win_net.cpp
2013-03-17 23:35:12 +01:00
Daniel Gibson
d5898abfa4
Don't use net_port as port to connect to
...
the connect commands supports adding the port with ":"
like "connect 10.1.2.3:27016" - if no port is set, it defaults to 27015
net_port is still used as the port to listen on and to send from.
2013-03-17 23:35:12 +01:00
Daniel Gibson
b38aff8995
Fix sending clients from lobby to game when lobby and game are on same server
...
In the current case (only "direct" lobby backend, i.e. connect to a
server directly), lobby and game are always on the same server anyway..
It used to send the IP of the first network interface.. that kinda works
on Windows and FreeBSD in LANs (i.e. not over the internet or even
behind a NAT), but not at all on Linux, because the first device seems
to be the loopback device there (at least on my machine)..
Now it sends net_ip (so it should even work behind NAT) or, if net_ip is
set to "localhost" (the default), 0.0.0.0 is sent, which the client
interprets as "just use the IP of the lobby you're already connected to"
2013-03-17 23:35:12 +01:00
Daniel Gibson
6e6703b93f
Print net checksums as unsigned int
...
because it actually *is* unsigned and the negative values look strange
2013-03-17 23:35:12 +01:00
Daniel Gibson
e8c8a04c07
rewrote posix_net.cpp based on win_net.cpp
...
And suddenly hosting a server on linux works at least locally
(with client and server on the same machine).
Even though there are still strange bugs (massive lags in one
direction, doesn't work in LAN), at least it works at all now.
2013-03-17 23:33:39 +01:00
Daniel Gibson
5001b49841
try to fix console deadkey problem
2013-03-16 14:32:47 +01:00