aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-04-09Hard-coded undersampling.number Zero
Adds uniform undersampling for the 3D rendered scene. GUI elements are not undersampled, resulting in better playability for users with low-performance platforms with readable fonts and formspecs. The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels which translates into a resolution reduction of x4, x9 or x16, and is significant.
2017-04-08LocalPlayer api luaVincent Glize
2017-04-08Hardware coloring for itemstacksDániel Juhász
Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
2017-04-08Move chat command handling code from C++ to Lua (#5528)red-001
2017-04-08Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot
(#5541) We are bundling Lua5.1 which has same macro
2017-04-08code style fix on src/script/cpp_api/s_client.hLoic Blot
2017-04-08[CSM] Add event on_connect player API lua (#5540)Vincent Glize
* Add event on_connect player API lua
2017-04-07Pass clang-format on 14 trivial header files fixesLoic Blot
Also remove them from whitelist
2017-04-07Fix signed/unsigned conversion warningrubenwardy
There was no bug here (as I checked for negativeness), however it's good to get rid of warnings.
2017-04-07Cavegen: Fix non-constant array initializer error for MSVCSmallJoker
2017-04-07Settings: Update documentation (#5534)SmallJoker
Now documented (sorted a-z): enable_console enable_particles creative_mode hud_scaling inventory_image_hack keymap_console keymap_zoom shader_path view_bobbing
2017-04-07Clang-format: fix some header files and remove them from whitelistLoic Blot
2017-04-07Windows: Skip cmd for release builds (#5416)adrido
2017-04-06Fix "error: ‘playerSAO’ was not declared"Auke Kok
Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19 A rebase issue missed a rename from playerSAO to playersao. Tested.
2017-04-06Fix spacingEkdohibs
2017-04-06Fix problems when overriding the hand:Ekdohibs
- If the hand can dig a node the item wielded can't, allow to dig it anyway. - Fix the API callbacks from setting the hand instead of the wielded item.
2017-04-06Add Joystick type detection and Xbox controller supportrubenwardy
* Add joystick type detection (with joystick_type setting to override it) * Fix multiple joysticks from interfering with each other by only reading from one (add joystick_id setting) * Add support for Xbox controllers
2017-04-06Fix multiple death messages (#5305)presstabstart
Fix multiple death messages (#3565) and damage server logs after death.
2017-04-07Show media download progress in percent on progress screen (#5498)orwell96
2017-04-06LINT: Switch whitelist check from egrep to awkLoïc Blot
Bonus: make CI happy with the last rules fix
2017-04-06[CSM] Add function to get the server protocol version. (#5529)red-001
2017-04-06Clang-format continuation indent fixes + .gitignore additionsLoïc Blot
* Proper support for continuation indents in clang format * make src/wieldmesh.h proper and remove it from whitelist * Add CLion default build directories in .gitignore
2017-04-06Move LINT process in dedicated shell & fixLoic Blot
Move lint to dedicated shell permit to use it from your shell easily to check what is wrong Also fix recent regressions in code style
2017-04-06[CSM] Add support for positional audio. (#5516)red-001
Fixes parts of #5389.
2017-04-05Memleak fix: LocalPlayer object was not deletedLoïc Blot
Delete LocalPlayer when ClientEnvironment (object owner) is destroyed
2017-04-05Mapgen: Remove '#include treegen.h' from non-mgv6 mapgensparamat
Only mgv6 uses the tree functions from treegen.cpp.
2017-04-04MapgenBasic: Add lava source as commonly used content (#5512)Paramat
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 Blot
2017-04-04[CSM] Add local node meta reference. (#5508)red-001
2017-04-03Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat
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 Blot
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-01Clang-format: trivial fix on some headers (#5495)Loïc Blot
Fix some headers style and remove them from whitelist
2017-04-01[CSM] Add function and chat command to disconnect from server. (#5487)red-001
2017-04-01Signlike, glasslike drawtypes: Fix inverted texturesnumber Zero
2017-04-01mapgen: Fix segfault when selecting invalid mapgen (#5491)SmallJoker
2017-03-31Fix clang-format Columns WidthLoic Blot
Also fix l_client.cpp/h and remove them from whitelist
2017-03-31Wieldmesh: Natural orientation depending on pitch (#5490)kilbith
2017-03-30Windows: Set window icon (#5486)adrido
2017-03-30Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVELparamat
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 Blot
2017-03-29Add CPP11 header to define nullptr & constexpr (#5471)Loïc Blot
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 slabssfan5
2017-03-29Sneak: Fix stair lower step bug and ladder in 1x1 hole bugssfan5
2017-03-27PostgreSQL: fix delete blockLoïc Blot
Typo fix: we are doing select on delete block. This fix issue #5426
2017-03-27Map generation limit: Make per-worldparamat
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ínez
Avoids spamming the chat about several errors.
2017-03-26Fix mismatch struct/class for GameUIFlagsLoic Blot
2017-03-26Sneak: Replicate sneak ladder in new code, is optionalsfan5
Enabled using the existing 'sneak_glitch' physics override.
2017-03-26Change command prefix to "." and add "help" command.red-001
2017-03-26Add mesh generation delaynumber Zero