Commit Graph
5952 Commits
Author SHA1 Message Date
Michał Janiszewski e0bb89d1d6 Explicitly request OpenGL 3.3 context 2016-06-12 17:45:18 -05:00
Ted John f5604c6b69 add missing GetUniformLocation 2016-06-12 22:37:44 +01:00
Michał Janiszewski 0503b88071 Cast shader program 2016-06-12 19:22:50 +02:00
Ted John fa4662be42 add missing include 2016-06-12 17:44:58 +01:00
Ted John f6665a188a add missing DISABLE_OPENGL guards 2016-06-12 15:47:51 +01:00
Ted John 3c96171801 reduce redundant state changes 2016-06-12 00:07:01 +01:00
Ted John e771834b87 fix offset of FillRect and DrawLine 2016-06-11 23:24:19 +01:00
Ted John f796ef5122 fix drawing of text 2016-06-11 23:14:22 +01:00
Ted John 4896d14940 extract texture generation code to new class 2016-06-11 19:13:18 +01:00
Ted John 8185a88e47 implement drawing solid coloured sprites 2016-06-11 18:28:03 +01:00
Ted John 33799d2ab9 remove deprecated OpenGL functions 2016-06-11 17:46:54 +01:00
Ted John e3ecb91b91 implement DrawLine with shader 2016-06-11 17:43:53 +01:00
Ted John e34ee15738 implement overlay transparency for FillRect 2016-06-11 16:46:24 +01:00
Ted John 2a569dc062 implement a ping-pong framebuffer 2016-06-11 15:18:31 +01:00
Ted John db01547ae6 implement OpenGL screenshot 2016-06-11 03:06:30 +01:00
Ted John b0b0b82fd1 implement scaling for OpenGL 2016-06-11 02:24:39 +01:00
Ted John 36c71c1398 implement FillRect transparancy 2016-06-11 00:04:13 +01:00
Ted John 84ca31a240 implement masked image shader 2016-06-10 20:17:00 +01:00
Ted John 808afe0a81 add drawimage shader and optimise 2016-06-10 17:54:29 +01:00
Ted John a9d49838fa add cross pattern support for fillrect shader 2016-06-10 17:54:29 +01:00
Ted John c48031581b get the fillrect shader working 2016-06-10 17:54:29 +01:00
Ted John dc7b8b4d3b add initial shader code 2016-06-10 17:54:29 +01:00
Yaroslav Tretyakov 379b85f94c send fix #3836 (#3850) 2016-06-09 23:04:02 +01:00
Ted John 1761907f57 handle bad map data and close connection 2016-06-09 18:37:12 +01:00
dVoCex 27b3c71588 Send the correct map size to the master server (#3821)
Signed-off-by: dVoCex <dVoCex@users.noreply.github.com>
2016-06-09 12:32:25 +01:00
Ted John 3bef65f754 Merge pull request #3824 from X123M3-256/fix_segfault
Fix segfault when passing invalid arguments to ride set type
2016-06-09 12:31:37 +01:00
Alexander Overvoorde ca1590c086 Add parameter to utf8_remove_formatting to allow colour codes (fixes #3638) (#3831) 2016-06-09 12:30:32 +01:00
Michał Janiszewski 4b152bac88 Make sure data sent out over wire is advanced properly (#3844) 2016-06-09 12:29:44 +01:00
Michał Janiszewski 74780b3e70 Minor fixes to #3803 (#3843) 2016-06-08 23:40:56 +01:00
Ted John 5a69e262d7 delete drawing engine if it fails to initialise 2016-06-08 18:14:26 +01:00
Ted John 601f8901e3 rename rain.cpp to Rain.cpp 2016-06-08 18:05:58 +01:00
Michał Janiszewski 39472ce3f3 Update CMake targets with OpenGL linking (#17) 2016-06-08 13:28:33 +01:00
Ted John 40bd085f35 add OPENGL_NO_LINK ability for all platforms 2016-06-07 22:47:31 +01:00
Ted John 876336f455 fallback to software mode if engine fails to initialise 2016-06-07 22:47:31 +01:00
Ted John f14ea6873c dynamically import OpenGL functions 2016-06-07 22:47:31 +01:00
Ted John 79292b56ad allow disabling of OpenGL 2016-06-07 22:47:31 +01:00
Ted John 313110ab8d reinstate hardware display 2016-06-07 22:47:31 +01:00
Ted John 3b627651aa add drawing engine config 2016-06-07 22:47:31 +01:00
Ted John 0aba395c39 invalidate images on object load 2016-06-07 22:45:36 +01:00
Ted John ffd7b7f7e0 implement draw line for OpenGL 2016-06-07 22:45:36 +01:00
Ted John 18f3aa12a1 fix scrolling text 2016-06-07 22:45:36 +01:00
Ted John 5ca2b12f94 fix FillRect on OpenGL 2016-06-07 22:45:36 +01:00
Ted John 996202ac43 remove gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John 932dec75d0 do not shift viewport pixels on OpenGL 2016-06-07 22:45:36 +01:00
Ted John a8fed0c4b8 remove more references to gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John ebd9710fdf fix intro with new drawing 2016-06-07 22:45:36 +01:00
Ted John 83fc6ec4af remove usages of gScreenDPI and gWindowDPI 2016-06-07 22:45:36 +01:00
Ted John ccec48e382 do not draw windows twice on OpenGL 2016-06-07 22:45:36 +01:00
Ted John 8edc97bebe add support for OpenGL extensions 2016-06-07 22:45:36 +01:00
LRFLEW 3a7ab9b20a Updated Xcode Project (#15) 2016-06-07 22:45:36 +01:00