aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-06use unordered containers where possible (patch 4 on X)Loic Blot13-99/+63
Also remove some unused parameters/functions
2016-10-06Fix narrow string compiling issue on MSVC2010SmallJoker1-2/+2
2016-10-06Use more unordered_maps to improve performance in c++11 buildsLoic Blot9-27/+22
2016-10-06Use relative position for nametagsSmallJoker1-1/+1
2016-10-06Fix macosx build by disabling postgresql upgradeLoic Blot1-1/+1
2016-10-06Fix crash regression when chatting in the ncurses consoleest311-12/+14
Fixes #4579, a regression introduced by commit d4c76258e37337ea585cf24d8e05b50a30fa307d "Chat: new settings to prevent spam"
2016-10-06Travis: build matrix improvements + CPP11 buildLoic Blot5-28/+30
2016-10-05Compilation fixLoic Blot1-1/+1
2016-10-05Replace various std::map with UNORDERED_MAP + various cleanupsLoic Blot23-167/+110
This is part 2 for 5f084cd98d7b3326b51320455364337539710efd Other improvements: * Use the defined ItemGroupList when used * make Client::checkPrivilege const * inline some trivial functions * Add ActiveObjectMap typedef * Add SettingsEntries typedef
2016-10-05Make some maps unordered to improve performanceLoic Blot5-48/+38
* This permit to improve performance on C++11 builds * use some existing typedefs in tools maps * minor code style changes
2016-10-05Chat: new settings to prevent spamLoic Blot8-11/+125
Added the following chat coreside features * Chat messages length limit * Message rate limiting * Message rate kicking Note: * handleChat now takes RemotePlayer pointer instead of u16 to remove useless lookups
2016-10-04Mapblock_mesh_generate_special: Improve performanceparamat1-15/+36
Remove uses of std::map. Make sure we use ContentFeatures reference not value. Original commit by gregorycu.
2016-10-04Textures: New 'smoke puff' texture from TNT modparamat2-0/+3
2016-10-03Fix build/warning on non X11 platformsest311-0/+1
2016-10-03Builtin/falling: Add fallback vector in case of nil 'wallmounted to dir'paramat1-1/+5
The fallback vector is in case 'wallmounted to dir' is nil due to voxelmanip placing a wallmounted node without resetting a pre-existing param2 value that is out-of-range for wallmounted. The fallback vector corresponds to param2 = 0.
2016-10-03Forceloading: Transient forceloadsraymoo2-12/+37
Adds a flag to forceload_block which lets you turn off persistence for that forceload.
2016-10-03Formspec: Add container[] and container_end[] elementsrubenwardy3-45/+99
2016-10-02Allow nothing to be selected from formspec parameterssfan51-3/+1
2016-10-01Fix typo in core.after (#4560)Rui1-1/+1
2016-09-30Update default controls in README.txtWuzzy1-28/+36
2016-09-30Mgv7: Avoid mid-air spawn on disabled mountain terrain, optimise functionparamat1-8/+18
'getSpawnLevelAtPoint()' did not account for disabled mountains, it was possible to be spawned in mid-air where a mountain surface would have been. Avoid check for river area if rivers are disabled.
2016-09-30Fix android buildest311-2/+5
Fixes #4493.
2016-09-29Only include keycode unittests in client build (fixes #4559)sfan52-1/+5
2016-09-25Add keycode.cpp unittestssfan52-0/+130
2016-09-25Rewrite keycode.cpp (Keycode handling & names)sfan52-271/+286
2016-09-23Conf.example: Re-add deleted noise parameter documentationparamat2-1/+41
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.
2016-09-21Update library versions in buildbotsfan52-61/+54
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.
2016-09-21Don't use ZLIB_WINAPI if the required DLL is not provided to CMakesfan52-4/+11
This allows you to use an stdcall zlib (zlib1.dll instead of zlibwapi.dll) when building Minetest for win32.
2016-09-21Do not serialize empty NodeMetadatasfan52-3/+23
This commit fixes #4516, though note that this will gradually fix MapBlocks as they are used/modified and thus re-serialized.
2016-09-21Builtin: Change error to warning for light_source > 14paramat1-1/+3
2016-09-21Increase default font size by 1James Stevenson4-6/+6
2016-09-19Fix a typo and use proper deprecation notification systemest311-1/+1
Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
2016-09-17Register.lua: Throw error if node 'light_source' > core.LIGHT_MAXparamat4-3/+16
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.
2016-09-15Lua_api.txt: Add note of maximum value for node 'light_source'paramat1-1/+1
Maximum is 14. A value of 15 (reserved for direct sunlight) causes a lighting bug.
2016-09-15Add an [invert:<mode> texture modifierThomas--S2-2/+50
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.
2016-09-15Collision: Improve performance by combining 6 vectors into 1 using a structShadowNinja1-64/+58
2016-09-14Decorations: Generalise 'spawn by' to be used by all decoration typesparamat4-85/+80
In lua_api.txt, make clear that 'place on' and 'spawn by' can be lists.
2016-09-14Allow escaping of texture names when passed as an argument to a modifiersfan52-23/+56
2016-09-13Fix "unknown CMake command "check_library_exists" (#4517)Eric Mountain1-0/+1
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". ...
2016-09-12Plantlike meshoptions: fix degrotate. (#4512)Auke Kok1-1/+1
This snuck in with the meshoptions patch and accidentally kills degrotate plants. Thanks to @hybriddog for finding this.
2016-09-12fix missing parameters in some mentions of entity callbacksraymoo1-3/+5
2016-09-10Return nil on empty get_area() (#4508)James Stevenson2-0/+4
2016-09-09Anticheat: Use the physics_override modifiers aswellSmallJoker1-44/+44
2016-09-08Make getStackMax return the correct maximal stack sizeSmallJoker3-7/+5
2016-09-08Add minetest.unregister_item and minetest.register_alias_forcepaly28-3/+121
2016-08-30Run updatepo.shest3131-4174/+8285
2016-08-30Translated using Weblate (Danish)Rui1-4/+4
Currently translated at 30.2% (271 of 895 strings) Don't end with '\n'.
2016-08-30Translated using Weblate (Japanese)Rui1-102/+106
Currently translated at 50.0% (448 of 895 strings) This is a merger of two commits.
2016-08-30Translated using Weblate (Danish)Thomas Wagner Nielsen1-31/+39
Currently translated at 27.3% (245 of 895 strings)
2016-08-30Translated using Weblate (German)bse6661-6/+12
Currently translated at 98.5% (882 of 895 strings)