aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* [CSM] add screenshot api lua (#5674)Vincent Glize2017-04-29
| | | | * [CSM] add screenshot api lua
* Clean up getTime helpersShadowNinja2017-04-28
| | | | | | This increases size of the getTime return values to 64 bits. It also removes the TimeGetter classes since the getTime functions are now very precise.
* Fix click-digging torches (#5652)you2017-04-28
| | | | Torches are dug instantly again. When the digging time is 0, a delay of 0.15 seconds is added between digging nodes. If the left mouse button is released, the delay is set to 0, thus click-digging.
* Allow mesh and nodeboxes to wave like plants or leaves. (#3497)Auke Kok2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We introduce a new value for "waving" - 2: 0 - waving disabled 1 - wave like a plant 2 - wave like a leave Plantlike nodes will only allow waving = 1, but for leaves we will permit both 1 and 2 since current minetest_game sets it to 1 for all leaves. This makes it somewhat backwards compatible. For mesh and nodebox, values 1 and 2 are both valid, and the node can wave in both fashions as desired. I've tested this with the crops:corn plants, which are mesh nodes, and the results are really good. The code change is trivial as well, so I've opted to document the waving parameter in lua_api.txt because it was missing from there. Nodeboxes likely will not wave properly unless waving = 2. However it's possible that waving=1 may be desired by some mod developers for geometries I have not tried, so the code will not prohibit either value for mesh and nodebox drawtypes. Add lua_api.txt documentation for this feature and document both the existing functionality and the expansion to mesh and nodebox drawtypes.
* Fix Travis buildsShadowNinja2017-04-27
|
* Search user path for sounds (#5657)Louis Pearson2017-04-27
|
* Don't permit to copy Scripting classes (Client,Server,Mainmenu)Loïc Blot2017-04-27
|
* Allow scripts to get the client protocol version in non-debug builds. (#5649)red-0012017-04-27
|
* Fix incorrect formspec-tooltip doc, add detail in 'floodable' & 'on_flood' ↵Bluebird2017-04-27
| | | | | | | | | | docs (#5660) * Fix incorrect formspec tooltip documentation * Improve `floodable` and `on_flood` documentation. The original documentation did not specify that liquids should not themselves be floodable. This is probably something that should be mentioned.
* Fix Android build since 2818d3f2244d2146a5cdb61cd41f6561c514f97cLoic Blot2017-04-26
|
* Fix #5655 (#5658)red-0012017-04-26
| | | | Client: Don't send `TOSERVER_RECEIVED_MEDIA` since it's not used anymore Server: Handle `TOSERVER_RECEIVED_MEDIA` using `Server::handleCommand_Deprecated`
* Tiny documentation fix. (#5659)Bluebird2017-04-26
| | | There are plenty of lines longer than 80 characters, and spliting the function declaration across two lines can be momentarily confusing.
* Rename Scripting API files for consistencyShadowNinja2017-04-25
|
* Footsteps without view bobbing (#5645)Louis Pearson2017-04-25
| | | | | | | | | | | | * Remove redundant view_bobbing setting Also fixes bug where disabling view_bobbing disables footstep sounds. * Removes redundant view_bobbing setting Setting view_bobbing amount to 0 is now the only way to turn view_bobbing on and off. Also fixed a bug where footstep sounds would not play when view_bobbing was disabled.
* Fix various points reported by cppcheck (#5656)Loïc Blot2017-04-25
| | | | | | | | | | | | * Fix various performance issues reported by cppcheck + code style (CI) * Make CI happy with code style on master * guiFileSelectMenu: remove useless includes * some performance fixes pointed by cppcheck * remove some useless casts * TextDest: remove unused setFormSpec function * Fix various iterator post-increment reported by cppcheck
* Gitlab-CI: keep build workspace only 1 hourLoïc Blot2017-04-24
|
* Fix lint since recent player to db mergeLoic Blot2017-04-23
|
* Player data to Database (#5475)Loïc Blot2017-04-23
| | | | | | | | | | | | * Player data to Database Add player data into databases (SQLite3 & PG only) PostgreSQL & SQLite: better POO Design for databases Add --migrate-players argument to server + deprecation warning * Remove players directory if empty
* LINT fixLoic Blot2017-04-23
|
* Revert "CONTRIBUTING: disallow signed git commits"Loic Blot2017-04-23
| | | | | | This reverts commit 7a6502a7a5007e4bed8c1dd10af39d4fa2b296a4. Signed commits are supported by PPA and weblate now
* Pass clang-format on various cpp/header files (#5559)Loïc Blot2017-04-23
|
* Network:Remove old opcodes and fix documentation. (#5573)red-0012017-04-22
|
* Mgflat, Mgv7: Fix noise crash on world exit.paramat2017-04-22
| | | | | | Fix crash caused by destructor 'delete' on noise objects that are not created due to mapgen options. Crash was caused by commit 57eaf62c697cec91890d9cb28d10385d293d2d3f
* Add /fixlight chat commandDániel Juhász2017-04-22
|
* Mgflat, Mgv7: Only create noise objects if neededparamat2017-04-22
|
* Sneak glitch: Set default to falseparamat2017-04-22
| | | | | | | | The 'sneak glitch' physics override now controls whether a player can use the new move code replications of the old sneak side-effects: sneak ladders and 2 node sneak jump. This completes our intention to replicate the old sneak side-effects in new code and provide them as an option that is disabled by default.
* Add on_flood() callback.Auke Kok2017-04-22
| | | | | | | | | | | | | | | | | | | | | This callback is called if a liquid definitely floods a non-air node on the map. The callback arguments are (pos, oldnode, newnode) and can return a `bool` value indicating whether flooding the node should be cancelled (`return true` will prevent the node from flooding). Documentation is added, the callback function was tested with a modified minetest_game. Note that `return true` will likely cause the node's `on_flood()` callback to be called every second until the node gets removed, so care must be taken to prevent many callbacks from using this return value. The current default liquid update interval is 1.0 seconds, which isn't unmanageable. The larger aim of this patch is to remove the lava cooling ABM, which is a significant cost to idle servers that have lava on their map. This callback will be much more efficient.
* Fix a memory leak (#5636)Dániel Juhász2017-04-22
|
* Fixing warning pointed by @sfan5 and clang and cleanup guiFileSelectMenuLoic Blot2017-04-22
| | | | * Also pass clang-format on guiFileSelectMenu.h and remove it from whitelist
* Revert a const ref on update textureLoic Blot2017-04-22
| | | | | | if mod is a reference to a class member a variable swap breaks. We should find a way to keep this const ref if possible. Added a comment about this in header