aboutsummaryrefslogtreecommitdiff
path: root/src/clouds.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-06Translated using Weblate (Belarusian)Viktar Vauchkevich1-758/+1271
Currently translated at 13.5% (124 of 918 strings)
2017-04-06Translated using Weblate (Polish)Andrzej Redlarski1-39/+36
Currently translated at 61.2% (562 of 918 strings)
2017-04-06Translated using Weblate (Indonesian)Muhammad Rifqi Priyo Susanto1-9/+10
Currently translated at 69.4% (638 of 918 strings)
2017-04-06Translated using Weblate (Lithuanian)ignaloidas1-15/+15
Currently translated at 27.1% (249 of 918 strings)
2017-04-06Translated using Weblate (Portuguese (Brazil))Cold Meson 061-2/+4
Currently translated at 99.3% (912 of 918 strings)
2017-04-06[CSM] Add support for positional audio. (#5516)red-0015-23/+51
Fixes parts of #5389.
2017-04-06Expose vector helpers to CSMLoic Blot1-0/+1
2017-04-05Memleak fix: LocalPlayer object was not deletedLoïc Blot1-0/+2
Delete LocalPlayer when ClientEnvironment (object owner) is destroyed
2017-04-05Mapgen documentation: Add descriptions to noise parametersparamat2-102/+249
Shorten 'readable names'. Add a new advanced settings menu section for Biome API noises. Various minor edits and improvements.
2017-04-05Mapgen: Remove '#include treegen.h' from non-mgv6 mapgensparamat5-5/+0
Only mgv6 uses the tree functions from treegen.cpp.
2017-04-04MapgenBasic: Add lava source as commonly used content (#5512)Paramat4-7/+4
Future mapgens are likely to use this for magma and volcanos. Remove the getting of lava source content id in mgvalleys.
2017-04-04Client handlers: Remove useless stringstream usage in two handlers (#5510)Loïc Blot1-6/+2
2017-04-04[CSM] Add local node meta reference. (#5508)red-0016-10/+89
2017-04-03Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat10-54/+303
Add to MapgenBasic for use by multiple mapgens. Add to mgv5 and mgv7, enabled by default. Similar to mgvalleys caverns but half the scale. Parameters for upper y limit, distance caverns taper to full size, and noise threshold (full cavern size). As with mgvalleys caverns are generated first and classic caves are disabled in any mapchunk containing a cavern, to avoid excessive spreading volumes of liquids. This also avoids floating blobs of liquid where a large classic cave has overgenerated out into a neighbouring previously-generated mapchunk.
2017-04-02Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot75-6345/+6986
instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
2017-04-02minetest.after(): simplify further, pause in singleplayer (#5500)Auke Kok1-11/+1
Using the `dtime` value entirely, this will stop the clock if the game is paused in singleplayer. Since most of the clocks were fixed a long time ago, this should again be safe to use.
2017-04-01First commit for fine pointed (#5485)MarkuBu3-1/+37
2017-04-01Add missing source to android build (#5496)Uwe Koloska1-0/+1
2017-04-01Clang-format: trivial fix on some headers (#5495)Loïc Blot13-42/+18
Fix some headers style and remove them from whitelist
2017-04-01[CSM] Add function and chat command to disconnect from server. (#5487)red-0016-5/+37
2017-04-01Signlike, glasslike drawtypes: Fix inverted texturesnumber Zero1-28/+28
2017-04-01mapgen: Fix segfault when selecting invalid mapgen (#5491)SmallJoker1-2/+5
2017-03-31Fix clang-format Columns WidthLoic Blot4-11/+9
Also fix l_client.cpp/h and remove them from whitelist
2017-03-31Wieldmesh: Natural orientation depending on pitch (#5490)kilbith1-1/+4
2017-03-30Windows: Set window icon (#5486)adrido3-4/+34
2017-03-30Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVELparamat4-17/+47
Add the missing paramtype2 for param2 controlling the liquid level inside the glasslike_framed drawtype. Add missing documentation of the feature to lua_api.txt. Update and improve comments for drawtype enumerations in nodedef.h.
2017-03-29l_minimap: don't show minimap if configuration doesn't allow itLoïc Blot1-0/+5
2017-03-29Add CPP11 header to define nullptr & constexpr (#5471)Loïc Blot3-4/+38
This header permit to use nullptr & constexpr keywords in portable code segments and benefit from nullptr & constexpr when using C++11 and greater
2017-03-29Sneak: Fix sneaking on free-floating lower-half slabssfan51-1/+1
2017-03-29Sneak: Fix stair lower step bug and ladder in 1x1 hole bugssfan51-9/+18
2017-03-28Add functions to strip color information. (#5472)Diego Martínez3-1/+26
2017-03-28Fix a type bug in colorize functionLoïc Blot1-1/+1
This bug was introduced by dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
2017-03-28[CSM] Fix errors in and improve the CSM documentation. (#5467)red-0011-74/+33
2017-03-27clang-format: add a whitelist (#5459)Loïc Blot2-2/+466
If file is in the whitelist, softfail, else hard failure Some files are not in whitelist and marked as normal: * src/content_mapnode.h * src/cguittfont/xCGUITTFont.cpp * src/gameparams.h * src/profiler.cpp
2017-03-27PostgreSQL: fix delete blockLoïc Blot1-1/+1
Typo fix: we are doing select on delete block. This fix issue #5426
2017-03-27Map generation limit: Make per-worldparamat11-47/+45
The setting limits map generation but affects nothing else. Add 'mapgen_limit' to global mapgen parameters. Move 'blockpos_over_mapgen_limit()' to the only place it is called from: map.cpp. Allow teleportation to any part of the world even if over the set mapgen limit. Simplify the reading of this limit in mgvalleys. Remove the 'map_generation_limit' setting.
2017-03-27Pathfinder: Send errors to `warningstream`.Diego Martínez1-1/+1
Avoids spamming the chat about several errors.
2017-03-26Fix mismatch struct/class for GameUIFlagsLoic Blot1-1/+1
2017-03-26clang-format: fix counter increment & output (#5456)Loïc Blot1-6/+9
clang-format: fix bash syntax on increment
2017-03-26clang-format: limit diff to 50 files to prevent exceding the maximum travis ↵Loïc Blot1-0/+7
output (4MB) (#5455)
2017-03-26Sneak: Replicate sneak ladder in new code, is optionalsfan52-21/+89
Enabled using the existing 'sneak_glitch' physics override.
2017-03-26Change command prefix to "." and add "help" command.red-0019-63/+103
2017-03-26Add mesh generation delaynumber Zero6-2/+22
2017-03-25Add clang format & skip build if no source file modified (#5433)Loïc Blot6-3/+68
* [BUILD] Add clang format + build skipping * Add clang-format tool to check codestyle. Warning: it check the whole modified file, not the diff part, it's why it's lazy. Please also look if rules are perfect, i take the Linux codestyle from LLVM site Fix issue #5415 * Skip building project if no file is modified * Fix a wrong brace to trigger LINT * Make lint step outside of unix build scope * Add AccessModifierOffset: -8 * Typo fix & needs compile fix * Fix header priorities
2017-03-24Tile.cpp: Fix MSVC build broken by 072bbbaSmallJoker1-2/+2
2017-03-24Typo fixLoïc Blot1-1/+1
2017-03-24Add multiline support to colorize. (#5444)red-0011-1/+8
2017-03-22Some performance optimizations (#5424)Loïc Blot16-134/+79
* Some performance optimizations This is globally removing some memory useless copy * use a const ref return on std::string Settings::get to prevent data copy on getters which doesn't need to copy it * pass some stack created strings to static const as they are not modified anywhere * Camera: return nametags per const ref instead of a list pointer, we only need to read it * INodeDefManager: getAll should be a result ref writer instead of a return copy * INodeDefManager: getAlias should return a const std::string ref * Minimap: unroll a Scolor creation in blitMinimapPixersToImageRadar to prvent many variable construct/destruct which are unneeded (we rewrite the content in the loop) * CNodeDefManager::updateAliases: prevent a idef getall copy * Profiler: constness * rollback_interface: create real_name later, and use const ref * MapBlockMesh updateFastFaceRow: unroll TileSpec next_tile, which has a cost of 1.8% CPU due to variable allocation/destruction, * MapBlockMesh updateFastFaceRow: copy next_tile to tile only if it's a different tilespec * MapBlockMesh updateFastFaceRow: use memcpy to copy next_lights to lights to do it in a single cpu operation
2017-03-22[CSM] Add function to get player names in range (#5435)bigfoot5474-2/+33
* [CSM] Add function to get currently connected player names
2017-03-20Firelike drawtype: Add missing docs for visual_scale in lua_api.txt (#5434)Paramat1-3/+4