Skip to content
Snippets Groups Projects
  1. Jan 25, 2016
  2. Jan 24, 2016
  3. Jan 23, 2016
    • Auke Kok's avatar
      Backface culling: Ignore setting in tiledef from old servers. · 735e3b70
      Auke Kok authored
      Outdated servers are always sending tiledefs with culling
      enabled no matter what, as the value was previously entirely
      ignored.
      
      To compensate, we must (1) detect that we're running against
      an old server with a new client, and (2) disable culling for
      mesh, plantlike, firelike and liquid draw types no matter what
      the server is telling us.
      
      In order to achieve this, we need to bump the protocol version
      since we cannot rely on the tiledef version, and test for it
      being older. I've bumped the protocol version, although that
      should have likely happened in the actual change that introduced
      the new backface_culling PR #3578. Fortunately that's only 2
      commits back at this point.
      
      We also explicitly test for the drawtype to assure we are not
      changing the culling value for other nodes, where it should
      remain enabled.
      
      This was tested against various pub servers, including 0.4.13 and
      0.4.12.
      
      Fixes #3598
      735e3b70
    • est31's avatar
      ef779b0a
    • RealBadAngel's avatar
      Fix texture tear issue · 52eea799
      RealBadAngel authored
      52eea799
    • est31's avatar
      Fix C++11 compilability · e50c784e
      est31 authored
      Previous commits broke it... :(
      e50c784e
  4. Jan 20, 2016
    • paramat's avatar
      Liquid flow: Prevent water spreading on ignore · 0459eca8
      paramat authored
      0459eca8
    • Auke Kok's avatar
      Allow per-tiles culling. · 882a89d6
      Auke Kok authored
      Backface culling is enabled by default for all tiles, as this
      is how the lua parser initializes each tiledef. We revert to
      always using the value from the tiledef since it is always
      read and serialized.
      
      Mods that wish to enable culling for e.g. mesh nodes, now can
      specify the following to enable backface culling:
      
          tiles = {{ name = "tex.png", backface_culling = true }},
      
      Note the double '{' and use of 'name' key here! In the same
      fashion, backface_culling can be disabled for any node now.
      
      I've tested this against the new door models and this properly
      allows me to disable culling per node. I've also tested this
      against my crops mod which uses mesh nodes where culling needs
      to be disabled, and tested also with plantlike drawtype nodes
      where we want this to continue to be disabled.
      
      No default setting has changed. The defaults are just migrated
      from nodedef.cpp to c_content.cpp.
      882a89d6
  5. Jan 19, 2016
  6. Jan 18, 2016
  7. Jan 16, 2016
  8. Jan 15, 2016
  9. Jan 14, 2016
  10. Jan 11, 2016
    • paramat's avatar
      Mapgen: Various fixes and improvements · 8fc8cb81
      paramat authored
      Lua_api.txt: Document 'minetest.registered_biomes'
      Minimal: Remove 'mapgen_air' alias
      Cavegen: Add fallback node for 'mapgen_ice'
      Dungeongen: Add fallback node for 'mapgen_river_water_source'
      Mgv5: Remove unnecessary '#include util/directiontables.h'
      Add missing 'this->'s in makeChunk()
      Mgv6: Edit empty line formatting
      Remove leading spaces in makeChunk()
      Add missing spaces after 'for' and 'if'
      Mgv7: Edit empty line formatting
      8fc8cb81
  11. Jan 10, 2016
  12. Jan 09, 2016
  13. Jan 08, 2016
    • est31's avatar
      Fix redis error reporting · 57a46193
      est31 authored
      Previously, we assumed that reply->str was NULL
      terminated. However, this turned out to be not true,
      as users reported crashes in strlen connected to
      where reply->str was appended to an std::string.
      
      Use the method recomended by the docs, to read the
      length separately.
      57a46193
  14. Jan 07, 2016
  15. Jan 04, 2016
    • ShadowNinja's avatar
      Improve Doxyfile · bd40ee2b
      ShadowNinja authored
      * Add main page.
      * Organize into sections.
      * Add threading sources.
      * Include SpatialAreaStore, LevelDB/Redis, sound, FreeType, and cURL in output.
      * Add logo.
      * Fix project name hardcoding.
      * Remove PAPER_TYPE (only used when GENERATE_LATEX is enabled).
      * Have dot render graphs as SVG (smaller, and works even if dot's text drawing functionality is broken).
      * Enable built-in STL support.
      * Enable search bar.
      * Switch from header-bar based navigation to treeview based navigation.
      * Enable dynamic HTML (collapses graphs).
      * Enable generation timestamp.
      bd40ee2b
    • gregorycu's avatar
      Fix for commit 87dcee6a It uses the wrong variable and only covers some use... · e7e9171f
      gregorycu authored
      Fix for commit 87dcee6a It uses the wrong variable and only covers some use cases. This change covers all use cases.
      e7e9171f
Loading