summaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* 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
|
* Use tree to list mods rather than textlistrubenwardy2017-02-10
|
* Add textures for air and ignore items (#5196)Wuzzy2017-02-10
|
* Change default nodetimer_interval to 0.2s. (#5193)Auke Kok2017-02-09
| | | | | | | | | | We want to reduce the chance that we get lots and lots of node timers all happening once a second, because we're better off doing small bits of work as they are available. Reducing this to 0.2 seconds will greatly reduce the total amount of nodetimers that elapse at the same instance, while not effecting total work load. This results in a far better chance of the server keeping up with work loads.
* Serverlist: Add ping indicators (#5164)kilbith2017-02-03
|
* Make facedir_to_dir and wallmounted_to_dir work with coloured nodes as well. ↵Nathanaël Courant2017-01-31
| | | | (#5153)
* Add console height setting (#5136)Ezhh2017-01-30
|
* Zoom FOV: Reduce minimum zoom FOV to 7 degreesparamat2017-01-23
| | | | | | | | The default of 15 is unchanged. 7 degrees is x10 magnification which is common for binoculars. Alter hardcoded limits in camera.cpp: Minimum 7 degrees. Maximum 160 degrees to match upper limits in advanced settings.
* core: Add dir_to_yaw and yaw_to_dir helpersAuke Kok2017-01-23
| | | | | These are needed to go from things like entity yaw to a vector and vice versa.
* Vector: Add vector.sort(a, b): return box edgesAuke Kok2017-01-23
| | | | | This function returns the box corners of the smallest box that includes the two given coordinates.
* Add show_statusline_on_connect setting (#5084)Loïc Blot2017-01-21
| | | Add show_statusline_on_connect setting
* Add chatcommand unregister and override API (#5076)Elijah Duffy2017-01-20
| | | | | Introduces two functions to unregister and override chatcommands. minetest.unregister_chatcommand("<name>") and minetest.override_chatcommand("<name>", {<redifinition>})
* Add minetest.player_exists() (#5064)rubenwardy2017-01-18
|
* Add search to advanced settings (#4806)rubenwardy2017-01-18
| | | | | | | | * Add search to advanced settings * Press enter again to go to next result * Use keyword based search, auto select best option