aboutsummaryrefslogtreecommitdiff
path: root/src/clientsimpleobject.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-24Add smooth lighting for all nodesnumber Zero3-129/+396
Note: Smooth lighting disables the mesh cache.
2017-01-24Wrap to positive degree values (#5106)raymoo1-1/+1
2017-01-24Initialize TileAnimationParams to prevent crashes/bugs for legacy ↵sfan51-0/+2
invocations of add_particle{,spawner} (fixes #5108)
2017-01-23Zoom FOV: Reduce minimum zoom FOV to 7 degreesparamat3-4/+3
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 nodeparamat1-8/+16
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 Kok2-0/+12
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 Kok2-0/+6
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ász27-554/+1207
- 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 ↵sfan51-1/+1
2f56a00d9eef82052614e5854a07b39b087efd0b)
2017-01-21Remove os.exit from the Lua secure sandbox (#5090)Loïc Blot1-1/+0
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 Blot4-2/+10
Add show_statusline_on_connect setting
2017-01-21Revert "Detach the player from entities on death." (#5087)Loïc Blot5-16/+14
2017-01-21Fix unknown command message not providing number of cmdsapier1-1/+1
2017-01-21Add Entity get_texture_mod() to Lua APIsapier7-8/+53
Send texture modifier to clients connecting later too
2017-01-21Detach the player from entities on death. (#5077)red-0015-14/+16
2017-01-21Warning fix for 2ea60156437962d7d29d20606bf5d9189059f76b (#5082)Loïc Blot1-7/+3
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 Blot1-0/+6
This fixes #4067
2017-01-20Remove `mathconstants.h` and use the correct way to get `M_PI` in MSVC. (#5072)red-00112-17/+2
2017-01-20Add chatcommand unregister and override API (#5076)Elijah Duffy2-0/+22
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 98e36d7SmallJoker2-0/+2
2017-01-18Add particle animation, glowsfan516-78/+311
This is implemented by reusing and extending the TileAnimation code for the methods used by particles.
2017-01-18Add minetest.player_exists() (#5064)rubenwardy2-5/+9
2017-01-18Add search to advanced settings (#4806)rubenwardy1-6/+114
* 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 settexturemodsapier1-1/+1
2017-01-17Improve priv descriptions (#5047)Ezhh1-20/+21
2017-01-17Remove client-side chat prediction. (#5055)red-0014-4/+17
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 mainmenurubenwardy1-13/+22
2017-01-16Rename ObjectRef methods to be consistent and predictablerubenwardy4-66/+67
2017-01-15Add keyword based search to serverlistred-0018-23/+113
2017-01-15Added lua tracebacks to some errors where you have been blind to what… (#5043)sapier4-7/+16
* Added lua tracebacks to some errors where you have been blind to what actually went wrong
2017-01-15Documentation: Correct biome heat / humidity noise parametersparamat2-4/+4
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 docsapier1-0/+7
2017-01-14Only set material flag on rendered meshes (#5023)lhofhansl1-8/+9
2017-01-14Fix build with freetype support disabledsfan51-1/+1
2017-01-14Fix another missing const reported by clang & @sfan5Loic Blot2-2/+2
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-14Fix missing const in ServerActiveObject::getStaticDataLoic Blot1-1/+1
This fixes #5033 Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Organize defaultsettings.cppShadowNinja1-112/+107
2017-01-13Main menu tweaksShadowNinja3-10/+9
2017-01-13Optimize SAO getStaticData by using std::string pointer instead of return copyLoic Blot4-12/+14
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Cleanup content_sao by factorizing similar code partsRogier2-249/+126
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
2017-01-13Enable mod security by defaultShadowNinja3-3/+3
2017-01-13Meshes: Make object mesh face shading consistentparamat1-11/+8
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)Rui1-2/+1
2017-01-11Cleanup some header inclusions to improve compilation timesLoic Blot10-13/+22
2017-01-11Performance fix + SAO factorizationRogier8-117/+88
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)Rui3-3/+6
* Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features
2017-01-09Environment & IGameDef code refactoring (#4985)Ner'zhul49-409/+301
* Environment code refactoring * Cleanup includes & class declarations in client & server environment to improve build speed * ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts. * Cleanup IGameDef * Move ITextureSource* IGameDef::getTextureSource() to Client only. * Also move ITextureSource *IGameDef::tsrc() helper * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call * drop unused emerge() call * cleanup server unused functions (mentionned before) * Drop one unused parameter from ContentFeatures::updateTextures * move checkLocalPrivilege to Client * Remove some unnecessary casts * create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it * Fix some comments * Change required IGameDef to Server/Client pointers * Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects * Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu * drop ClientMap::sectorWasDrawn which is unused
2017-01-09support older PostGreSQL versions (#4999)zeuner2-7/+26
* support older PostGreSQL versions * documentation accuracy * improve performance by affecting less rows in UPDATE queries
2017-01-09builtin/.../falling.lua: Avoid crash when hitting unknown nodessfan51-1/+1
2017-01-08Map generation limit: Cache as 'const' not 'const static'paramat2-3/+3