aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-03-08Cleanup: drop Server::hudGetHotbarItemcount()Loic Blot
Call directly accessible RemotePlayer::getHotbarItemcount() from server api
2018-03-08mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) ↵Loïc Blot
(#7108) * mods.cpp/h: little performance improvement in getModsInPath
2018-03-04Fix missing warningstream (or similar problem) (#7034)you
Use the --color command line parameter instead of a setting for coloured logs This fixes the missing warningstream bug, g_settings->get mustn't be used there. Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.
2018-03-04Allow for getting world name and path separately on the command line (#6555)Brian
Change to --worldlist instead of --world list. Gets rid of --worldpath parameter added as part of this pull request, instead moving the listing function to a command --worldlist that accepts either name, path, or both and prints out the corresponding information.
2018-03-03Gennotify: Add 'minetest.get_decoration_id' APIparamat
Returns the decoration ID for the provided decoration name string. For use with gennotify, to know the decoration IDs for use in 'minetest.set_gen_notify'.
2018-03-03Generate Notifier: Clear events once after all 'on generated' functionsparamat
2018-03-03MapgenValleys: Fixed submarine valleys shapeGael-de-Sailly
2018-03-03c_converter: Function template for numeric fields, add v3s16 default (#7090)SmallJoker
2018-03-03Slippery: Simplify, make more efficient (#7086)SmallJoker
Use already existing collision results for the nearest colliding node Fix slippery effect in free_move mode
2018-03-03Cleanup in flat lighting (#7051)Vitaliy
2018-02-27Fix liquid post effect colour behaviour in third person viewred-001
2018-02-27Place schematic (on vmanip): Enable use of 'place center' flagsparamat
For 'place schematic' and 'place schematic on vmanip' APIs. Fix 'place center' code to properly centre schematics. Fix some comments.
2018-02-26CollisionMoveSimple: Collide with 'ignore' nodesparamat
2018-02-26SAO limits: Allow SAOs to exist outside the set 'mapgen limit'paramat
2018-02-25Fix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)nOOb3167
2018-02-23CMakeLists use the source_group command to improve look and feel when ↵nOOb3167
generating Visual Studio projects. The TREE argument of source_group appears in CMake 3.8 therefore check for version.
2018-02-23CMakeLists pass windows sources (manifest and resource file) to executable ↵nOOb3167
targets separately from common_SRCS
2018-02-23Registration dialog: Larger text field with scrollbars (#7047)SmallJoker
Center text, text area doubled now
2018-02-21Find nodes in area (under air): Raise volume limit and document itparamat
2018-02-20Vertical biome blend: Tune blend patternsparamat
2018-02-20Dungeons: Add Y limits in all mapgensparamat
Preserve the upper limit used in mgvalleys.
2018-02-18Mitigate formspec exploits by verifying that the formspec was shown to the ↵red-001
user by the server. (#6878) This doesn't check the fields in anyway whatsoever so it should only be seen as a way to mitigate exploits, a last line of defense to make it harder to exploit bugs in mods, not as a reason to not do all the usually checks.
2018-02-18Check argument types inside MetaDataRef Lua API (#7045)sfan5
2018-02-17Remove legacy chat network code. (#6954)red-001
2018-02-15Render copyright notice: Fix name spelling (#7042)Vitaliy
2018-02-15Add `on_auth_fail` callback (#7039)red-001
Called when a client fails to supply the correct password for the account it's attempting to login as.
2018-02-13Dungeons: Avoid generation in multiple liquid nodes and 'airlike'paramat
Previously only 'mapgen water source' and 'mapgen river water source' were checked for. Games can use multiple liquid nodes defined for biomes, many of which will not be aliased to those 2 mapgen aliases, causing floating dungeons to generate in some liquids. Now we check for liquid drawtype instead, so can remove liquid nodes from dungeonparams. Also check for 'airlike' drawtype instead of 'CONTENT_AIR' to avoid generation in 'airlike' nodes in some rare situations. This will also be needed for when we add definable biome air nodes.
2018-02-11map.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanupLoic Blot
Cleanup: * Drop unused Map::transforming_liquid_size() * NodeNeighbor must use const ref for v3s16 * Add a missing default in a switch case
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2018-02-10Position entity nametags relative to selection-box (#7031)stujones11
2018-02-09Fix 'Change Keys' menu crash caused by 501f936SmallJoker
2018-02-08Switch F3 to use 'enable_fog' settingThomasMonroe314
2018-02-08Include alpha channel reference in MaterialTypeParamstujones11
2018-02-08Move `setlocale` from Lua to C++.red-001
2018-02-08Add main_menu_style settingPorygonZRocks
2018-02-04Make hud_get return aligment, offset and size. (#7006)lisacvuk
* Make hud_get return aligment and offset. * Return size aswell.
2018-02-04Remove unused light updating codeDániel Juhász
Also remove the unit test that tests the removed algorithms.
2018-02-02Refine movement anticheat again (#7004)sfan5
* Account for walking speed in vertical dir * Avoid undefined behaviour due to division-by-zero
2018-01-30Fix liquid bottoms not being renderednumber Zero
2018-01-30Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot
* Add minetest.bulk_set_node call + experimental mod unittest * Optimize set_node function to prevent triple lookup on contentfeatures Do only one lookup for old, and try to merge old and new lookup if node is same than previous node * Add benchmark function + optimize vector population to have real results
2018-01-28Apply physics overrides correctly during anticheat calculations (#6970)sfan5
2018-01-26[CSM] HUD Fix not updating server HUDs caused by 4f688d5SmallJoker
2018-01-26Fix issues with earlier CSM HUD commit (#6940)red-001
The CSM HUD PR caused some strange behavior including aborts due to parts of it using some slightly hacky code, the event refactor changing how events are processed and a minor oversight.
2018-01-23Disable fall damage when "immortal" group set (#6946)lisacvuk
2018-01-23CSM: Remove screenshot APIred-001
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c (* [CSM] add screenshot api lua)
2018-01-22[CSM] Don't Load the package library (#6944)red-001
Already removed by a latter step in CSM init so this just saves on pointless work.
2018-01-21Change include from "cmake_config.h" to "config.h"Wayward One
Fixes #6894
2018-01-21[CSM] Remove `on_connect` callback (#6941)red-001
Fixes #6939
2018-01-20[CSM] Add functions to create particles and particlespawners. (#6072)red-001
2018-01-20Game refactor [4/X]: keycache is now owned by InputHandlerLoic Blot
* Make InputHandler own the key cache * Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp * Move RandomInputHandler::step definition into cpp file