Skip to content
Snippets Groups Projects
  1. Feb 09, 2016
  2. Feb 08, 2016
    • RealBadAngel's avatar
    • Diego Martínez's avatar
      builtin: Fix `print` crashing on nil "holes". · 43019538
      Diego Martínez authored
      The engine implementation of `print` packs the varargs into a
      table and passes the table directly to `table.concat`. If you
      pass any value not supported by `table.concat` (particularly
      `nil`), the server crashes. This is unexpected behavior, as
      `print` is supposed to be able to work with anything.
      
      This patch changes the implementation so it first converts
      all arguments using `tostring`, which fixes the issue and
      makes the custom `print` function compatible with the stock
      Lua behavior.
      43019538
  3. Feb 07, 2016
  4. Feb 04, 2016
  5. Jan 31, 2016
    • Duane Robertson's avatar
      Mgvalleys: use standard caves · 80c7612e
      Duane Robertson authored
      Replace simple caves with V5 caves, adding unpredictable water and lava
      settings and massive caves based on subterrain. Remove fast terrain mode
      and accompanying settings. Remove superfluous temperature/humidity
      settings. Remove lava/water height setting. Fix errors in humidity
      handling and remove humidity_break_point setting. Move cave noises to
      generateCaves. Fix minor formatting/naming issues and use
      MYMAX/MYMIN/myround.
      80c7612e
  6. Jan 29, 2016
    • Auke Kok's avatar
      New timer design. · ad884f23
      Auke Kok authored
      I could honestly not make much sense of the timer implementation
      that was here. Instead I've implemented the type of timer algorithm
      that I've used before, and tested it instead.
      
      The concept is extremely simple: all timers are put in an ordered
      list. We check every server tick if any of the timers have
      elapsed, and execute the function associated with this timer.
      
      We know that many timers by themselves cause new timers to be
      added to this list, so we iterate *backwards* over the timer
      list. This means that new timers being added while timers are
      being executed, can never be executed in the same function pass,
      as they are always appended to the table *after* the end of
      the table, which we will never reach in the current pass over
      all the table elements.
      
      We switch time keeping to minetest.get_us_time(). dtime is
      likely unreliable and we have our own high-res timer that we
      can fix if it is indeed broken. This removes the need to do
      any sort of time keeping.
      ad884f23
  7. Jan 24, 2016
  8. Jan 18, 2016
  9. Jan 16, 2016
    • Rogier's avatar
      Fix error message in settings tab overlapping 'save' button · 487ab593
      Rogier authored
      The save button is now fully functional again when an error message
      is shown.
      
      After an invalid value is entered in the settings tab dialog, the GUI
      label for the error message that is shown was partly overlapping the
      'save' button, so that the top half of the button could not be clicked
      on.
      487ab593
  10. Jan 14, 2016
  11. Jan 10, 2016
  12. Jan 09, 2016
    • Dalai Felinto's avatar
      New 3D Mode: Pageflip · 9943ae3f
      Dalai Felinto authored
      The pageflip mode requires a stereo quadbuffer, and a modern graphic
      card. Patch tested with NVidia 3D Vision.
      
      The mini-map is not drawn, but that's what is done for topbottom and
      sidebyside modes as well.
      
      Also most of the time the user would prefer the HUD to be off. That's
      for the user to decide though, and toggle it manually.
      
      Finally, the interocular distance (aka eye separation) is twice as much
      as the "3d_paralax_strength" settings. I find this a strange design
      decision. I didn't want to chance this though, since it's how the other
      3d modes interpret this settings.
      9943ae3f
  13. Jan 07, 2016
  14. Dec 26, 2015
  15. Dec 20, 2015
  16. Dec 15, 2015
    • paramat's avatar
      Mgfractal: Add 3D and 4D fractals · c26eb87a
      paramat authored
      3D Mandelbrot/Mandelbar
      3D Christmas Tree
      3D Mandelbulb
      3D Cosine Mandelbulb
      4D Mandelbulb
      Plus corresponding julia set for each
      Add credits for formulas
      Rename parameter 'formula' to 'fractal'
      Speed optimisations
      c26eb87a
  17. Dec 10, 2015
    • est31's avatar
      Fix some setting documentation · 8e3602f6
      est31 authored
      * Horizontal and vertical are used wrongly. Use height and width because
      	horizontal/vertical describes different things. Thanks @kilbith for pointing out.
      * Update minetest.conf.example and settings_translation_file.cpp
      * Correct maximum/minimum copy paste mistake.
      8e3602f6
  18. Dec 02, 2015
  19. Nov 24, 2015
  20. Nov 23, 2015
  21. Nov 21, 2015
    • paramat's avatar
      Mapgen: Add global 'decorations' flag · d7bbe817
      paramat authored
      Flag is set by default in MapgenParams
      The global 'trees' flag remains but is now
      undocumented and unset by default in MapgenParams
      Add mgv6_spflag 'trees' set by default in
      defaultsettings.cpp to affect new worlds only
      This is automatically backwards
      compatible for existing worlds
      d7bbe817
    • Rui's avatar
      Log static_spawn error only once · 4fd394b6
      Rui authored
      4fd394b6
  22. Nov 15, 2015
  23. Nov 14, 2015
  24. Nov 13, 2015
  25. Nov 12, 2015
  26. Nov 11, 2015
  27. Nov 08, 2015
    • est31's avatar
      Settings tab: add v3f type · 9a91f58e
      est31 authored
      Add the v3f type, currently is just a nice placeholder for string.
      Currently undocumented, on wish of @PilzAdam, to support future changes.
      9a91f58e
  28. Nov 07, 2015
  29. Nov 06, 2015
    • paramat's avatar
    • est31's avatar
      Add server side ncurses terminal · 5e507c98
      est31 authored
      This adds a chat console the server owner can use for administration
      or to talk with players.
      It runs in its own thread, which makes the user interface immune to
      the server's lag, behaving just like a client, except timeout.
      As it uses the same console code as the f10 console, things like nick
      completion or a scroll buffer basically come for free.
      The terminal itself is written in a general way so that adding a
      client version later on is just about implementing an interface.
      
      Fatal errors are printed after the console exists and the ncurses
      terminal buffer gets cleaned up with endwin(), so that the error still
      remains visible.
      
      The server owner can chose their username their entered text will
      have in chat and where players can send PMs to.
      Once the username is secured with a password to prevent anybody to
      take over the server, the owner can execute admin tasks over the
      console.
      
      This change includes a contribution by @kahrl who has improved ncurses
      library detection.
      5e507c98
  30. Nov 05, 2015
  31. Nov 04, 2015
  32. Nov 03, 2015
  33. Oct 31, 2015
  34. Oct 29, 2015
    • paramat's avatar
      findSpawnPos: Add setting for max height above water level · c0a7c670
      paramat authored
      Increase default from 6 to 16 to help with mgv7 and mgfractal
      Large-scale or alternative mapgens can result in a lowland spawn point not
      being found, causing a spawn at (0, 0, 0) possibly buried underground
      The max height is now settable to allow correct player spawn
      in any mapgen or when using custom noise parameters
      c0a7c670
  35. Oct 25, 2015
Loading