aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* 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.
* Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat2017-04-03
| | | | | | | | | | | | | | Add to MapgenBasic for use by multiple mapgens. Add to mgv5 and mgv7, enabled by default. Similar to mgvalleys caverns but half the scale. Parameters for upper y limit, distance caverns taper to full size, and noise threshold (full cavern size). As with mgvalleys caverns are generated first and classic caves are disabled in any mapchunk containing a cavern, to avoid excessive spreading volumes of liquids. This also avoids floating blobs of liquid where a large classic cave has overgenerated out into a neighbouring previously-generated mapchunk.
* minetest.after(): simplify further, pause in singleplayer (#5500)Auke Kok2017-04-02
| | | | | | Using the `dtime` value entirely, this will stop the clock if the game is paused in singleplayer. Since most of the clocks were fixed a long time ago, this should again be safe to use.
* First commit for fine pointed (#5485)MarkuBu2017-04-01
|
* Add functions to strip color information. (#5472)Diego Martínez2017-03-28
|
* Fix a type bug in colorize functionLoïc Blot2017-03-28
| | | | This bug was introduced by dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
* Map generation limit: Make per-worldparamat2017-03-27
| | | | | | | | | | | The setting limits map generation but affects nothing else. Add 'mapgen_limit' to global mapgen parameters. Move 'blockpos_over_mapgen_limit()' to the only place it is called from: map.cpp. Allow teleportation to any part of the world even if over the set mapgen limit. Simplify the reading of this limit in mgvalleys. Remove the 'map_generation_limit' setting.
* Change command prefix to "." and add "help" command.red-0012017-03-26
|
* Add mesh generation delaynumber Zero2017-03-26
|
* Typo fixLoïc Blot2017-03-24
|
* Add multiline support to colorize. (#5444)red-0012017-03-24
|
* Block access to the `io` libraryred-0012017-03-19
|
* Give CSM access to use `core.colorize()` (#5113)red-0012017-03-17
|
* Fix two nul deref if digging unknown nodes. (#5398)Auke Kok2017-03-15
| | | Introduced by d785456b3fa35faf47cb972fde9e8668382c5e22 (#5162)
* [CSM] Add enable_client_modding param (default: false)nerzhul2017-03-13
|
* [CSM] Add `on_punchnode` callbackred-0012017-03-13
|
* [CSM] Add `on_dignode` callback (#5140)red-0012017-03-13
|
* [CSM] Improve security for client-sided mods (#5100)red-0012017-03-13
|
* [CSM] implement client side mod loading (#5123)Loïc Blot2017-03-13
| | | | | | | | | * client side mods are located in clientmods/ * move builtin/preview.lua to clientmods/preview/init.lua as a preview mod * refactor ModConfiguration class to work properly with client and server using child objects * move some Server constructor mod load code to ModConfiguration to reduce code duplication between client and server * remove mods.{cpp,h} unused functions * use UNORDERED_SET instead of std::set in some modspec storages
* [CSM] Add local formspecs. (#5094)red-0012017-03-13
|
* [CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot2017-03-13
| | | | | | | | | | * squashed: CSM: Implement register_globalstep * Re-use fatal error mechanism from server to disconnect client on CSM error * Little client functions cleanups * squashed: CSM: add core.after function * core.after is shared code between client & server * ModApiUtil get_us_time feature enabled for client
* [CSM] Add client-sided chat commands (#5092)red-0012017-03-13
|
* [CSM] Add on_death, on_hp_modification & oh_damage_taken callbacks (#5093)Loïc Blot2017-03-13
| | | | | | * Add on_death callback * Add on_hp_modification & on_damage_taken callbacks * move preview code to preview.lua
* [CSM] Client side moddingLoic Blot2017-03-13
| | | | | | | | | | * rename GameScripting to ServerScripting * Make getBuiltinLuaPath static serverside * Add on_shutdown callback * Add on_receiving_chat_message & on_sending_chat_message callbacks * ScriptApiBase: use IGameDef instead of Server This permits to share common attribute between client & server * Enable mod security in client side modding without conditions
* Save metainfo for falling nodesVladislav Tsendrovskii2017-03-11
|
* Enable server side occlusion culling by default.Lars Hofhansl2017-03-11
|
* Allow server side occlusion culling.Lars Hofhansl2017-03-11
|
* Climb speed: Increase default setting from 2 to 3paramat2017-03-11
|
* Optimize item.luatenplus12017-03-10
| | | | Replace slow ItemStack get_definitions with registered_nodes one's and cached playername as it's used multiple times. Also removed local item = itemstack:peek_item() as it is never used.
* Add minetest.spawn_falling_node(pos) (#5339)zaoqi2017-03-04
| | | | | | | | * Add minetest.spawn_falling_node(pos) * lua_api.txt: Add minetest.spawn_falling_node(pos) * Update minetest.spawn_falling_node(pos)
* Fix crash that can be caused by the shutdown command. (#5292)red-0012017-02-25
|
* Fixes for colorwallmounted and colorfacedir nodesDániel Juhász2017-02-18
| | | | | | Correct node placement prediction for attached colorwallmounted nodes. Correct placement direction for colorfacedir and colorwallmounted nodes. Correct detatch mechanism for attached colorwallmounted nodes.
* Multiplayer menu: fix attempt to open nonexistant imagekilbith2017-02-18
| | | | | | | | Since local servers and local favorites have no ping value (these are only provided by the server) we shouldn't load a broken image filename. Fixes #5238
* Statbars.lua: Cache enable_damage settingtenplus12017-02-18
|
* Add support for the new arguments of `request_shutdown` to the `/shutdown` ↵red-0012017-02-18
| | | | chatcommand. (#5252)
* Mainmenu: Brighter text colours for readabilityHybrid Dog2017-02-12
|