aboutsummaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
2017-04-29[CSM] Add event on_place_node API lua (#5548)Vincent Glize
* [CSM] Add event on_place_node API lua
2017-04-25Footsteps without view bobbing (#5645)Louis Pearson
* 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.
2017-04-23Player data to Database (#5475)Loïc Blot
* 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
2017-04-22Add /fixlight chat commandDániel Juhász
2017-04-19Conf.example: Move some lines to minetest.conf.example.extraparamat
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.
2017-04-19Pointed thing to face pos: Fix crash if opening door with slab or stairMarkuBu
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.
2017-04-17MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock ↵Perttu Ahola
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)
2017-04-15Implement delayed server shutdown with cancelation (#4664)Loïc Blot
2017-04-11[CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565)red-001
2017-04-10[CSM] Use more gettext (#5553)red-001
2017-04-10[CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)red-001
2017-04-09Hard-coded undersampling.number Zero
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.
2017-04-08Hardware coloring for itemstacksDániel Juhász
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.
2017-04-08Move chat command handling code from C++ to Lua (#5528)red-001
2017-04-08[CSM] Add event on_connect player API lua (#5540)Vincent Glize
* Add event on_connect player API lua
2017-04-07Settings: Update documentation (#5534)SmallJoker
Now documented (sorted a-z): enable_console enable_particles creative_mode hud_scaling inventory_image_hack keymap_console keymap_zoom shader_path view_bobbing
2017-04-06Add Joystick type detection and Xbox controller supportrubenwardy
* 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
2017-04-06Expose vector helpers to CSMLoic Blot
2017-04-05Mapgen documentation: Add descriptions to noise parametersparamat
Shorten 'readable names'. Add a new advanced settings menu section for Biome API noises. Various minor edits and improvements.
2017-04-03Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat
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.
2017-04-02minetest.after(): simplify further, pause in singleplayer (#5500)Auke Kok
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.
2017-04-01First commit for fine pointed (#5485)MarkuBu
2017-03-28Add functions to strip color information. (#5472)Diego Martínez
2017-03-28Fix a type bug in colorize functionLoïc Blot
This bug was introduced by dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
2017-03-27Map generation limit: Make per-worldparamat
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.
2017-03-26Change command prefix to "." and add "help" command.red-001
2017-03-26Add mesh generation delaynumber Zero
2017-03-24Typo fixLoïc Blot
2017-03-24Add multiline support to colorize. (#5444)red-001
2017-03-19Block access to the `io` libraryred-001
2017-03-17Give CSM access to use `core.colorize()` (#5113)red-001
2017-03-15Fix two nul deref if digging unknown nodes. (#5398)Auke Kok
Introduced by d785456b3fa35faf47cb972fde9e8668382c5e22 (#5162)
2017-03-13[CSM] Add enable_client_modding param (default: false)nerzhul
2017-03-13[CSM] Add `on_punchnode` callbackred-001
2017-03-13[CSM] Add `on_dignode` callback (#5140)red-001
2017-03-13[CSM] Improve security for client-sided mods (#5100)red-001
2017-03-13[CSM] implement client side mod loading (#5123)Loïc Blot
* 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
2017-03-13[CSM] Add local formspecs. (#5094)red-001
2017-03-13[CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot
* 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
2017-03-13[CSM] Add client-sided chat commands (#5092)red-001
2017-03-13[CSM] Add on_death, on_hp_modification & oh_damage_taken callbacks (#5093)Loïc Blot
* Add on_death callback * Add on_hp_modification & on_damage_taken callbacks * move preview code to preview.lua
2017-03-13[CSM] Client side moddingLoic Blot
* 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
2017-03-11Save metainfo for falling nodesVladislav Tsendrovskii
2017-03-11Enable server side occlusion culling by default.Lars Hofhansl
2017-03-11Allow server side occlusion culling.Lars Hofhansl
2017-03-11Climb speed: Increase default setting from 2 to 3paramat
2017-03-10Optimize item.luatenplus1
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.
2017-03-04Add minetest.spawn_falling_node(pos) (#5339)zaoqi
* Add minetest.spawn_falling_node(pos) * lua_api.txt: Add minetest.spawn_falling_node(pos) * Update minetest.spawn_falling_node(pos)
2017-02-25Fix crash that can be caused by the shutdown command. (#5292)red-001
2017-02-18Fixes for colorwallmounted and colorfacedir nodesDániel Juhász
Correct node placement prediction for attached colorwallmounted nodes. Correct placement direction for colorfacedir and colorwallmounted nodes. Correct detatch mechanism for attached colorwallmounted nodes.