aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Tidy up generate_from_settingtypes.lua a bit.Tim2016-08-202-57/+57
| | | | | | | | | * 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
* Move generation from settingtypes out of dlg_settings_advancedTim2016-08-202-99/+101
| | | | | | | | | | | Avoids unreachable code linter warning by moving generation code (of minetest.conf.example and settings_translation_file.cpp) out of dlg_settings_advanced. Due to passing the settings, also it avoids reading the settings file twice. Instead of activating the code by changing the active if-clauses, its activation is now done by uncommenting the loadfile() statement.
* Fix for failure to find jsoncpp in android build (#4456)Rogier-52016-08-191-2/+2
| | | Commit 4503b5 did not update the android build script.
* Mapblock mesh: Fix updateFastFaceRow tiling issueobneq2016-08-181-18/+13
| | | | Increase maximum length of tiled node rows from 2 to mapblock size.
* Script API: Make the craft recipe field 'method' consistentSmallJoker2016-08-181-4/+12
|
* Lua_api.txt: Change 'maxwear' to 'uses' in 'tool_capabilities'DonBatman2016-08-141-11/+10
| | | | | 'maxwear' has been deprecated for over 3 years Add spaces around '=' nearby
* Add an [opacity:<r> texture modifier. Makes the base image transparent ↵Thomas--S2016-08-122-0/+40
| | | | according to the given ratio. r must be between 0 and 255. 0 means totally transparent. 255 means totally opaque. Useful for texture overlaying.
* Update AppData file with more URLs and keywordssfan52016-08-121-0/+9
|
* Use the standard to_string() functions for C++11 (#4279)Rogier-52016-08-112-7/+42
| | | | | | | | | | | | 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().
* Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431)Rogier-52016-08-111-0/+2
| | | | | | | | 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.
* couple of memory leaks fixes.David Carlier2016-08-105-3/+23
|
* Update the version of irrlicht to 1.8.3, add steps for Sqlite3DLaboratory2016-08-101-3/+21
| | | | Also add note for 64-bit Windows users
* Zooming the camera requires the 'zoom' privilegeBen Deutsch2016-08-102-1/+5
|
* Document zoom_fov in settingtypes.txt and minetest.conf.exampleBen Deutsch2016-08-102-0/+9
|
* Add zoom, tweakable with zoom_fov, default key: Z (like optifine)Esteban I. Ruiz Moreno2016-08-107-2/+20
|
* Lua->C getintfield() use lua_tointeger (#4408)Tomas2016-08-101-4/+4
| | | | | previously function used tonumber which returned float this caused errors in large numbers and resulted in obj-def-handlers being invalid when retrived from lua tables in c
* Fixes for compiling with a newer (system) jsoncpp (#4429)Rogier-52016-08-1011-8/+13
| | | | | | | | | | | | | | | | | | | | | | | * Move included json code to jsoncpp subdirectory This is needed to avoid having to specify the minetest src directory as a system include when fixing the json includes. * Fix json includes They used "", so that the compiler searches the project's directory first. The result was that when compiling with a system jsoncpp, the project's own version of json.h was still included, instead of the system version. The includes now use <>, so a system location, or one specified with '-Ilocation' is searched only. * Fix for jsoncpp deprecated function warning When compiling with a newer version of jsoncpp (and ENABLE_SYSTEM_JSONCPP=true), jsoncpp emits a warning about a deprecated function that minetest uses.
* Permit usage of std::unordered_map & std::unorderered_set on c++11 compilers ↵Ner'zhul2016-08-108-18/+54
| | | | | | | | | (#4430) This fallback to std::map & std::set for older compilers Use UNORDERED_SET as an example in decoration and ore biome sets Use UNORDERED_MAP as an example in nameidmapping
* Add simulation categoryRémi Verschelde2016-08-101-1/+1
|
* Decorations: Fix decoration height check errorsparamat2016-08-051-2/+6
| | | | | | | | | | 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.
* Mapgen: Remove unused 'flat' and 'trees' flags from mg_flagsparamat2016-08-044-11/+13
| | | | | | | | | | | | | | | | 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.
* Fix l_request_insecure_environment not ignoring all whitespace (#4395)Dorian Wouters2016-08-041-2/+3
| | | | | | 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.
* test_map_settings_manager: Fix Wunused-result warningest312016-08-041-1/+1
|
* Porting: Fix endless loop if image format is not recognizedest312016-08-031-1/+2
|
* texture_packs.txt: Document special texturesSmallJoker2016-07-301-0/+81
|
* Documentation: Create texture_packs.txtrubenwardy2016-07-303-70/+78
| | | | Combine texture_overrides.txt and sections of lua_api.txt
* lua_api.txt: Document how to properly clear node metadatamtango6882016-07-301-0/+1
|
* Update README.txt (#4368)Nathaniel Olsen2016-07-291-2/+2
| | | | | | | | | | * Update README.txt As of Ubuntu 16.10, libpng12-dev is replaced with libpng12-0, since libpng12-0 is available in 16.04 repositories, I think that needed to be changed. Also I changed 'git-core' to 'git' for fedora users, keep it consistent with the ubuntu/debian instructions. * Update README.txt
* buildbot: retrieve short commit hash properlyFernando Carmona Varo2016-07-292-2/+2
| | | | Instead of trying to manually parse the output of 'git show' which can be different across different git configurations, properly use the 'git rev-parse' command that is intended for this purpose.
* Increase android versionCode (#4350)Ner'zhul2016-07-281-1/+1
| | | | This little update is due to a packaging problem when uploading on play store. They don't permit to re upload an APK with same version code. This case was a fail on openssl packaged version which was old and rejected by Google but they don't remove the APK then i should increase the version code to permit having it on play store
* Upright sprite objects: Horizontally flip the front imageSmallJoker2016-07-271-44/+40
| | | | | For consistent horizontal sprite structure when seen from front and back Fix code style
* Main menu, lua_api.txt: Fix mod/texture pack screenshot size issuesWuzzy2016-07-273-3/+38
| | | | | | Recommend mod screenshot size in lua_api.txt Adjust displayed screenshot size of texture packs Document texture pack files in lua_api.txt
* Builtin: Add core.MAP_BLOCKSIZE constantTim2016-07-262-1/+6
|
* Builtin: Fix check for a player object in core.check_player_privsTim2016-07-261-4/+6
| | | | | | | 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-242-18/+87
|
* Mgvalleys / cavegen: Place riverbed nodes under river waterparamat2016-07-212-9/+20
| | | | | 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-211-2/+1
|
* HTTP lua API docs: correct some function referencesest312016-07-121-3/+3
|
* Builtin/profiler: Replace game profiler (#4245)Tim2016-07-129-380/+851
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-2/+2
|
* Treegen: Improve use of signed vs. unsigned integersparamat2016-07-121-3/+3
| | | | | | 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-1231-4478/+5607
|
* Update minetest.conf.example, and settings_translation_file.cppest312016-07-122-6/+35
|
* Translated using Weblate (French)Onyx Steinheim2016-07-121-138/+145
| | | | Currently translated at 100.0% (887 of 887 strings)
* Translated using Weblate (Dutch)ikmaak2016-07-121-2/+2
| | | | Currently translated at 89.6% (795 of 887 strings)
* Translated using Weblate (Indonesian)Muhammad Rifqi Priyo Susanto2016-07-121-120/+116
| | | | Currently translated at 55.8% (495 of 887 strings)
* Translated using Weblate (Spanish)Roberto Mengíbar Fernández2016-07-121-28/+39
| | | | Currently translated at 59.0% (524 of 887 strings)
* Translated using Weblate (French)Guillaume Robert2016-07-121-10/+11
| | | | Currently translated at 91.2% (809 of 887 strings)
* Translated using Weblate (Chinese (China))arsdragonfly2016-07-121-21/+19
| | | | Currently translated at 75.1% (667 of 887 strings)
* Translated using Weblate (Serbian (cyrillic))Лазар Вукановић2016-07-121-272/+306
| | | | Currently translated at 31.5% (280 of 887 strings)