Commit graph

8466 commits

Author SHA1 Message Date
Learath2 461958828b Update cmake before building 2017-09-14 22:08:59 +02:00
Jupeyy f2820ea392 use 4*4 array instead of declearing a full matrix class 2017-09-14 19:47:04 +02:00
Jupeyy f48e186bfd use CLineReader instead of fgets, also delete program at destruct 2017-09-14 19:35:31 +02:00
Jupeyy b6e4b4b4a6 detach shaders automatically after linking 2017-09-14 19:34:14 +02:00
Learath2 9543b05e31 Fix globbing mistake, install xz-utils 2017-09-14 16:03:38 +02:00
Learath2 71a15f39c6 Tidy up circle.yml, test artifact collection 2017-09-14 16:03:38 +02:00
Learath2 fdac17ceb4 Merge pull request #864 from heinrich5991/pr_ddnet_older_cmake_package
Add compatibility with older CMake for `package`
2017-09-14 15:54:42 +02:00
Jupeyy 4fec86a354 support old opengl version with only 2 vertex coordinates 2017-09-14 08:03:33 +02:00
Jupeyy 3bdd8c19ac delete primitive index buffer at shutdown too 2017-09-14 03:54:22 +02:00
Jupeyy 1df1731b01 use glDeleteVertexArrays instead of glDeleteBuffers 2017-09-14 03:50:42 +02:00
Jupeyy 211f8a6b11 only allow changing to use single/multiple texture units at restart 2017-09-14 02:58:13 +02:00
Jupeyy 1167ab822c reduce upload since of vertices if drawing quads 2017-09-14 02:50:31 +02:00
Jupeyy 77b3c39553 allow disabling texture unit optimization by command, also use
drawelements instead of drawarrays for quads
2017-09-14 02:49:35 +02:00
Jupeyy a530764ec1 only upload vec2 for vertex 2017-09-14 02:48:39 +02:00
heinrich5991 a34b1f4dd7 Add compatibility with older CMake for package 2017-09-13 22:38:25 +02:00
Jupeyy 5c7c09d380 fixing most wrong code pattern 2017-09-13 20:33:58 +02:00
Jupeyy 7e0146be97 replace tabs with spaces 2017-09-13 20:09:40 +02:00
Jupeyy 948d768c9c out the frag color 2017-09-13 18:49:43 +02:00
Jupeyy a3658e5526 store alpha textures always as RGBA 2017-09-13 18:32:08 +02:00
Jupeyy 74cccdeed0 output use_maxosxframework 2017-09-13 17:42:09 +02:00
Dennis Felsing e68992518d Merge pull request #862 from ChillerDragon/master
removed crypto lib from bam.lua (macOS compile improvement)
2017-09-13 13:39:46 +02:00
Chiller Dragon 939ea3c918 removed crypto lib from bam.lua (macOS compile improvement) 2017-09-13 12:30:07 +02:00
Jupeyy cf7878f46a update shaders to not use any decrecated GLSL function/variable 2017-09-13 01:36:17 +02:00
Jupeyy fd83d2834d dont draw layer if our view is out of the layers range 2017-09-12 23:16:01 +02:00
Jupeyy c437b5bb89 use 64 bit variable 2017-09-12 21:06:12 +02:00
Jupeyy de43d410fe merged cmakelist 2017-09-12 21:03:27 +02:00
Jupeyy 629bf2c5f9 Merge branch 'master' of https://github.com/ddnet/ddnet 2017-09-12 20:24:58 +02:00
Jupeyy 0caa70f0a1 support buffering of tile layers, draw them with the buffer objects and
some optimazations to border drawing
2017-09-12 20:22:18 +02:00
Jupeyy 9d2a625363 create overlay textures for entity overlays, instead of rendering glyphs 2017-09-12 20:15:37 +02:00
Jupeyy 6dc4d1e578 only allow a maximal zoom factor to make sure no bufferoverflow happens 2017-09-12 20:14:34 +02:00
Jupeyy 93138c1fba make background class inherited from maplayers and change some things in
maplayers instead, so the background class can profit from buffering
2017-09-12 20:13:53 +02:00
Jupeyy 96694fb399 make new opengl version optionally 2017-09-12 20:12:37 +02:00
Jupeyy 92bf979467 add new functions to interface to support buffering and rendering
visual objects(opengl objects)
2017-09-12 20:11:47 +02:00
Jupeyy 2af3393810 add glyph upload for custom textures 2017-09-12 20:11:14 +02:00
Jupeyy 6a7e3d5836 add a glyph upload for custom textures 2017-09-12 20:10:27 +02:00
Jupeyy bcb5f0ca8d add new programs for various gpu render tasks, and some more uniform
setter
2017-09-12 20:09:40 +02:00
Jupeyy a477540358 add new commands to buffer objects and draw them 2017-09-12 20:08:45 +02:00
Jupeyy 5f2ccf2960 add support for buffer objects and vertex object, and its draw calls 2017-09-12 20:07:38 +02:00
Jupeyy 8d982df9f2 add various shaders for various GPU tasks 2017-09-12 20:05:05 +02:00
Jupeyy 2bc27e5f9d remove quad shaders renamed to prim(primitive) 2017-09-12 20:04:34 +02:00
Jupeyy 992dcbfaa4 added libglew to readme 2017-09-12 20:03:35 +02:00
Jupeyy 4d8cf36e29 add GLEW to cmake 2017-09-12 20:03:06 +02:00
Jupeyy 49ebab1e1b added few ignores 2017-09-12 20:02:33 +02:00
def 73d9ad7615 Really only download ddnet-info.json at correct time 2017-09-08 22:16:00 +02:00
def 715ac673ec Version 10.8.6 2017-09-08 22:01:51 +02:00
def 0302393512 builds now 2017-09-08 21:01:38 +02:00
def 874c8381f2 macosx freetype try 2017-09-08 20:48:53 +02:00
def e7e1070adf WinXP: Use http://info.ddnet.tw 2017-09-08 20:06:48 +02:00
def c2c453bd45 Make sending name to info.ddnet.tw optional, show dialog at start and some minor fixes 2017-09-07 20:51:46 +02:00
Dennis Felsing 84a30ff8c8 Merge pull request #858 from rffontenelle/patch-1
Update Brazilian Portuguese translation
2017-09-06 15:15:15 +02:00