aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Player attrs: permits to remove an attribute by setting value to nil (#5716)Loïc Blot2017-05-07
| | | | | | | | | | * Player attrs: permits to remove an attribute by setting value to nil When doing player:set_attribute("attr", nil) remove attribute Also remove a useless check on C++ API part (already done by checkplayer) Fix #5709
* LINT fix since d0678948165768472fc940c03e78cba787f49ea5Loic Blot2017-05-07
|
* Player properties: Set correct default collisionboxparamat2017-05-07
| | | | | | | | | Recent commit b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975 removed a hardcoded player collisionbox which resulted on falling back to an incorrect default. This stopped players walking through 2-node high spaces and made the player slightly wider. Improve docs for custom player collisionbox feature and reformat nearby lines.
* Replace occurrence of luaL_reg in l_camera.cppT0ny22017-05-07
| | | | | Related to commit 41c5483. Replace an occurrence of luaL_reg in src/script/lua_api/l_camera.cpp (added by commit de028fc).
* Fix myfloor(0.0)ShadowNinja2017-05-06
|
* Clean up numeric.h and split FacePositionCache from itShadowNinja2017-05-06
| | | | | I also optiized FacePositionCache a bit: I removed a map lookup and vector copy from both branches of getFacePosition.
* Make the player collisionbox settableTeTpaAka2017-05-06
|
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Fix codestyle since CSM Camera APILoic Blot2017-05-06
|
* Add configurable key bindings for hotbar scrolling, and for changing volume.Wuzzy2017-05-06
|
* Use stepheight from CAO instead of hardcoded valueSapier2017-05-06
|
* [CSM] add `on_item_use` (#5544)red-0012017-05-06
|
* Make players respect makes_footstep_sound in the object propertiesTeTpaAka2017-05-06
|
* [CSM] Add camera API (#5609)bigfoot5472017-05-05
| | | | | | | * [CSM] Add camera API roper rebase & squash * Address nerzhul's review
* Clouds API: Fix yellow clouds at dawn and dusk (#5707)Paramat2017-05-05
|
* Add missing server sending rule for bd921a7916f0fafc493b1c4d0eeb5e2bb1d6a7c2Loic Blot2017-05-05
|
* Fix Android build (#5706)Wayward One2017-05-05
| | | | * Fix Android build
* Save minetest screen width/height options when modified (#5683)Loïc Blot2017-05-05
| | | | | | | | * Save minetest screen width/height options when modified * Add autosave_screensize setting (default true) * Fix @SmallJoker comments
* Add option to also check the center to `find_node_near` (#5255)red-0012017-05-04
| | | | | * Add option to also check the center to `find_node_near`
* Translated using Weblate (Esperanto)yellowcrash102017-05-04
| | | | Currently translated at 31.9% (293 of 918 strings)
* Translated using Weblate (Italian)Michele Mainardi2017-05-04
| | | | Currently translated at 96.0% (882 of 918 strings)
* Translated using Weblate (Portuguese)Mário2017-05-04
| | | | Currently translated at 66.9% (615 of 918 strings)
* Translated using Weblate (Belarusian)Viktar Vauchkevich2017-05-04
| | | | Currently translated at 100.0% (918 of 918 strings)
* Translated using Weblate (Spanish)David Capello2017-05-04
| | | | Currently translated at 58.0% (533 of 918 strings)
* Translated using Weblate (Spanish)Laura Arjona Reina2017-05-04
| | | | Currently translated at 57.9% (532 of 918 strings)
* Added translation using Weblate (Swedish)metarmask2017-05-04
|
* Translated using Weblate (Japanese)BreadW2017-05-04
| | | | Currently translated at 49.6% (456 of 918 strings)
* Translated using Weblate (Japanese)monolifed2017-05-04
| | | | Currently translated at 49.4% (454 of 918 strings)
* Translated using Weblate (Russian)Andrey K2017-05-04
| | | | Currently translated at 60.1% (552 of 918 strings)
* Translated using Weblate (Turkish)monolifed2017-05-04
| | | | Currently translated at 93.6% (860 of 918 strings)
* Translated using Weblate (Malay)Muhammad Nur Hidayat Yasuyoshi2017-05-04
| | | | Currently translated at 54.9% (504 of 918 strings)
* Remove CMAKE -ffast-math flag from OSX/FreeBSDVaughan Lapsley2017-05-04
| | | | | | | | Fixes issue: #4274 I have tested on MacOS 10.12.4 Requires testing on: FreeBSD, Windows and Linux which I do not have access to.
* LINT fix since cloud API mergeLoic Blot2017-05-04
|
* Directional coloured fog: Fix order of SColor componentsparamat2017-05-04
| | | | | 'video::SColor pointcolor' was initialised with order RGBA instead of ARGB. No change in behaviour as 'm_bgcolor' has alpha 255.
* Clouds: Fix reddish clouds. Add missing alpha updateparamat2017-05-04
| | | | | Fix accidental swap of red and blue components that caused reddish clouds Add missing update of alpha in remoteplayer.cpp
* Add function to get server info.red-0012017-05-04
|
* Fading soungs: Fix client crash on older serversSmallJoker2017-05-03
|
* Set sky API: Add bool for clouds in front of custom skyboxparamat2017-05-02
| | | | | | | Default true. Add 'm_clouds_enabled' bool to sky.h, set from new bool in 'set sky' API. Make 'getCloudsVisible()' depend on 'm_clouds_enabled' instead of 'm_visible' (whether normal sky is visible).
* Sneak: Improve and fix various thingsSmallJoker2017-05-03
| | | | | | Remove useless `got_teleported`. Fix jitter when walking against the sneak limits. Fix damage evading on sneak ladders.
* Sound API: Add fading soundsBrandon2017-05-03
|
* Add clouds APIBen Deutsch2017-04-30
|
* Optimize updateFastFaceRow processing by removing some TileSpec copy (#5678)Loïc Blot2017-04-29
| | | | | | | | | | | | | | | * Optimize updateFastFaceRow processing by removing some TileSpec copy It permit to decrease this function from 54% runtime to 45% and reduce copy from 14% runtime to 12.5% getTileInfo also reduced from 27% to 23% * makeFastFace should use a const ref too this trigger a const pointer need in the underlying function Also fix some code style and prevent calculating 4 times the same position at a point * Reduce a comparison cost for lights in updateFastFaceRow
* Fix visual slide issue with set_detach, fixes #5620shivajiva1012017-04-29
|
* content_cao: fix getPlayerControl structure copy on each step (#5677)Loïc Blot2017-04-29
| | | Also fix some codestyle issues around it.
* Client & ClientEnvirnment: don't create fake events (#5676)Loïc Blot2017-04-29
| | | | | | | Instead of create fake events on the stack on each loop call (Game::run), verify is queue is empty or not and handle event directly if there is. This prevents fake ClientEvent creation & memory allocations Same fix is also applied on ClientEnvironment, & rename getClientEvent to getClientEnvEvent to match ClientEnvEvent object
* Fix Travis/unittest broken since b662a45SmallJoker2017-04-29
|
* Remove legacy unused define DIGGING_PARTICLES_AMOUNTLoic Blot2017-04-29
|
* [CSM] Add event on_place_node API lua (#5548)Vincent Glize2017-04-29
| | | | * [CSM] Add event on_place_node API lua
* Fix Lint broken by b662a4577d692329b9ca83525e6039f2ddcd1ac1Loic Blot2017-04-29
|
* Reorder TileLayer. (#5638)Auke Kok2017-04-29
| | | | | | | | | | | | | | Despite the split of TileSpec into TileDef and TileLayer, the TileLayer struct is still 66 bytes large, and doesn't fit in a single cacheline. I'm moving the color member to cacheline 2, in the hope that it is less used and the compiler loads all the hot members in a single cacheline instead. Only color sits now in cacheline 2, all the other members are in cacheline 1. Note: is_color is probably rarely set, most nodes will likely not use hardware coloring, but this may change in the future. Ideally, this class is shrunk to 64 bytes.