Skip to content
Snippets Groups Projects
  1. Feb 11, 2016
    • Diego Martínez's avatar
      Initialize facedir and wallmounted tables only once. · 13dd7959
      Diego Martínez authored
      This makes the functions a bit faster since they don't
      have to recreate the tables every invocation, and makes
      the code more readable.
      
      Also, document `wallmounted_to_dir`.
      
      The function was implemented but not documented in `lua_api.txt`.
      13dd7959
  2. Jan 07, 2016
  3. Dec 20, 2015
  4. Dec 02, 2015
  5. Nov 12, 2015
  6. Oct 04, 2015
  7. Sep 29, 2015
    • est31's avatar
      Some map border related fixes · 2a7d01b8
      est31 authored
      1. Check for entity addition success in spawn_item implementation
      2. Check for success in item_drop callback, so that the player
      doesn't lose the item if they are outside bounds and try to drop it.
      3. When existing player joins game, check that their position is inside
      map bounds. If not, set their position to the return value of findSpawnPos().
      4. Make findSpawnPos() respect the border
      
      2 fixes a lua crash if a player drops an item outside map bounds.
      3 fixes an assertion crash if a player leaves when being outside map bounds,
      and then rejoins.
      2a7d01b8
  8. Aug 13, 2015
  9. Feb 16, 2015
  10. Jun 10, 2014
  11. May 27, 2014
  12. May 08, 2014
  13. May 07, 2014
  14. Mar 11, 2014
  15. Jan 24, 2014
  16. Jan 22, 2014
  17. Jan 11, 2014
  18. Jan 07, 2014
  19. Dec 30, 2013
  20. Nov 30, 2013
  21. Nov 02, 2013
  22. Nov 01, 2013
  23. Oct 16, 2013
  24. Sep 28, 2013
  25. Aug 06, 2013
  26. Jul 24, 2013
  27. Jul 02, 2013
  28. May 25, 2013
    • sapier's avatar
      Move scriptapi to separate folder (by sapier) · ab433775
      sapier authored
      On the lua side, notably minetest.env:<function>(<args>) should now
      be replaced by minetest.<function>(<args>).
      The old way is and will stay supported for a long time.
      
      Also:
      Update and clean up lua_api.txt (by celeron55)
      Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
      Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
      ab433775
  29. Apr 02, 2013
  30. Mar 29, 2013
    • 0gb.us's avatar
      Fix node replacement in not-quite-loaded chunks · 02cbb581
      0gb.us authored
      When first entering an area, sometimes placing nodes replaces other nodes that are not buildable_to. This seems to be caused by the fact that nodes in unloaded map blocks are treated as ignore, a node that is buildable_to. This fixes that, by using get_node_or_nil() instead of the previously-used get_node(), then checking to see if the nodes were actually loaded before replacing.
      02cbb581
  31. Feb 21, 2013
  32. Feb 19, 2013
  33. Feb 13, 2013
  34. Feb 12, 2013
  35. Jan 27, 2013
  36. Jan 04, 2013
  37. Dec 17, 2012
  38. Dec 02, 2012
Loading