Skip to content
Snippets Groups Projects
  1. May 12, 2016
  2. May 11, 2016
  3. May 10, 2016
  4. May 09, 2016
  5. May 08, 2016
  6. May 07, 2016
  7. May 06, 2016
  8. May 05, 2016
  9. May 04, 2016
  10. May 03, 2016
  11. May 02, 2016
    • Zeno-'s avatar
      Fix Windows build · c92cff5d
      Zeno- authored
      Fixes the issue introduced by c1a0ebb7 (Fix use of uninitialised variable
      in class Event) causing Windows builds to fail
      c92cff5d
  12. May 01, 2016
    • Kahrl's avatar
    • Auke Kok's avatar
      find_path: consider walkable instead of CONTENT_AIR · aa8c88cf
      Auke Kok authored
      The path finding code works fairly well except that it considers
      anythin not CONTENT_AIR to be "above the surface". This results in
      paths that are unwalkable for entities since e.g. plants are not
      walkable. The path would force them to jump on top of grass plants,
      etc..
      
      The obvious solution is not to use CONTENT_AIR as a criteria, but
      instead distinguish between walkable and non-walkable nodes. This
      results in paths that properly walk through grass nodes.
      
      This was extensively tested by a flock of electric sheep.
      
      Note that for underwater purposes this changes the behaviour from
      "the surface is walkable" to "ignore water entirely" making the
      path go across the water bottom, and pathing fail likely from the
      water surface. This is intentional.
      aa8c88cf
Loading