Commit Graph

19 Commits

Author SHA1 Message Date
Paul Chote
be29ec5342 Use explicit shader attributes. 2015-12-26 12:50:33 +00:00
Paul Chote
788def1c31 Remove Quad rendering support. 2015-12-26 12:46:55 +00:00
RoosterDragon
c25fe32c9e Load shaders relative to the game directory, rather than the CWD.
If OpenRA is started with a current working directory that does not match the path to the game, then loading shaders will fail. By using a path relative to the game directory, we can successfully start the game with different working directories.
2015-12-23 19:19:02 +00:00
Pavel Penev
4ce1444c6b Fix shader loading
Also remove now redundant mounting of the game directory
2015-12-14 03:42:24 +02:00
Pavel Penev
1b88d24cfa Unstatic GlobalFileSystem and rename it to FileSystem
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
RoosterDragon
765bc4fa72 When the SDL hardware cursor fails, ensure more of the error message is logged.
Capture the useful details from the inner exception into the message, as this will be logged.
2015-12-08 22:51:55 +00:00
Pavel Penev
a4b755dd87 Merge pull request #9791 from RichSuther/upstream/fix-keyboard-filter
Added Keyboard input filter to only register first key press.
2015-12-02 21:56:05 +02:00
abcdefg30
c35f9007c3 Merge pull request #9582 from ChaoticMind/ctrl_backspace
Implement some keyboard hotkeys for chat (TextFieldWidget)
2015-11-18 20:48:05 +01:00
RichSuther
57cd25d5f8 Added Keybord input filter to only register first key press. 2015-10-28 12:08:54 +00:00
Paul Chote
b08adbeb61 Add support for boolean uniforms. 2015-10-17 22:35:47 +01:00
Kevin Azzam
96c0c2dec6 Make ctrl+x cut to clipboard 2015-10-12 18:58:26 +02:00
Oliver Brakmann
ebfe5a3fd7 Merge pull request #9474 from obrakmann/pr9217
Ensure that we have a working OpenGL context.
2015-09-28 18:26:51 +02:00
Guido L
d0447fd97e Ensure that we have a working OpenGL context. 2015-09-28 18:20:35 +02:00
Paul Chote
d112083c44 Clean up sound devices on game exit. 2015-09-20 22:46:07 +01:00
RoosterDragon
fc436f1aab Added thread-affinity checks to SDL2 renderer.
If a call is made into a graphics resource that has thread-affinity, from a thread other than the one that created the graphics device, an exception will now be thrown to make debugging easier.
2015-09-18 21:04:21 +01:00
Matthias Mailänder
4059f83b7e remove redundant namespace repetition 2015-08-23 07:58:06 +02:00
Matthias Mailänder
bfc7013ba4 avoid magic numbers 2015-08-23 07:58:06 +02:00
Matthias Mailänder
6abd21e71d explicitly set the OpenTK GL context 2015-08-23 07:58:06 +02:00
Matthias Mailänder
17f3466451 untie the engine from SDL2 and MiniTK 2015-08-23 07:58:03 +02:00