Skip to content
Snippets Groups Projects
  1. Aug 20, 2016
    • Tim's avatar
      Tidy up generate_from_settingtypes.lua a bit. · 65901402
      Tim authored
      * Multiline strings
      * Table-concat instead of String-concats
      * string.rep instead of loop-concat
      * string.format %q instead of manual quotation by gsub
      * Assert writeable files
      * Generate new settings_translation_file
      65901402
  2. Aug 18, 2016
  3. Aug 12, 2016
  4. Aug 11, 2016
    • Rogier's avatar
      Use the standard to_string() functions for C++11 (#4279) · b11720af
      Rogier authored
      If compiling according to a C++ version before C++11, then define
      std::to_string ourselves.
      
      Add a to_wstring version as well
      
      As std::to_string() for floating point types uses %.6f as floating
      point format converter, instead of %G, it needs special care.
      
      To preserve ftos() behavior (which is expected to use the %G format
      converter), it no longer uses to_string().
      b11720af
    • Rogier's avatar
      Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431) · 35f47e54
      Rogier authored
      If a mod is disabled, or upgraded without sufficient backward compatibility,
      then entities it has put into the world become unknown, and continue moving
      around, but are completely unrecognisable.
      
      This change allows the player to see their type, and therefore which mod is
      or was responsible.
      35f47e54
  5. Aug 10, 2016
  6. Aug 05, 2016
    • paramat's avatar
      Decorations: Fix decoration height check errors · b6d845ad
      paramat authored
      Fix height check comparison from '>=' to '>'.
      Fix getHeight() for schematic decorations to account for
      'deco place center y' flag and for how normal placement
      sinks schematic 1 node into the ground.
      
      Jungletrees were not being placed at y = 46, y = 47 despite
      having an acceptable 16 nodes of height above ground surface.
      b6d845ad
  7. Aug 04, 2016
    • paramat's avatar
      Mapgen: Remove unused 'flat' and 'trees' flags from mg_flags · ea12da93
      paramat authored
      When the 'flat' and 'trees' flags were moved into mgv6_spflags they
      were left in mg_flags in an attempt to support old mgv6 worlds. However
      their appearence in mg_flags causes confusion, also, later, old-world
      support was found to be broken for mgv6 worlds with 'notrees'.
      
      This commit cleans up the mess and comes a month after a thread warning
      of the change, and explaining the required action, was posted in the
      news subforum. Only old mgv6 worlds with 'flat' or 'notrees' are
      affected, a small minority of worlds, the required action being
      correctly setting these flags in mgv6_spflags.
      
      Disable a section of the 'map settings manager' unit test which is to
      be changed as it is causing problems for pull requests.
      ea12da93
    • Dorian Wouters's avatar
      Fix l_request_insecure_environment not ignoring all whitespace (#4395) · fca8e538
      Dorian Wouters authored
      l_request_insecure_environment didn't ignore all whitespace in the
      secure.trusted_mods config option.
      
      Replaces std::remove with std::remove_if and the isspace function.
      fca8e538
    • est31's avatar
      4ec66719
  8. Aug 03, 2016
  9. Jul 27, 2016
  10. Jul 24, 2016
  11. Jul 21, 2016
  12. Jul 12, 2016
  13. Jul 09, 2016
  14. Jul 08, 2016
  15. Jul 07, 2016
  16. Jul 05, 2016
  17. Jul 04, 2016
    • est31's avatar
      Temporarily disable "testStartStopWait" Threading unit test on mac · c1bdb552
      est31 authored
      The "testStartStopWait" unit test is unreliably failing on mac,
      for some time already. See bug #3786.
      
      Having the unittest fail unreliably doesn't help anybody but mostly
      inhibits the main feature of travis builds: to test PRs for regressions.
      
      Therefore, disable the specific unit test for until bug #3786
      is fixed.
      c1bdb552
    • Rogier's avatar
      Fix & make linux conditionals uniform (#4278) · 1dfd977e
      Rogier authored
      The source used a hodge-podge of different combinations of different
      macros to check for linux: 'linux', '__linux', '__linux__'.
      
      As '__linux__' is standard (Posix), and the others are not, the source
      now uniformly uses __linux__. If either linux or __linux are defined,
      it is made sure that __linux__ is defined as well.
      1dfd977e
    • est31's avatar
      Disable joysticks per default for now · f6491470
      est31 authored
      It seems that various different devices register as
      Joysticks on linux, and their presence has caused
      lots of confusion amongst minetest users.
      
      Therefore, disable the joystick feature.
      
      Closes #4261
      Closes #4221
      f6491470
  18. Jul 03, 2016
    • est31's avatar
      Remove top left minetest watermark · e1aa98fe
      est31 authored
      Move version information into the window caption.
      
      On popular player request.
      
      Fixes #4209.
      e1aa98fe
    • kwolekr's avatar
      Add MapSettingsManager and new mapgen setting script API functions · 3c63c304
      kwolekr authored
      This commit refactors the majority of the Mapgen settings system.
      - MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap,
        instead of the EmergeManager.
      - New Script API functions added:
          core.get_mapgen_setting
          core.get_mapgen_setting_noiseparams,
          core.set_mapgen_setting, and
          core.set_mapgen_setting_noiseparams.
      - minetest.get/set_mapgen_params are deprecated by the above new functions.
      - It is now possible to view and modify any arbitrary mapgen setting from a mod,
        rather than the base MapgenParams structure.
      - MapgenSpecificParams has been removed.
      3c63c304
    • kwolekr's avatar
      Mapgen: Refactor mapgen creation and management · 92705306
      kwolekr authored
      - Move mapgen creation logic out of EmergeManager and into Mapgen
      - Internally represent mapgen type as an enum value, instead of a string
      - Remove the need for a MapgenFactory per mapgen
      92705306
    • David Carlier's avatar
      openbsd's port fix for non Linux systems w/o libRT · b6eef1c0
      David Carlier authored
      X11 headers are not always in expected locations, add them to include list.
      
      Modifications by est31: indentation fixes, commit message improved
      b6eef1c0
  19. Jun 24, 2016
Loading