aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add keycode.cpp unittestssfan52016-09-25
|
* Rewrite keycode.cpp (Keycode handling & names)sfan52016-09-25
|
* Conf.example: Re-add deleted noise parameter documentationparamat2016-09-23
| | | | | | | | Re-add documentation of noise parameter formats. Re-add 'mgv5_np_ground' noise parameters in group format. Both these were deleted through auto-generation of conf.example. Add note to builtin/mainmenu/dlg_settings_advanced.lua that this documentation must be preserved.
* Update library versions in buildbotsfan52016-09-21
| | | | | | | | The libraries updated in this commit were built with a set of scripts: https://gist.github.com/sfan5/780c24313c164d34634e18677683b9a3 Building new library versions or just using a different MinGW version is now way easier. This means Windows builds no longer need to use ancient library versions just because nobody knows how to build them.
* Don't use ZLIB_WINAPI if the required DLL is not provided to CMakesfan52016-09-21
| | | | | This allows you to use an stdcall zlib (zlib1.dll instead of zlibwapi.dll) when building Minetest for win32.
* Do not serialize empty NodeMetadatasfan52016-09-21
| | | | | This commit fixes #4516, though note that this will gradually fix MapBlocks as they are used/modified and thus re-serialized.
* Builtin: Change error to warning for light_source > 14paramat2016-09-21
|
* Increase default font size by 1James Stevenson2016-09-21
|
* Fix a typo and use proper deprecation notification systemest312016-09-19
| | | | | | | Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
* Register.lua: Throw error if node 'light_source' > core.LIGHT_MAXparamat2016-09-17
| | | | | | | | Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game. Add comment in light.h requiring the constant be changed in both places. Add lighting bug warning to note in lua_api.txt. There are hundreds of mod uses of 15 which causes a lighting bug.
* Lua_api.txt: Add note of maximum value for node 'light_source'paramat2016-09-15
| | | | | Maximum is 14. A value of 15 (reserved for direct sunlight) causes a lighting bug.
* Add an [invert:<mode> texture modifierThomas--S2016-09-15
| | | | | | Inverts the given channels of the base image. Mode may contain the characters "r", "g", "b", "a". Only the channels that are mentioned in the mode string will be inverted.
* Collision: Improve performance by combining 6 vectors into 1 using a structShadowNinja2016-09-15
|
* Decorations: Generalise 'spawn by' to be used by all decoration typesparamat2016-09-14
| | | | In lua_api.txt, make clear that 'place on' and 'spawn by' can be lists.
* Allow escaping of texture names when passed as an argument to a modifiersfan52016-09-14
|
* Fix "unknown CMake command "check_library_exists" (#4517)Eric Mountain2016-09-13
| | | | | | | | | | | | | Adds CMakeLists.txt include to fix this issue: $ cmake . -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE \ -DCMAKE_BUILD_TYPE=Release -DENABLE_CURL=TRUE -DENABLE_CURSES=FALSE \ -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=FALSE \ -DENABLE_POSTGRESQL=FALSE -DENABLE_SOUND=FALSE -DENABLE_LUAJIT=TRUE \ -DIRRLICHT_SOURCE_DIR=$HOME/irrlicht-1.8.4 -LH ... CMake Error at src/CMakeLists.txt:339 (check_library_exists): Unknown CMake command "check_library_exists". ...
* Plantlike meshoptions: fix degrotate. (#4512)Auke Kok2016-09-12
| | | | This snuck in with the meshoptions patch and accidentally kills degrotate plants. Thanks to @hybriddog for finding this.
* fix missing parameters in some mentions of entity callbacksraymoo2016-09-12
|
* Return nil on empty get_area() (#4508)James Stevenson2016-09-10
|
* Anticheat: Use the physics_override modifiers aswellSmallJoker2016-09-09
|
* Make getStackMax return the correct maximal stack sizeSmallJoker2016-09-08
|
* Add minetest.unregister_item and minetest.register_alias_forcepaly22016-09-08
|
* Run updatepo.shest312016-08-30
|
* Translated using Weblate (Danish)Rui2016-08-30
| | | | | | Currently translated at 30.2% (271 of 895 strings) Don't end with '\n'.
* Translated using Weblate (Japanese)Rui2016-08-30
| | | | | | Currently translated at 50.0% (448 of 895 strings) This is a merger of two commits.
* Translated using Weblate (Danish)Thomas Wagner Nielsen2016-08-30
| | | | Currently translated at 27.3% (245 of 895 strings)
* Translated using Weblate (German)bse6662016-08-30
| | | | Currently translated at 98.5% (882 of 895 strings)
* Translated using Weblate (Polish)Mateusz Mendel2016-08-30
| | | | Currently translated at 42.4% (380 of 895 strings)
* Translated using Weblate (Polish)Jakub Mendel2016-08-30
| | | | Currently translated at 42.4% (380 of 895 strings)
* Translated using Weblate (Portuguese (Brazil))Bruno Borges2016-08-30
| | | | | | Currently translated at 87.8% (786 of 895 strings) Enhancements
* Translated using Weblate (Portuguese)Bruno Borges2016-08-30
| | | | Currently translated at 64.9% (581 of 895 strings)
* Translated using Weblate (Serbian (cyrillic))lisacvuk2016-08-30
| | | | Currently translated at 33.2% (298 of 895 strings)
* Translated using Weblate (French)Jean-Baptiste2016-08-30
| | | | Currently translated at 99.5% (891 of 895 strings)
* Translated using Weblate (French)Onyx Steinheim2016-08-30
| | | | | | Currently translated at 99.4% (890 of 895 strings) This is a merger of two commits.
* Translated using Weblate (Chinese (Taiwan))Jeff Huang2016-08-30
| | | | Currently translated at 100.0% (895 of 895 strings)
* Document keymap_autorun in settingtypes.txt and minetest.conf.example (#4486)Rui2016-08-30
|
* Update minetest.conf.example and settings_translation_file.cppest312016-08-30
|
* Fix background formspec elements from interfering with each otherrubenwardy2016-08-29
| | | | Fixes #4397
* Settingtypes.txt: Clarify comments, correct spellingred-0012016-08-29
|
* Builtin: Disallow registering users with the same nameSmallJoker2016-08-29
| | | | | Prevents duplicate names: 'NickName', 'nickname', 'NICKNAME'. Skips already registered users, so they can connect as usual.
* Allow fields to choose whether they close on enter pressrubenwardy2016-08-27
|
* Submit name of field on enter key pressrubenwardy2016-08-27
|
* Camera: Higher frequency limit for view/hand bobbing and footstepsparamat2016-08-26
| | | | | | | | | | | | Rebased and tuned version of Calinou's original pull request. 'm_view_bobbing_speed' controls the frequency of view bobbing, hand bobbing and footsteps, it was limited to a maximum of 40 (walking frequency) so did not increase if player speed was modified by a 'speed buff', a sprinting mod or modified in .conf or advanced settngs. This commit raises the limit to 70 which is suitable for sprinting.
* Make plantlike drawtype more funAuke Kok2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds several new ways that the plantlike drawtype mesh can be changed. This requires paramtype2 = "meshoptions" to be set in the node definition. The drawtype for these nodes should be "plantlike". These modifications are all done using param2. This field is now a complex bitfield that allows some or more of the combinations to be chosen, and the mesh draw code will choose the options based as neeeded for each plantlike node. bit layout: bits 0, 1 and 2 (values 0x1 through 0x7) are for choosing the plant mesh shape: 0 - ordinary plantlike plant ("x" shaped) 1 - ordinary plant, but rotated 45 degrees ("+" shaped) 2 - a plant with 3 faces ("*" shaped) 3 - a plant with 4 faces ("#" shaped) 4 - a plant with 4 faces ("#" shaped, leaning outwards) 5 through 7 are unused and reserved for future mesh shapes. bit 3 (0x8) causes the plant to be randomly offset in the x,z plane. The plant should fall within the 1x1x1 nodebox if regularly sized. bit 4 (0x10) causes the plant mesh to grow by sqrt(2), and will cause the plant mesh to fill out 1x1x1, and appear slightly larger. Texture makers will want to make their plant texture 23x16 pixels to have the best visual fit in 1x1x1 size. bit 5 (0x20) causes each face of the plant to have a slight negative Y offset in position, descending up to 0.125 downwards into the node below. Because this is per face, this causes the plant model to be less symmetric. bit 6 (0x40) through bit 7 (0x80) are unused and reserved for future use. !(https://youtu.be/qWuI664krsI)
* Client: disable pre v25 init sending by defaultest312016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable the ability to connect to old servers by default to improve password security. If people still want to connect to old (0.4.12 and earlier) servers, they can flip the send_pre_v25_init setting. Add the ability to detect if we've tried to connect to a server which only supports the pre v25 init protocol, and show an apropriate error message. Most times the error will already be catched at the serverlist level, the detection mechanism only acts as last resort, because the "Connection timed out" error message that would be shown otherwise would be very confusing. Automatic "fixing" of this condition is not desired, as it would allow for downgrade attacks. As already 161 of the 167 servers on the serverlist support the new srp based auth protocol (> 96%), the breakage should be minimal. Follow up of commit af30183124d40a969040d7de4b3a487feec466e4 "Add option to not send pre v25 init packet" Also change the pessimistic assumption of masterlist server versions to optimistic, in order to avoid buggy behaviour (favourites not in the serverlist would be denied to connect to, etc).
* Move on join and on leave messages to lua (#4460)Xunto2016-08-22
|
* gettext.h: include <locale> before defining the gettext macro (#4452)kahrl2016-08-21
| | | | | | | | | Fixes #4446: a syntax error that happens if something else (such as <iomanip> or <locale> in certain libstdc++ versions) includes <libintl.h> later, which contains a function declaration for gettext that gets mangled by the macro. See the added comment in gettext.h and the discussion in #4446/#4452 for details.
* Also support X11 icon for minetest copies installed via make install (#4407)est312016-08-20
| | | Fixes #4323.
* Tidy up generate_from_settingtypes.lua a bit.Tim2016-08-20
| | | | | | | | | * 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-20
| | | | | | | | | | | 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.