aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Getv3intfield: Fix logic of return boolparamat2018-03-09
|
* Biomes: Add 'min_pos'/'max_pos' xyz biome limitsparamat2018-03-09
| | | | 'y_min' and 'y_max' are still accepted for compatibility.
* Cleanup & bugfixLoic Blot2018-03-08
| | | | | | | | * ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil) * ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil) * Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity * Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls * Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
* Cleanup: drop Server::hudGetHotbarSelectedImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
* Cleanup: drop Server::hudGetHotbarImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
* Cleanup: drop Server::hudGetHotbarItemcount()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarItemcount() from server api
* mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) ↵Loïc Blot2018-03-08
| | | | | | | (#7108) * mods.cpp/h: little performance improvement in getModsInPath
* Fix missing warningstream (or similar problem) (#7034)you2018-03-04
| | | | | | | 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.
* Allow for getting world name and path separately on the command line (#6555)Brian2018-03-04
| | | | | | | | | 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.
* Gennotify: Add 'minetest.get_decoration_id' APIparamat2018-03-03
| | | | | | 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'.
* Generate Notifier: Clear events once after all 'on generated' functionsparamat2018-03-03
|
* MapgenValleys: Fixed submarine valleys shapeGael-de-Sailly2018-03-03
|
* c_converter: Function template for numeric fields, add v3s16 default (#7090)SmallJoker2018-03-03
|
* Slippery: Simplify, make more efficient (#7086)SmallJoker2018-03-03
| | | | Use already existing collision results for the nearest colliding node Fix slippery effect in free_move mode
* Cleanup in flat lighting (#7051)Vitaliy2018-03-03
|
* Fix liquid post effect colour behaviour in third person viewred-0012018-02-27
|
* Place schematic (on vmanip): Enable use of 'place center' flagsparamat2018-02-27
| | | | | | For 'place schematic' and 'place schematic on vmanip' APIs. Fix 'place center' code to properly centre schematics. Fix some comments.
* CollisionMoveSimple: Collide with 'ignore' nodesparamat2018-02-26
|
* SAO limits: Allow SAOs to exist outside the set 'mapgen limit'paramat2018-02-26
|
* Fix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)nOOb31672018-02-25
|
* CMakeLists use the source_group command to improve look and feel when ↵nOOb31672018-02-23
| | | | | | generating Visual Studio projects. The TREE argument of source_group appears in CMake 3.8 therefore check for version.
* CMakeLists pass windows sources (manifest and resource file) to executable ↵nOOb31672018-02-23
| | | | targets separately from common_SRCS
* Registration dialog: Larger text field with scrollbars (#7047)SmallJoker2018-02-23
| | | Center text, text area doubled now
* Find nodes in area (under air): Raise volume limit and document itparamat2018-02-21
|
* Vertical biome blend: Tune blend patternsparamat2018-02-20
|
* Dungeons: Add Y limits in all mapgensparamat2018-02-20
| | | | Preserve the upper limit used in mgvalleys.
* Mitigate formspec exploits by verifying that the formspec was shown to the ↵red-0012018-02-18
| | | | | 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.
* Check argument types inside MetaDataRef Lua API (#7045)sfan52018-02-18
|
* Remove legacy chat network code. (#6954)red-0012018-02-17
|
* Render copyright notice: Fix name spelling (#7042)Vitaliy2018-02-15
|
* Add `on_auth_fail` callback (#7039)red-0012018-02-15
| | | Called when a client fails to supply the correct password for the account it's attempting to login as.
* Dungeons: Avoid generation in multiple liquid nodes and 'airlike'paramat2018-02-13
| | | | | | | | | | | | | | 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.
* map.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanupLoic Blot2018-02-11
| | | | | | | Cleanup: * Drop unused Map::transforming_liquid_size() * NodeNeighbor must use const ref for v3s16 * Add a missing default in a switch case
* Node definition manager refactor (#7016)Dániel Juhász2018-02-10
| | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
* Position entity nametags relative to selection-box (#7031)stujones112018-02-10
|
* Fix 'Change Keys' menu crash caused by 501f936SmallJoker2018-02-09
|
* Switch F3 to use 'enable_fog' settingThomasMonroe3142018-02-08
|
* Include alpha channel reference in MaterialTypeParamstujones112018-02-08
|
* Move `setlocale` from Lua to C++.red-0012018-02-08
|
* Add main_menu_style settingPorygonZRocks2018-02-08
|
* Make hud_get return aligment, offset and size. (#7006)lisacvuk2018-02-04
| | | | | | * Make hud_get return aligment and offset. * Return size aswell.
* Remove unused light updating codeDániel Juhász2018-02-04
| | | Also remove the unit test that tests the removed algorithms.
* Refine movement anticheat again (#7004)sfan52018-02-02
| | | | * Account for walking speed in vertical dir * Avoid undefined behaviour due to division-by-zero
* Fix liquid bottoms not being renderednumber Zero2018-01-30
|
* Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot2018-01-30
| | | | | | | | | | * 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
* Apply physics overrides correctly during anticheat calculations (#6970)sfan52018-01-28
|
* [CSM] HUD Fix not updating server HUDs caused by 4f688d5SmallJoker2018-01-26
|
* Fix issues with earlier CSM HUD commit (#6940)red-0012018-01-26
| | | 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.
* Disable fall damage when "immortal" group set (#6946)lisacvuk2018-01-23
|
* CSM: Remove screenshot APIred-0012018-01-23
| | | | | Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c (* [CSM] add screenshot api lua)