aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-11Fix android buildest311-1/+4
Thanks to @Wayward1 for reporting the bug. Fixes #4212.
2016-06-11Server: Add reason for leave to `on_leaveplayer` callbacksDiego Martinez4-5/+8
2016-06-09Sky: Darker, bluer sky and improved horizon haze at nightparamat1-4/+16
Add new colours 'skycolour_bright_night', 'bgcolour_bright_night' and enable these between sunset end and sunrise start Night sky has same hue as day sky but is darker and more saturated Night horizon haze (bgcolour) is slightly less saturated and slightly brighter than night sky, to be consistent with daytime horizon haze
2016-06-08Sky: Fix sunrisebg texture motion (#4199)Paramat1-1/+1
Top of texture no longer shows above horizon during night and day
2016-06-07Lua_api.txt: Split long lines. Capitalise 'Biome API'. Minor editsparamat1-53/+76
2016-06-05Mapgen: Optimize biomemap creation by combining with generateBiomeskwolekr6-11/+18
2016-06-05Biome API: Add per-biome riverbed material and depthparamat6-17/+33
Mgvalleys: Remove riverbed sand placement from base terrain generation Riverbed material placement moved to MapgenBasic::generateBiomes() Document fields and add note that the biome API is still unstable
2016-06-04Mapgen: Performance improvement and fixes for updateLiquid (#4065)MillersMan2-14/+77
- Adds only ~100 nodes per chunk to trans_liquid with similar processing time - Adds liquid nodes themselves instead of potential solid nodes below them - CONTENT_IGNORE nodes are interpreted as if they continue their neighborhood - This allows liquid columns to span multiple chunks without being interrupted - NOTE: Expects an one-node border in generation chunk without liquid changes
2016-06-04Biomes: Define and use biome_t for biome IDskwolekr3-10/+11
2016-06-04PcgRandom: Fix/improve documentationkwolekr2-12/+23
2016-06-04Change internal type for seeds to s32kwolekr13-54/+68
This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
2016-06-03Initial Gamepad supportest3117-79/+576
Adds initial ingame gamepad support to minetest. Full Formspec support is not implemented yet and can be added by a later change.
2016-06-03Input related generalisationsest313-150/+223
* Move key types into own file * Use Generalized input methods in game.cpp
2016-06-03Sapier's fix for the RESEND RELIABLE problem (#4170)Robert Kiraly1-0/+20
2016-06-02Mgv7: Always carve river channels in mountain terrainparamat1-6/+4
Previously, rivers were sometimes blocked by vertical walls of mountain terrain due to river carving being disabled when base terrain height was below water_level - 16 Remove now unused base terrain heightmap created in generateTerrain()
2016-05-31Add colored text (not only colored chat).Ekdohibs28-319/+690
Add documentation, move files to a proper place and avoid memory leaks. Make it work with most kind of texts, and allow backgrounds too.
2016-05-31Colored chat working as expected for both freetype and non-freetype builds. ↵TriBlade913-28/+998
@nerzhul improvements * Add unit tests * Fix coding style * move guiChatConsole.hpp to client/
2016-05-30Translated using Weblate (Hebrew)yuval hreman1-29/+27
Currently translated at 7.8% (70 of 887 strings)
2016-05-30Translated using Weblate (Russian)Andrey K1-3/+4
Currently translated at 57.2% (508 of 887 strings)
2016-05-30Translated using Weblate (Italian)Emon Omen1-2/+2
Currently translated at 100.0% (887 of 887 strings)
2016-05-30Translated using Weblate (Ukrainian)Fixer1-19/+15
Currently translated at 39.3% (349 of 887 strings)
2016-05-30Translated using Weblate (Russian)Sergey1-23/+88
Currently translated at 57.0% (506 of 887 strings) This is a merger of three commits.
2016-05-30Translated using Weblate (Russian)Vasily Pavlov1-6/+5
Currently translated at 57.1% (507 of 887 strings)
2016-05-30Translated using Weblate (German)Wuzzy1-2/+2
Currently translated at 100.0% (887 of 887 strings)
2016-05-30Add minetest.check_password_entry callbackest314-1/+43
Gives a convenient way to check a player's password. This entirely bypasses the SRP protocol, so should be used with great care. This function is not intended to be used in-game, but solely by external protocols, where no authentication of the minetest engine is provided, and also only for protocols, in which the user already gives the server the plaintext password. Examples for good use are the classical http form, or irc, an example for a bad use is a password change dialog inside formspec. Users should be aware that they lose the advantages of the SRP protocol if they enter their passwords for servers outside the normal entry box, like in in-game formspec menus, or through irc /msg s, This patch also fixes an auth.h mistake which has mixed up the order of params inside the decode_srp_verifier_and_salt function. Zeno-: Added errorstream message for invalid format when I committed
2016-05-30protection_bypass priv can now be revoked in singleplayer (#4169)Sokomine1-1/+4
2016-05-30Remove unused code in s_security.cpp (#4172)Zeno-1-11/+3
Note that the macro CHECK_FILE_ERR implements the code removed
2016-05-28Particles: Add option to remove particles on collisionAuke Kok9-32/+84
Adds the particle option `collision_removal = bool` Some particles are hard to use right now since they either go through solid blocks (without collision detection), and with collision detection enabled they (e.g. raindrops) would just stop dead on the floor and sit there until they expire, or worse, scrape along a wall or ceiling. We can solve the problem by adding a boolean flag that tells the particle to be removed if it ever collides with something. This will make it easier to add rain that doesn't fall through your roof or stick on the top of it. Or clouds and smoke that don't go through trees. Particles that collide with this flag are marked expired unconditionally, causing them to be treated like normal expired particles and cleaned up normally. Documentation is adjusted accordingly. An added bonus of this patch is that particles can potentially collide many times with nodes, and this reduces the amount of collisions to 1 (max), which may end up reducing particle load on the client.
2016-05-27Add base64 encoding and decoding to the lua api. (#3919)red-0014-0/+49
2016-05-27Disallow external linkage for default Cavegen NoiseParamskwolekr1-1/+1
2016-05-27Dungeongen: Remove dependency on Mapgenkwolekr4-24/+45
2016-05-27Mapgen: Combine dungeon generation codekwolekr12-324/+94
2016-05-27Mapgen: Deduplicate common constructor codekwolekr12-215/+122
2016-05-27Mapgen: Remove calculateNoise from most mapgenskwolekr10-111/+31
This commit moves noise calculation to the functions where the noise is actually required, increasing the separation of concerns and level of interdependency for each mapgen method. Valleys Mapgen is left unmodified.
2016-05-27Mapgen V7: Remove now-unused ridge heightmapkwolekr2-10/+2
2016-05-27Cavegen: Move V5-style caves to CavesNoiseIntersectionkwolekr9-82/+151
2016-05-27Cavegen: Minor misc. fixeskwolekr2-28/+26
- Convert instances of numeric literal doubles to floats - Move dswitchint to a local variable now that being a member is unnecessary - Improve const correctness - Indentation fixes
2016-05-27Fix undefined evaluation order when constructing random vectorskwolekr2-49/+47
MSVC and GCC evaluate parameters in right-to-left order, whereas Clang evaluates in left-to-right order, and of course, an optimization could leave the order of evaluation completely indeterminate. This commit fixes all instances of the error by explicitly assigning the results of expressions that use PseudoRandom::next() or range() to their respective vector components. The right-to-left evaluation behavior is preserved since Clang is much less commonly used to compile Minetest than GCC and MSVC combined, and would therefore cause the least harm.
2016-05-27Cavegen: Re-add small caves to CavesRandomWalkkwolekr4-39/+91
2016-05-27Cavegen: Remove CavesRandomWalk dependency on Mapgenkwolekr4-38/+98
2016-05-27Cavegen: Merge instances of repetitive surface level-finding codekwolekr2-55/+47
2016-05-27Cavegen: Remove CavesV6 dependency on Mapgenkwolekr3-64/+99
2016-05-27Cavegen: Rename CaveV6 to CavesV6kwolekr3-29/+41
- Add comment explaining why it exists - Remove unused 'flooded' variable - Rename shadowed variable - Fix some code style
2016-05-27Cavegen: Merge CaveV5 and CaveV7 into CavesRandomWalkkwolekr4-311/+20
2016-05-27Fix MgStoneType and BiomeType enum nameskwolekr9-34/+34
2016-05-27Mapgen: Combine generateBiomes, dustTopNodes, and generateCaveskwolekr12-1161/+316
This commit condenses the above methods into a single implementation used by V7, V5, Flat, Fractal, and Valleys mapgens and introduces MapgenBasic.
2016-05-27Move biome calculation to BiomeGenkwolekr16-296/+413
BiomeGen defines an interface that, given a set of BiomeParams, computes biomes for a given area using the algorithm implemented by that specific BiomeGen. This abstracts away the old system where each mapgen supplied the noises required for biome generation.
2016-05-26Tell irrlicht if we handle a key or not.est314-11/+57
We can remove the function in MtNativeActivity now as it serves precisely that purpose: to tell irrlicht that we handled the esc key. TODO for later: * Perhaps try to find a more performant container than KeyList
2016-05-23Fix rollback.txt migrationShadowNinja2-15/+28
Broken by b1965ac20922e3722392114bd63a22b403dcbe98. This also prepares the begin and commit statements only once.
2016-05-24Fix irrlicht version checking macro for tooltip_height calculationCraig Robbins1-3/+3