summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-26Dungeons: Add nodebox stairs to desert and sandstone dungeonsparamat
Desert and sandstone dungeons have 2 node wide corridors. Previously, nodebox stairs were disabled because dungeon generation code did not support nodebox stairs wider than 1 node, now it does. Add 'stair desert stone' content id to MappgenBasic. Requires 'mapgen stair desert stone' to be added to Minetest Game.
2017-01-27Fix after hardware node coloring (#5114)Dániel Juhász
2017-01-25Dungeongen: Fix out-of-voxelmanip access segfaultparamat
My recent dungeon commit allowed stairs to be placed across the full width of corridors, but some of the new node positions accessed were missing checks for being within the voxelmanip, causing occasional segfaults near dungeons with corridors wider than 1 node. Add 'vm->m_area.contains(pos)' checks just before stair position voxelmanip access. This allows an earlier check to be removed as it is now redundant.
2017-01-25Block spam messages before calling on_chatmessage callbacks (#4805)rubenwardy
Fixes #4799
2017-01-24Add smooth lighting for all nodesnumber Zero
Note: Smooth lighting disables the mesh cache.
2017-01-24Wrap to positive degree values (#5106)raymoo
2017-01-24Initialize TileAnimationParams to prevent crashes/bugs for legacy ↵sfan5
invocations of add_particle{,spawner} (fixes #5108)
2017-01-23Zoom FOV: Reduce minimum zoom FOV to 7 degreesparamat
The default of 15 is unchanged. 7 degrees is x10 magnification which is common for binoculars. Alter hardcoded limits in camera.cpp: Minimum 7 degrees. Maximum 160 degrees to match upper limits in advanced settings.
2017-01-23Dungeons: Support nodebox stairs wider than 1 nodeparamat
Previously, code did not support stair nodeboxes in corridors wider than 1 node. Make stair nodeboxes full width even in corridors with different widths in X and Z directions.
2017-01-23core: Add dir_to_yaw and yaw_to_dir helpersAuke Kok
These are needed to go from things like entity yaw to a vector and vice versa.
2017-01-23Vector: Add vector.sort(a, b): return box edgesAuke Kok
This function returns the box corners of the smallest box that includes the two given coordinates.
2017-01-23Add hardware node coloring. Includes:Dániel Juhász
- Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
2017-01-22Fix potential crash in chat handling (since ↵sfan5
2f56a00d9eef82052614e5854a07b39b087efd0b)
2017-01-21Remove os.exit from the Lua secure sandbox (#5090)Loïc Blot
os.exit will exit not using proper resource liberation paths. Mods should call the proper exit mod using our API
2017-01-21Add show_statusline_on_connect setting (#5084)Loïc Blot
Add show_statusline_on_connect setting
2017-01-21Revert "Detach the player from entities on death." (#5087)Loïc Blot
2017-01-21Fix unknown command message not providing number of cmdsapier
2017-01-21Add Entity get_texture_mod() to Lua APIsapier
Send texture modifier to clients connecting later too
2017-01-21Detach the player from entities on death. (#5077)red-001
2017-01-21Warning fix for 2ea60156437962d7d29d20606bf5d9189059f76b (#5082)Loïc Blot
Neither flag as force delete nor show the warning when mapblock is full and object is a player
2017-01-21Do not force deletion of players when mapblock is full (#5081)Loïc Blot
This fixes #4067
2017-01-20Remove `mathconstants.h` and use the correct way to get `M_PI` in MSVC. (#5072)red-001
2017-01-20Add chatcommand unregister and override API (#5076)Elijah Duffy
Introduces two functions to unregister and override chatcommands. minetest.unregister_chatcommand("<name>") and minetest.override_chatcommand("<name>", {<redifinition>})
2017-01-19Fix MSVC build Build broken by 98e36d7SmallJoker
2017-01-18Add particle animation, glowsfan5
This is implemented by reusing and extending the TileAnimation code for the methods used by particles.
2017-01-18Add minetest.player_exists() (#5064)rubenwardy
2017-01-18Add search to advanced settings (#4806)rubenwardy
* Add search to advanced settings * Press enter again to go to next result * Use keyword based search, auto select best option
2017-01-17Fix typo in alias for deprecated settexturemodsapier
2017-01-17Improve priv descriptions (#5047)Ezhh
2017-01-17Remove client-side chat prediction. (#5055)red-001
Network lag isn't really a big issue with chat and chat prediction makes writing mods harder.
2017-01-16Adjust formspec spacing on the Client tab of the mainmenurubenwardy
2017-01-16Rename ObjectRef methods to be consistent and predictablerubenwardy
2017-01-15Add keyword based search to serverlistred-001
2017-01-15Added lua tracebacks to some errors where you have been blind to what… (#5043)sapier
* Added lua tracebacks to some errors where you have been blind to what actually went wrong
2017-01-15Documentation: Correct biome heat / humidity noise parametersparamat
When the new set of biomes was added in MTGame the 'spread' for heat and humidity noise parameters was increased to 1000, i forgot to update settingtypes.txt and minetest.conf.
2017-01-15Add color names from web page referenced in luaapi docsapier
2017-01-14Only set material flag on rendered meshes (#5023)lhofhansl
2017-01-14Fix build with freetype support disabledsfan5
2017-01-14Fix another missing const reported by clang & @sfan5Loic Blot
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-14Fix missing const in ServerActiveObject::getStaticDataLoic Blot
This fixes #5033 Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Organize defaultsettings.cppShadowNinja
2017-01-13Main menu tweaksShadowNinja
2017-01-13Optimize SAO getStaticData by using std::string pointer instead of return copyLoic Blot
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Cleanup content_sao by factorizing similar code partsRogier
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Enable mod security by defaultShadowNinja
2017-01-13Meshes: Make object mesh face shading consistentparamat
Previously, object meshes had their North and South faces darker than East and West faces, the opposite of nodes and meshnodes. This commit corrects this. State constants as float-literals not double-literals. Simplify code. Add comment.
2017-01-11Make nametag removable with set_nametag_attributes (#5021)Rui
2017-01-11Cleanup some header inclusions to improve compilation timesLoic Blot
2017-01-11Performance fix + SAO factorizationRogier
Original credits goes to @Rogier-5 * Merge common attributes between LuaEntitySAO & PlayerSAO to UnitSAO * Make some functions const * Improve some lists performance by returning const ref Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-09Add staticdata parameter to add_entity (#5009)Rui
* Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features