summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* lua: remove core.cause_error call (#5637)Loïc Blot2017-04-22
| | | it was used in minimal to trigger core crash, not very useful
* Fix various performance issues reported by cppcheck + code style (CI) (#5635)Loïc Blot2017-04-21
| | | | | | | * 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 #5617 - respect message and reconnect parameters when shutting down ↵orwell962017-04-21
| | | | immediately (#5621)
* Fix after soft node overlaysDániel Juhász2017-04-21
| | | This removes a segmentation fault and makes node meshes well colorized.
* Soft node overlay (#5186)Dániel Juhász2017-04-21
| | | | This commit adds node overlays, which are tiles that are drawn on top of other tiles.
* Gitlab-CI enhancements (#5629)Loïc Blot2017-04-21
|
* Fix various performance issues reported by cppcheck (#5628)Loïc Blot2017-04-21
| | | * Also remove 1 non declared but defined functions
* Run generate_from_settingtypes.luaEkdohibs2017-04-20
|
* Light update for map blocksDániel Juhász2017-04-20
| | | | | | | | | This is not really different from the light update of a voxel manipulator. This update does not assume that the lighting was correct before, therefore it is useful for correction. Also expose this function to the Lua API for light correction, and allow voxel manipulators not to update the light.
* Split light update into two partsDániel Juhász2017-04-20
| | | | The common part can be reused.
* Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)Loïc Blot2017-04-20
| | | | * Also remove 2 non declared but defined functions * Make some functions around const ref changes const
* Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot2017-04-19
| | | | * Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
* Conf.example: Move some lines to minetest.conf.example.extraparamat2017-04-19
| | | | | | | | Some information in conf.example cannot be generated from settingtypes.txt, moving it to a new file makes generating conf.example while preserving that information easier. Regenerate conf.example from settingtypes.txt.
* Pointed thing to face pos: Fix crash if opening door with slab or stairMarkuBu2017-04-19
| | | | | | Avoids crash caused when 'pointed thing -under' and '-above' are not face-neighbours, for example in the case of pointing to the top half of a door.
* Tools: Fix tool digging speed limitHybrid Dog2017-04-19
|
* Fix various variables passed by copy instead of const ref (#5610)Loïc Blot2017-04-19
| | | Pointed by cppcheck
* Fix broken lint since 04cc9de8f2fbcb11f133c88f02fc11504b3ea6f3Loïc Blot2017-04-18
|
* Reorder TileSpec. (#5591)Auke Kok2017-04-18
| | | | Put accessed members that are needed by updateFastFaceRow() all in the same cacheline.
* Fix always using the xbox layout (reported by coverity).Ekdohibs2017-04-18
|
* 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
|