aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Builtin: Add core.MAP_BLOCKSIZE constantTim2016-07-26
|
* Builtin: Fix check for a player object in core.check_player_privsTim2016-07-26
| | | | | | | core.check_player_privs accepts as first argument a name or player object, but just tested for a string. This caused crashes inside builtin, when being passed any unexpected types. This provides a better (duck-typing like) test, better error reporting.
* Update minetest.conf.example and the settings translation fileest312016-07-24
|
* Mgvalleys / cavegen: Place riverbed nodes under river waterparamat2016-07-21
| | | | | When a CavesNoiseIntersection tunnel intersects a river place biome 'riverbed' nodes in tunnel entrance instead of biome 'top' nodes.
* lua_api.txt: Remove tooltip checkbox[] elementJames Stevenson2016-07-21
|
* HTTP lua API docs: correct some function referencesest312016-07-12
|
* Builtin/profiler: Replace game profiler (#4245)Tim2016-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the setting "profiler.load" to enable profiling. Other settings can be found in settingtypes.txt. * /profiler print [filter] - report statistics to in-game console * /profiler dump [filter] - report statistics to STDOUT and debug.txt * /profiler save [format [filter]] - saves statistics to a file in your worldpath * txt (default) - same treetable format as used by the dump and print commands * csv - ready for spreadsheet import * json - useful for adhoc D3 visualizations * json_pretty - line wrapped and intended json for humans * lua - serialized lua table of the profile-data, for adhoc scripts * /profiler reset - reset all gathered profile data. This can be helpful to discard of any startup measurements that often spike during loading or to get more useful min-values. [filter] allows limiting the output of the data via substring/pattern matching against the modname. Note: Serialized data structures might be subject to change with changed or added measurements. csv might be the most stable, due to flat structure. Changes to the previous version include: * Updated and extended API monitoring * Correct calculation of average (mean) values (undistorted by idleness) * Reduce instrumentation overhead. * Fix crashes related to missing parameters for the future and occasional DIV/0's. * Prevent issues caused by timetravel (overflow, timejump, NTP corrections) * Prevent modname clashes with internal names. * Measure each instrumentation individually and label based on registration order. * Labeling of ABM's and LBM's for easier classification. Giving several ABM's or LBM's the same label will treat them as one. Missing labels will be autogenerated based on name or registration order. * Configurable instrumentation and reporting. Skip e.g. builtin if you don't need it. * Profile the profiler to measure instrumentation overhead.
* Lua_api.txt: Fix description of node drop behaviourDuane2016-07-12
|
* Treegen: Improve use of signed vs. unsigned integersparamat2016-07-12
| | | | | | To fix GCC 6.1.1 compilation warning: 'assuming signed overflow does not occur when assuming that (X - c) > X is always false'
* Run updatepo.shest312016-07-12
|
* Update minetest.conf.example, and settings_translation_file.cppest312016-07-12
|
* Translated using Weblate (French)Onyx Steinheim2016-07-12
| | | | Currently translated at 100.0% (887 of 887 strings)
* Translated using Weblate (Dutch)ikmaak2016-07-12
| | | | Currently translated at 89.6% (795 of 887 strings)
* Translated using Weblate (Indonesian)Muhammad Rifqi Priyo Susanto2016-07-12
| | | | Currently translated at 55.8% (495 of 887 strings)
* Translated using Weblate (Spanish)Roberto Mengíbar Fernández2016-07-12
| | | | Currently translated at 59.0% (524 of 887 strings)
* Translated using Weblate (French)Guillaume Robert2016-07-12
| | | | Currently translated at 91.2% (809 of 887 strings)
* Translated using Weblate (Chinese (China))arsdragonfly2016-07-12
| | | | Currently translated at 75.1% (667 of 887 strings)
* Translated using Weblate (Serbian (cyrillic))Лазар Вукановић2016-07-12
| | | | Currently translated at 31.5% (280 of 887 strings)
* Added translation using Weblate (Serbian (cyrillic))Лазар Вукановић2016-07-12
|
* Translated using Weblate (Esperanto)Tim2016-07-12
| | | | Currently translated at 32.2% (286 of 887 strings)
* Translated using Weblate (Chinese (China))susan2016-07-12
| | | | Currently translated at 74.1% (658 of 887 strings)
* Fix typos (#4298)Snipie2016-07-10
|
* Ubuntu build HOWTO: Suggest to install git instead of git-coreest312016-07-08
| | | | | | | | | | | | The package docs for the git-core Ubuntu package in all supported Ubuntu versions, including 12.04 say: This is a transitional dummy package. The 'git-core' package has been renamed to 'git', which has been installed automatically. This git-core package is now obsolete, and can safely be removed from the system if no other package depends on it. Fixes #4109
* Fix -Wterminate warnings in rollback.cpp as wellest312016-07-08
| | | | Fix #4137 for rollback.cpp as well.
* Fix -Wterminate warning on GCC 6est312016-07-08
| | | | Fixes #4137
* Fix warning in porting::setXorgWindowIcon when building without X11 (#4288)Jay Arndt2016-07-07
|
* Adding minetest.clear_craftFoghrye42016-07-05
| | | | | Modifications by est31: grammar fixes in doc + error messages and a little style fix, no functional change.
* Use mathematical function to determine yaw directionsfan52016-07-05
|
* Fix for cropped text "Toggle Cinematic"Snipie2016-07-05
|
* Remove cinematic toggle on F8rubenwardy2016-07-05
| | | | Also update cinematic mode's description to include mouse
* Finally set a window icon on X11est312016-07-05
| | | | | | | | | | Since the creation of minetest, it had no window icon on X11. Now we have one. The misc/minetest-xorg-icon-128.png file is a rendering of the misc/minetest.svg file with inkscape, created with something like: inkscape -z -e misc/minetest-xorg-icon-128.png -w 128 -h 128 misc/minetest.svg
* Temporarily disable "testStartStopWait" Threading unit test on macest312016-07-04
| | | | | | | | | | | 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.
* Fix & make linux conditionals uniform (#4278)Rogier-52016-07-04
| | | | | | | | 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.
* Disable joysticks per default for nowest312016-07-04
| | | | | | | | | | | 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
* Remove top left minetest watermarkest312016-07-03
| | | | | | | | Move version information into the window caption. On popular player request. Fixes #4209.
* Add MapSettingsManager and new mapgen setting script API functionskwolekr2016-07-03
| | | | | | | | | | | | | | | 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.
* Mapgen: Refactor mapgen creation and managementkwolekr2016-07-03
| | | | | | - 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
* Remove old docs. We have VCS history anyways. (#4266)Pavel Puchkin2016-07-03
|
* openbsd's port fix for non Linux systems w/o libRTDavid Carlier2016-07-03
| | | | | | X11 headers are not always in expected locations, add them to include list. Modifications by est31: indentation fixes, commit message improved
* Only allow strings to be passed to minetest.global_exists (#4253)HybridDog2016-06-28
| | | | | Sometimes you accidentally forget the quotes when using global_exists, this makes minetest abort if you did so. M builtin/common/strict.lua
* Also shut down when SIGTERM was receivedest312016-06-24
| | | | Fixes #4251
* Mgflat/fractal/v7/valleys: Denser 3D noise tunnelsparamat2016-06-24
| | | | | | | Reduce spread from 96 to primes 61 and 67 (either side of 64) Prime spreads help to keep 3D noise periodic features unaligned 'cave width' 0.2 to preserve tunnel width Reduce octaves to 3 to improve network structure
* Player: New get_look, set_look APIraymoo2016-06-24
| | | | Deprecate get_look / set_look pitch / yaw
* Dungeons: Generalise use, add capabilities, various modificationsparamat2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generalise node names to c_wall and c_alt_wall - Remove 'mossratio' and instead disable alt_wall loop if c_alt_wall == CONTENT_IGNORE - Use one generalised 3D noise for alternative wall nodes and in mgv6 create moss distribution similar to the previous - Rename rarity noise to density noise and enable the option of multiple dungeons per chunk determined by the value. Recreate previous distribution - Add parameters for min and max rooms per dungeon - Add dungeon y limits - Integrate river water properly Generalisation is needed now that we have sandstone and desert stone dungeons by default and can choose any node for alternative structure. The current code is based around cobble dungeons with mossycobble alternative nodes, the 2 noises controlling the alternative nodes are based on wetness. Enabling multiple dungeons per chunk with definable number of rooms allows the option of very dense and complex underground structures that could interconnect to create megastructures. Y limits are added to be consistent with other mapgen elements, and enable locaton of dungeon or megastructure realms as part of our 'stacked realms' philosophy.
* Builtin/game/item: Add `place_param2` nodedef fieldAuke Kok2016-06-17
| | | | | | | | | | | | | | | This allows a nodedef to specify a fixed value for param2 to be used for all normal placements. There are several uses for this: - nodes that require param2 to be set to a non-zero value for internal mod use. E.g. leafdecay could use this to detect that leaves are played by players. - force wallmounted or facedir value at placement at placement This overrides any player look direction or other on-the-fly param2 setting during placement.
* Move unknown node message when applying texture overrides to infostream (#4218)Yutao Yuan2016-06-14
| | | Texture packs have no way to know what nodes are available, so this shouldn't be a error message.
* Sky.cpp: Improve code style. Define sky colours as SColorparamat2016-06-11
|
* Make node timers more efficientEkdohibs2016-06-11
|
* Random misc. warning fixes and cleanupskwolekr2016-06-11
| | | | | | - Fix unused c_sand member warning in Valleys Mapgen - Fix some code style - Make some std::string params const ref
* Settings: Clean up settings changed callback codekwolekr2016-06-11
|