aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Fix default item callbacks to work with nil users (#5819)raymoo2018-06-03
| | | | | | | | | * Fix default item callbacks to work with nil users * item.lua: Handle node drops for invalid players The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used. Remove redundant `local _, dropped_item`
* Profiler: Fix var args not being passed to callback register functionrubenwardy2018-06-03
| | | | Fixes #6517
* Add setting for near plane distance. (#6395)Rob Blanckaert2018-06-03
| | | | | | | * Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
* Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA72018-06-03
| | | | | | * Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
* Fix Rotate Node Placement (#6424)tenplus12018-06-03
| | | | This properly checks for creative mode or privilege when using fixed rotate_node() function.
* Fix core.wrap_text and make its behaviour consistent with the docssfan52018-06-03
| | | | Code based on initial implementation by @dsohler.
* Make dropped items colorableDániel Juhász2018-06-03
|
* Automatic item and node colorization (#5640)Dániel Juhász2018-06-03
| | | | | | | | | | | | | | | | | * Automatic item and node colorization Now nodes with a palette yield colored item stacks, and colored items place colored nodes by default. The client predicts the colorization. * Backwards compatibility * Use nil * Style fixes * Fix code style * Document changes
* Add a server-sided way to remove color codes from incoming chat messages (#5948)red-0012018-06-03
| | | | | | | | | These code be generated by CSM, a modded client or just copy and pasted by the player. Changes - Update configuration example and setting translation file. - Remove colour codes before logging chat. - Add setting to remove colour codes before processing the chat.
* Fix sending color codes to clients that don't support them. (#5950)red-0012018-06-03
| | | Also remove `disable_escape_sequences` since it's not needed anymore.
* make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942)DS2018-06-03
|
* Update creditsrubenwardy2017-06-03
| | | | | | | | | | | The following algorithm was used when selecting contributors: * Every non-trivial contributor from the current release, Non-trivial meaning more than X non-trivial commits, not counting documentation/translation changes * The top Y contributors from the last 4 years. * Previous contributor means no contributions since a few months before the last release. In the future this should be automated
* Remove unimplemented setting `movement_speed_descend` (#5892)red-0012017-06-03
|
* Remove “inf” argument from shutdown command help (#5880)Wuzzy2017-06-02
|
* Added missing levels to logging menu (#5836)Nathan Salapat2017-05-28
| | | | | | * Added missing levels to logging menu Added none and error options to the debug_log_level in the advance settings.
* Add formspec escaping to subgame list in create world dialog (#5808)rubenwardy2017-05-24
|
* [CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)Pierre-Adrien Langrognet2017-05-21
| | | | | | | | | | | | * [CSM] Add send_chat_message and run_server_chatcommand API functions * Add client-side chat message rate limiting * Limit out chat queue size * [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand * Last fixes/cleanups before merge
* Menu: Merge singleplayer and server tabs (#5627)Elijah Duffy2017-05-21
| | | Rename "Singleplayer" tab to "Play" and remove "Server" tab placing server functionality under a "Host Game" checkbox in "Play."
* Add /clearinv chat command (#4994)Elijah Duffy2017-05-20
| | | Allow players to clear their own inventory or that of another player with /clearinv command. server privilege is required to clear another player's inventory, no privileges are required to clear your own inventory.'
* Mainmenu: Fix issues while trying to enable all mods (#5770)SmallJoker2017-05-19
|
* Builtin: Fix subgame mod selection (#5367)SmallJoker2017-05-17
|
* CSM: Document forgotten functionsSmallJoker2017-05-16
|
* Add option to use neither node highlighting nor outliningezhh2017-05-15
|
* Menu: Fix starting a server if the server address is an empty string. (#5742)red-0012017-05-10
| | | Minetest uses an empty string internal to signal that a server should be started.
* minetest.deserialize: Throw error when argument not string (#5738)SmallJoker2017-05-09
|
* Android: Fix crash while loading main menu (#5736)red-0012017-05-09
| | | Broken by 43d1f37
* Move Pilzadam to previous developers. (#5735)Auke Kok2017-05-09
|
* 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.
* Add configurable key bindings for hotbar scrolling, and for changing volume.Wuzzy2017-05-06
|
* [CSM] add `on_item_use` (#5544)red-0012017-05-06
|
* 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
* [CSM] Add event on_place_node API lua (#5548)Vincent Glize2017-04-29
| | | | * [CSM] Add event on_place_node API lua
* 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.
* 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
* Add /fixlight chat commandDániel Juhász2017-04-22
|
* 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.
* 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)
* Implement delayed server shutdown with cancelation (#4664)Loïc Blot2017-04-15
|
* [CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565)red-0012017-04-11
|
* [CSM] Use more gettext (#5553)red-0012017-04-10
|
* [CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)red-0012017-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.
* 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
|
* [CSM] Add event on_connect player API lua (#5540)Vincent Glize2017-04-08
| | | | * Add event on_connect player API lua
* 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
* Add Joystick type detection and Xbox controller supportrubenwardy2017-04-06
| | | | | | * Add joystick type detection (with joystick_type setting to override it) * Fix multiple joysticks from interfering with each other by only reading from one (add joystick_id setting) * Add support for Xbox controllers
* Expose vector helpers to CSMLoic Blot2017-04-06
|
* Mapgen documentation: Add descriptions to noise parametersparamat2017-04-05
| | | | | | Shorten 'readable names'. Add a new advanced settings menu section for Biome API noises. Various minor edits and improvements.