aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Don't make TAB exit game if bound to inventory.Auke Kok2017-04-17
| | | | | | | | | | | I play with the TAB key bound to the inventory. However, the code here assumes that TAB means "close formspec" in all contexts, including the main menu. This causes my game to exit when I attempt to TAB in between USERNAME and PASSWORD fields. We know when m_client != NULL that the game is a client game and not in the main menu, and then it's OK to use the INVENTORY bound key to exit the formspec, since it's not the main menu.
* Fix MSVC build broken by 34d32ceSmallJoker2017-04-17
| | | | | `round` -> `myround` Remove superflous `floor` calls
* MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock ↵Perttu Ahola2017-04-17
| | | | | | | | | | | | | | | | | | | | | copying done in the main thread Cache size is configurable by the meshgen_block_cache_size (default 20 MB). New profiler stats: - MeshUpdateQueue MapBlock cache hit % - MeshUpdateQueue MapBlock cache size kB Removes one type of stutter that was seen on the client when received MapBlocks were being handled. (the "MeshMakeData::fill" stutter) Kind of related to at least #5239 Originally preceded by these commits, now includes them: - Move the mesh generator thread into src/mesh_generator_thread.{cpp,h} - mesh_generator_thread.cpp: Update code style - MeshUpdateThread: Modify interface to house a different implementation: Actual functionality will be changed by next commits. - MeshMakeData: Add fillBlockData() interface (so that caller can fill in stuff from eg. a MapBlock cache)
* Include container.h in util/thread.h. util/thread.h doesn't compile without itPerttu Ahola2017-04-17
|
* Sneak: Add option for old move codeparamat2017-04-17
| | | | | | Temporary option for the old move code for specific old sneak behaviour. Enabled by setting the added 'new move' physics override to false. By default 'new move' is true.
* Remove an unused variable in Android BuildLoic Blot2017-04-17
|
* Plug two minor Leaks (#5603)Auke Kok2017-04-17
| | | | | | | | | | * Resource leak: CHECK_FILE_ERR returns, without freeing chunk_name. Found with static analysis. * Resource leak: leaks `page` on error path. Found with static analysis.
* Android progressbar fix (#5601)Loïc Blot2017-04-16
| | | | | | | | | | | | | | | | | * Fix progressbar for Android Fixes #5599 Fixed #5403 * draw_load_screen: use texturesource this permits to unify texture loading code * scale progress bar * Add gl version check for GL_OES_texture_npot. This fixed the texture on loading screen * Remove two sanity checks pointed by @celeron55 * sfan5 comments + android ratio fixes
* Disable android leveldb by default (#5596)Nathanaël Courant2017-04-16
| | | | 1) Now leveldb is brick (thanks google) 2) By default, use SQLite3, this work perfectly and NOBODY not use LevelDB on Android :)
* Implement delayed server shutdown with cancelation (#4664)Loïc Blot2017-04-15
|
* Minimap: Do a double-typecast to fix compiling with MSVCSmallJoker2017-04-15
|
* Partial damage cheat fix: node damages server side (#4981)Loïc Blot2017-04-15
| | | | | | * Damage cheat fix: server side * Lava/Node damages overtime server side * lava hurt interval is only for old protocol
* NetworkPacket: don't copy push std::string and std::wstringLoic Blot2017-04-14
|
* Fix wrong channel type in Client/Server CommandFactoriesLoic Blot2017-04-14
| | | | This is a u8 not a u16
* ClientIface::sendToAll: honor packet configuration (#5590)Loïc Blot2017-04-14
|
* Fix android buildLoic Blot2017-04-14
|
* [CSM] Add function to set minimap shape (#5569)bigfoot5472017-04-14
| | | | | | | | | | | | | | | | | | | | | | | | * [CSM] Add function to set minimap shape Also deprecates `toggle_shape`. * Oh fish, I messed that one up! * Fix Style * Sorry, I missed something I still had the `luamethod` call in there! * Add getters * Remove extra line * Remove useless variable Please review again @nerzhul . Thanks! * Satisfy nerzhul
* Only use palette if param_type2 is correctDániel Juhász2017-04-13
|
* Add documentation for map block format 27 (#5576)Dániel Juhász2017-04-13
|
* [CSM] Fix localplayer documentation (#5557)Vincent Glize2017-04-12
|
* Fix inability to change metadata using stack:to_table() (#5547)numberZero2017-04-12
|
* Fix fips_cipher_abort warning and other duplicate macrosLoic Blot2017-04-12
|
* [CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565)red-0012017-04-11
|
* Replace occurrence of luaL_reg in l_localplayer (#5566)t0ny22017-04-11
| | | | Related to commit 41c5483. Replace a final occurrence of luaL_reg in src/script/lua_api/l_localplayer.cpp
* Sneak glitch: Detect ledge for 2-node climb-upparamat2017-04-11
| | | | | | | | | Re-creates the old sneak-jump behaviour in new code. Enabled by the 'sneak glitch' physics override. When a ledge is detected the jump speed modifier is set to the larger of 'physics override jump' and 1.3 to allow a 2-node climb-up. An unexpected side-effect is the simple sneak ladder working smoothly.
* [CSM] Use more gettext (#5553)red-0012017-04-10
|
* [CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)red-0012017-04-10
|
* Clang-format fix for AndroidLoïc Blot2017-04-10
|
* Clang-format styles fixes since previous commitLoïc Blot2017-04-10
|
* Clang format: fix LINT on old PR which doesn't have LINT enabledLoic Blot2017-04-10
|
* Hard-coded undersampling.number Zero2017-04-09
| | | | | | | | | | Adds uniform undersampling for the 3D rendered scene. GUI elements are not undersampled, resulting in better playability for users with low-performance platforms with readable fonts and formspecs. The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels which translates into a resolution reduction of x4, x9 or x16, and is significant.
* LocalPlayer api luaVincent Glize2017-04-08
|
* Hardware coloring for itemstacksDániel Juhász2017-04-08
| | | | | | | | | | Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
* Move chat command handling code from C++ to Lua (#5528)red-0012017-04-08
|
* Document that write_json will error on unserializable types. (#5539)raymoo2017-04-08
| | | Previously it was erroneously documented that it would save them as null.
* Prepare for Linux daily build packages (using Gitlab.com CI) (#5542)Loïc Blot2017-04-08
| | | * Prepare for Linux daily build packages (using Gitlab.com CI)
* Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot2017-04-08
| | | | | (#5541) We are bundling Lua5.1 which has same macro
* code style fix on src/script/cpp_api/s_client.hLoic Blot2017-04-08
|
* [CSM] Add event on_connect player API lua (#5540)Vincent Glize2017-04-08
| | | | * Add event on_connect player API lua
* Fix cmake library default build problem since moving to lib/Loic Blot2017-04-07
| | | | Also make Lua library check a cmake module
* Pass clang-format on 14 trivial header files fixesLoic Blot2017-04-07
| | | | Also remove them from whitelist
* Fix signed/unsigned conversion warningrubenwardy2017-04-07
| | | | | There was no bug here (as I checked for negativeness), however it's good to get rid of warnings.
* Cavegen: Fix non-constant array initializer error for MSVCSmallJoker2017-04-07
|
* Settings: Update documentation (#5534)SmallJoker2017-04-07
| | | | | | | | | | | | Now documented (sorted a-z): enable_console enable_particles creative_mode hud_scaling inventory_image_hack keymap_console keymap_zoom shader_path view_bobbing
* Clang-format: fix some header files and remove them from whitelistLoic Blot2017-04-07
|
* Add the REQUIRE_LUAJIT option (#5526)YuGiOhJCJ2017-04-07
|
* Windows: Skip cmd for release builds (#5416)adrido2017-04-07
|
* Fix "error: ‘playerSAO’ was not declared"Auke Kok2017-04-06
| | | | | | | | Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19 A rebase issue missed a rename from playerSAO to playersao. Tested.
* Fix spacingEkdohibs2017-04-06
|
* Fix problems when overriding the hand:Ekdohibs2017-04-06
| | | | | - If the hand can dig a node the item wielded can't, allow to dig it anyway. - Fix the API callbacks from setting the hand instead of the wielded item.