aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-03-10Drop texture file list cache (#6660)Vitaliy
2018-03-10Fix typo in lighting code since bcdb3d5SmallJoker
2018-03-10Spawn level: Add 'get_spawn_level(x, z)' APIparamat
Returns a suitable player spawn y co-ordinate for unmodified terrain.
2018-03-09Formspecs: Unify textarea and field parsing functions, fix wrong fallback textSmallJoker
* textarea[], field[]: Unify function, fix wrong fallback text * Remove apparently superflous mainmenumanager.h incldue * intlGUIEditBox.cpp: make read-only boxes really read-only * Use elseif (trivial)
2018-03-09VoxelArea: add_{x,y,z,p} must be staticLoic Blot
Fix some documentations issues Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
2018-03-09Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ↵Loic Blot
ModMetadata
2018-03-09ServerEnvironment & StaticObject cleanupsLoic Blot
* isFreeServerActiveObjectId is now part of ServerEnvironment * getFreeServerActiveObjectId is now part of ServerEnvironment * StaticObject constructor now take ServerActiveObject instead of type + string. This permits to remove a big string copy in some code parts
2018-03-09Drop unused Server::m_ignore_map_edit_events_peer_idLoic Blot
2018-03-09Variable name fix + structure creation unrolling in lighting codeLoic Blot
2018-03-09Drop less performant Server::setBlockNotSent for ↵Loic Blot
ClientInterface::markBlockposAsNotSent
2018-03-09Getv3intfield: Fix logic of return boolparamat
2018-03-09Biomes: Add 'min_pos'/'max_pos' xyz biome limitsparamat
'y_min' and 'y_max' are still accepted for compatibility.
2018-03-08Cleanup & bugfixLoic Blot
* 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
2018-03-08Cleanup: drop Server::hudGetHotbarSelectedImage()Loic Blot
Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
2018-03-08Cleanup: drop Server::hudGetHotbarImage()Loic Blot
Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
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