aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Pass clang-format on 14 trivial header files fixesLoic Blot2017-04-07
| | | | Also remove them from whitelist
* Fix signed/unsigned conversion warningrubenwardy2017-04-07
| | | | | There was no bug here (as I checked for negativeness), however it's good to get rid of warnings.
* Cavegen: Fix non-constant array initializer error for MSVCSmallJoker2017-04-07
|
* Settings: Update documentation (#5534)SmallJoker2017-04-07
| | | | | | | | | | | | Now documented (sorted a-z): enable_console enable_particles creative_mode hud_scaling inventory_image_hack keymap_console keymap_zoom shader_path view_bobbing
* Clang-format: fix some header files and remove them from whitelistLoic Blot2017-04-07
|
* Windows: Skip cmd for release builds (#5416)adrido2017-04-07
|
* Fix "error: ‘playerSAO’ was not declared"Auke Kok2017-04-06
| | | | | | | | Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19 A rebase issue missed a rename from playerSAO to playersao. Tested.
* Fix spacingEkdohibs2017-04-06
|
* Fix problems when overriding the hand:Ekdohibs2017-04-06
| | | | | - 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.
* Add Joystick type detection and Xbox controller supportrubenwardy2017-04-06
| | | | | | * 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
* Fix multiple death messages (#5305)presstabstart2017-04-06
| | | | Fix multiple death messages (#3565) and damage server logs after death.
* Show media download progress in percent on progress screen (#5498)orwell962017-04-07
|
* LINT: Switch whitelist check from egrep to awkLoïc Blot2017-04-06
| | | | Bonus: make CI happy with the last rules fix
* [CSM] Add function to get the server protocol version. (#5529)red-0012017-04-06
|
* Clang-format continuation indent fixes + .gitignore additionsLoïc Blot2017-04-06
| | | | | | * 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
* Move LINT process in dedicated shell & fixLoic Blot2017-04-06
| | | | | 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
* [CSM] Add support for positional audio. (#5516)red-0012017-04-06
| | | Fixes parts of #5389.
* Memleak fix: LocalPlayer object was not deletedLoïc Blot2017-04-05
| | | | Delete LocalPlayer when ClientEnvironment (object owner) is destroyed
* Mapgen: Remove '#include treegen.h' from non-mgv6 mapgensparamat2017-04-05
| | | | Only mgv6 uses the tree functions from treegen.cpp.
* MapgenBasic: Add lava source as commonly used content (#5512)Paramat2017-04-04
| | | | Future mapgens are likely to use this for magma and volcanos. Remove the getting of lava source content id in mgvalleys.
* Client handlers: Remove useless stringstream usage in two handlers (#5510)Loïc Blot2017-04-04
|
* [CSM] Add local node meta reference. (#5508)red-0012017-04-04
|
* Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat2017-04-03
| | | | | | | | | | | | | | 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.
* Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot2017-04-02
| | | | | | | | | | | | | | | | 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
* Clang-format: trivial fix on some headers (#5495)Loïc Blot2017-04-01
| | | Fix some headers style and remove them from whitelist
* [CSM] Add function and chat command to disconnect from server. (#5487)red-0012017-04-01
|
* Signlike, glasslike drawtypes: Fix inverted texturesnumber Zero2017-04-01
|
* mapgen: Fix segfault when selecting invalid mapgen (#5491)SmallJoker2017-04-01
|
* Fix clang-format Columns WidthLoic Blot2017-03-31
| | | | Also fix l_client.cpp/h and remove them from whitelist
* Wieldmesh: Natural orientation depending on pitch (#5490)kilbith2017-03-31
|
* Windows: Set window icon (#5486)adrido2017-03-30
|
* Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVELparamat2017-03-30
| | | | | | | 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.
* l_minimap: don't show minimap if configuration doesn't allow itLoïc Blot2017-03-29
|
* Add CPP11 header to define nullptr & constexpr (#5471)Loïc Blot2017-03-29
| | | This header permit to use nullptr & constexpr keywords in portable code segments and benefit from nullptr & constexpr when using C++11 and greater
* Sneak: Fix sneaking on free-floating lower-half slabssfan52017-03-29
|
* Sneak: Fix stair lower step bug and ladder in 1x1 hole bugssfan52017-03-29
|
* PostgreSQL: fix delete blockLoïc Blot2017-03-27
| | | | | | Typo fix: we are doing select on delete block. This fix issue #5426
* Map generation limit: Make per-worldparamat2017-03-27
| | | | | | | | | | | 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.
* Pathfinder: Send errors to `warningstream`.Diego Martínez2017-03-27
| | | | Avoids spamming the chat about several errors.
* Fix mismatch struct/class for GameUIFlagsLoic Blot2017-03-26
|
* Sneak: Replicate sneak ladder in new code, is optionalsfan52017-03-26
| | | | Enabled using the existing 'sneak_glitch' physics override.
* Change command prefix to "." and add "help" command.red-0012017-03-26
|
* Add mesh generation delaynumber Zero2017-03-26
|
* Add clang format & skip build if no source file modified (#5433)Loïc Blot2017-03-25
| | | | | | | | | | | | | | | | | | | | * [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
* Tile.cpp: Fix MSVC build broken by 072bbbaSmallJoker2017-03-24
|
* Some performance optimizations (#5424)Loïc Blot2017-03-22
| | | | | | | | | | | | | | | | | | | * 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
* [CSM] Add function to get player names in range (#5435)bigfoot5472017-03-22
| | | * [CSM] Add function to get currently connected player names
* Content_mapblock.cpp: Refactornumber Zero2017-03-20
|
* Refactored client event if-else cascade to switch statementBen Deutsch2017-03-20
|
* Map generation limit: Rewriteparamat2017-03-20
| | | | | | | | | | | | | | The previous implementation applied the setting to blockpos_over_limit(), objectpos_over_limit() and in createSector(), causing many bugs near the world edge. First revert the previous implementation. Rename blockpos_over_limit() to blockpos_over_max_limit() for clarity. Add a new function to mapblock.h called blockpos_over_mapgen_limit() that checks against the map_generation_limit setting, and call this only from the code that decides where mapgen stops. Use MAX_MAP_GENERATION_LIMIT in objectpos_over_limit() to reduce the chance of bugs, there is no need to use map_generation_limit here.