oweals/minetest.git
6 years agoDrop less performant Server::setBlockNotSent for ClientInterface::markBlockposAsNotSent
Loic Blot [Thu, 8 Mar 2018 21:58:43 +0000 (22:58 +0100)]
Drop less performant Server::setBlockNotSent for ClientInterface::markBlockposAsNotSent

6 years agoLua_api.txt: Split long lines part 1
paramat [Fri, 9 Mar 2018 04:18:53 +0000 (04:18 +0000)]
Lua_api.txt: Split long lines part 1

6 years agoGennotify docs: Clarify returned positions for decorations
paramat [Sun, 4 Mar 2018 18:47:39 +0000 (18:47 +0000)]
Gennotify docs: Clarify returned positions for decorations

6 years agoBiomes: Document xyz biome limits
paramat [Wed, 7 Mar 2018 23:55:17 +0000 (23:55 +0000)]
Biomes: Document xyz biome limits

6 years agoGetv3intfield: Fix logic of return bool
paramat [Sun, 4 Mar 2018 18:19:37 +0000 (18:19 +0000)]
Getv3intfield: Fix logic of return bool

6 years agoBiomes: Add 'min_pos'/'max_pos' xyz biome limits
paramat [Fri, 23 Feb 2018 08:54:03 +0000 (08:54 +0000)]
Biomes: Add 'min_pos'/'max_pos' xyz biome limits

'y_min' and 'y_max' are still accepted for compatibility.

6 years agoCleanup & bugfix
Loic Blot [Thu, 8 Mar 2018 21:19:25 +0000 (22:19 +0100)]
Cleanup & bugfix

* ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil)
* ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil)
* Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity
* Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls
* Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes

6 years agoCleanup: drop Server::hudGetHotbarSelectedImage()
Loic Blot [Thu, 8 Mar 2018 21:06:48 +0000 (22:06 +0100)]
Cleanup: drop Server::hudGetHotbarSelectedImage()

Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api

6 years agoCleanup: drop Server::hudGetHotbarImage()
Loic Blot [Thu, 8 Mar 2018 21:05:47 +0000 (22:05 +0100)]
Cleanup: drop Server::hudGetHotbarImage()

Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref

6 years agoCleanup: drop Server::hudGetHotbarItemcount()
Loic Blot [Thu, 8 Mar 2018 21:03:45 +0000 (22:03 +0100)]
Cleanup: drop Server::hudGetHotbarItemcount()

Call directly accessible RemotePlayer::getHotbarItemcount() from server api

6 years agomods.cpp/h: little performance improvement in getModsInPath (+ codestyle) (#7108)
Loïc Blot [Thu, 8 Mar 2018 19:03:43 +0000 (20:03 +0100)]
mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) (#7108)

* mods.cpp/h: little performance improvement in getModsInPath

6 years agoFix bad markdown in lua_api.txt
pauloue [Mon, 5 Mar 2018 15:14:19 +0000 (10:14 -0500)]
Fix bad markdown in lua_api.txt

6 years agoFix missing warningstream (or similar problem) (#7034)
you [Sun, 4 Mar 2018 16:34:36 +0000 (17:34 +0100)]
Fix missing warningstream (or similar problem) (#7034)

Use the --color command line parameter instead of a setting for coloured logs

This fixes the missing warningstream bug, g_settings->get mustn't be used there.
Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.

6 years agoAllow for getting world name and path separately on the command line (#6555)
Brian [Sun, 4 Mar 2018 16:34:09 +0000 (11:34 -0500)]
Allow for getting world name and path separately on the command line (#6555)

Change to --worldlist instead of --world list.

Gets rid of --worldpath parameter added as part of this pull request,
instead moving the listing function to a command --worldlist that
accepts either name, path, or both and prints out the corresponding
information.

6 years agoGennotify: Add 'minetest.get_decoration_id' API
paramat [Fri, 2 Mar 2018 21:27:59 +0000 (21:27 +0000)]
Gennotify: Add 'minetest.get_decoration_id' API

Returns the decoration ID for the provided decoration name string.
For use with gennotify, to know the decoration IDs for use in
'minetest.set_gen_notify'.

6 years agoGenerate Notifier: Clear events once after all 'on generated' functions
paramat [Fri, 2 Mar 2018 13:39:39 +0000 (13:39 +0000)]
Generate Notifier: Clear events once after all 'on generated' functions

6 years agoMapgenValleys: Fixed submarine valleys shape
Gael-de-Sailly [Wed, 28 Feb 2018 17:51:53 +0000 (18:51 +0100)]
MapgenValleys: Fixed submarine valleys shape

6 years agoc_converter: Function template for numeric fields, add v3s16 default (#7090)
SmallJoker [Sat, 3 Mar 2018 09:59:43 +0000 (10:59 +0100)]
c_converter: Function template for numeric fields, add v3s16 default (#7090)

6 years agoSlippery: Simplify, make more efficient (#7086)
SmallJoker [Sat, 3 Mar 2018 09:59:14 +0000 (10:59 +0100)]
Slippery: Simplify, make more efficient (#7086)

Use already existing collision results for the nearest colliding node
Fix slippery effect in free_move mode

6 years agoCleanup in flat lighting (#7051)
Vitaliy [Sat, 3 Mar 2018 09:58:45 +0000 (12:58 +0300)]
Cleanup in flat lighting (#7051)

6 years agoFix liquid post effect colour behaviour in third person view
red-001 [Sun, 25 Feb 2018 22:52:05 +0000 (22:52 +0000)]
Fix liquid post effect colour behaviour in third person view

6 years agoPlace schematic (on vmanip): Enable use of 'place center' flags
paramat [Fri, 23 Feb 2018 13:42:48 +0000 (13:42 +0000)]
Place schematic (on vmanip): Enable use of 'place center' flags

For 'place schematic' and 'place schematic on vmanip' APIs.
Fix 'place center' code to properly centre schematics.
Fix some comments.

6 years agoCollisionMoveSimple: Collide with 'ignore' nodes
paramat [Sat, 24 Feb 2018 15:57:34 +0000 (15:57 +0000)]
CollisionMoveSimple: Collide with 'ignore' nodes

6 years agoSAO limits: Allow SAOs to exist outside the set 'mapgen limit'
paramat [Tue, 20 Feb 2018 19:32:24 +0000 (19:32 +0000)]
SAO limits: Allow SAOs to exist outside the set 'mapgen limit'

6 years agoFix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)
nOOb3167 [Sun, 25 Feb 2018 11:26:41 +0000 (12:26 +0100)]
Fix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)

6 years agois_area_protected: Rename from intersects_protection (#7073)
SmallJoker [Sun, 25 Feb 2018 11:25:39 +0000 (12:25 +0100)]
is_area_protected: Rename from intersects_protection (#7073)

* is_area_protected: Rename from intersects_protection
Return first protected position
Clarify docs: Mods may overwrite the function

6 years agoCMakeLists use the source_group command to improve look and feel when generating...
nOOb3167 [Mon, 19 Feb 2018 14:01:10 +0000 (15:01 +0100)]
CMakeLists use the source_group command to improve look and feel when generating Visual Studio projects.
The TREE argument of source_group appears in CMake 3.8 therefore check for version.

6 years agoCMakeLists pass windows sources (manifest and resource file) to executable targets...
nOOb3167 [Mon, 19 Feb 2018 13:57:01 +0000 (14:57 +0100)]
CMakeLists pass windows sources (manifest and resource file) to executable targets separately from common_SRCS

6 years agoRegistration dialog: Larger text field with scrollbars (#7047)
SmallJoker [Fri, 23 Feb 2018 16:01:05 +0000 (17:01 +0100)]
Registration dialog: Larger text field with scrollbars (#7047)

Center text, text area doubled now

6 years agoFind nodes in area (under air): Raise volume limit and document it
paramat [Wed, 21 Feb 2018 14:34:06 +0000 (14:34 +0000)]
Find nodes in area (under air): Raise volume limit and document it

6 years agoSettingtypes.txt: Fix valleys dungeon ymax error
paramat [Wed, 21 Feb 2018 14:06:53 +0000 (14:06 +0000)]
Settingtypes.txt: Fix valleys dungeon ymax error

6 years agoVertical biome blend: Tune blend patterns
paramat [Tue, 20 Feb 2018 13:42:52 +0000 (13:42 +0000)]
Vertical biome blend: Tune blend patterns

6 years agoDungeons: Add Y limits in all mapgens
paramat [Sat, 17 Feb 2018 17:43:13 +0000 (17:43 +0000)]
Dungeons: Add Y limits in all mapgens

Preserve the upper limit used in mgvalleys.

6 years agoDelete world dialog: Move buttons to avoid double click deletion
Muhammad Rifqi Priyo Susanto [Fri, 29 Sep 2017 17:50:42 +0000 (00:50 +0700)]
Delete world dialog: Move buttons to avoid double click deletion

Move confirmation delete button to never overlap initial delete button,
to avoid world deletion by accidental double click.

6 years ago/shutdown can't do countdown when using reconnect and/or shutdown message (#7055)
dopik [Mon, 19 Feb 2018 07:41:44 +0000 (08:41 +0100)]
/shutdown can't do countdown when using reconnect and/or shutdown message (#7055)

Delay was converted from the param string and not the delay value, thus never using the actual given delay value when used in combination with other string values in the param, in this case reconnect and the shutdown messsage.

6 years agoAdd a refresh button to the serverlist (#6957)
Tre [Mon, 19 Feb 2018 07:25:57 +0000 (01:25 -0600)]
Add a refresh button to the serverlist (#6957)

* add refresh button

* Make search and refresh buttons smaller

* Change to image button

6 years agoMitigate formspec exploits by verifying that the formspec was shown to the user by...
red-001 [Sun, 18 Feb 2018 21:33:42 +0000 (21:33 +0000)]
Mitigate formspec exploits by verifying that the formspec was shown to the user by the server. (#6878)

This doesn't check the fields in anyway whatsoever so it should only be seen as a way to mitigate exploits, a last line of defense to make it harder to exploit bugs in mods, not as a reason to not do all the usually checks.

6 years agoLua API documentation: Fix spelling (#7046)
pauloue [Sun, 18 Feb 2018 09:41:22 +0000 (04:41 -0500)]
Lua API documentation: Fix spelling (#7046)

6 years agoCheck argument types inside MetaDataRef Lua API (#7045)
sfan5 [Sun, 18 Feb 2018 09:40:45 +0000 (10:40 +0100)]
Check argument types inside MetaDataRef Lua API (#7045)

6 years agoFix "Ignoring CONTENT_IGNORE redefinition" warning (#4393)
you [Sun, 18 Feb 2018 09:40:14 +0000 (10:40 +0100)]
Fix "Ignoring CONTENT_IGNORE redefinition" warning (#4393)

minetest.override_item still passes to core

6 years agoRemove legacy chat network code. (#6954)
red-001 [Sat, 17 Feb 2018 18:23:21 +0000 (18:23 +0000)]
Remove legacy chat network code. (#6954)

6 years agoRender copyright notice: Fix name spelling (#7042)
Vitaliy [Thu, 15 Feb 2018 20:19:34 +0000 (23:19 +0300)]
Render copyright notice: Fix name spelling (#7042)

6 years agoAdd `on_auth_fail` callback (#7039)
red-001 [Thu, 15 Feb 2018 20:18:54 +0000 (20:18 +0000)]
Add `on_auth_fail` callback (#7039)

Called when a client fails to supply the correct password for the account it's attempting to login as.

6 years agoDungeons: Avoid generation in multiple liquid nodes and 'airlike'
paramat [Mon, 12 Feb 2018 00:52:44 +0000 (00:52 +0000)]
Dungeons: Avoid generation in multiple liquid nodes and 'airlike'

Previously only 'mapgen water source' and 'mapgen river water source'
were checked for. Games can use multiple liquid nodes defined for biomes,
many of which will not be aliased to those 2 mapgen aliases, causing
floating dungeons to generate in some liquids.

Now we check for liquid drawtype instead, so can remove liquid nodes
from dungeonparams.

Also check for 'airlike' drawtype instead of 'CONTENT_AIR' to avoid
generation in 'airlike' nodes in some rare situations. This will also be
needed for when we add definable biome air nodes.

6 years agoItem entity: Delete in 'ignore' nodes
paramat [Sat, 10 Feb 2018 04:55:40 +0000 (04:55 +0000)]
Item entity: Delete in 'ignore' nodes

6 years agoFalling.lua: Delete falling node entities on contact with 'ignore'
paramat [Tue, 6 Feb 2018 00:55:35 +0000 (00:55 +0000)]
Falling.lua: Delete falling node entities on contact with 'ignore'

Prevents falling node entities entering the ignore at a world edge and
resting on unloaded nodes 16 nodes below, unreachable, undiggable and
still being processed by 'on step' because they don't revert to nodes.

6 years agomap.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanup
Loic Blot [Sun, 11 Feb 2018 08:23:25 +0000 (09:23 +0100)]
map.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanup

Cleanup:
* Drop unused Map::transforming_liquid_size()
* NodeNeighbor must use const ref for v3s16
* Add a missing default in a switch case

6 years agoNode definition manager refactor (#7016)
Dániel Juhász [Sat, 10 Feb 2018 20:04:16 +0000 (22:04 +0200)]
Node definition manager refactor (#7016)

* Rename IWritableNodeDefManager to NodeDefManager
* Make INodeDefManager functions const
* Use "const *NodeDefManager" instead of "*INodeDefManager"
* Remove unused INodeDefManager class
* Merge NodeDefManager and CNodeDefManager
* Document NodeDefManager

6 years agoPosition entity nametags relative to selection-box (#7031)
stujones11 [Sat, 10 Feb 2018 09:42:33 +0000 (09:42 +0000)]
Position entity nametags relative to selection-box (#7031)

6 years agoFix 'Change Keys' menu crash caused by 501f936
SmallJoker [Fri, 9 Feb 2018 08:39:34 +0000 (09:39 +0100)]
Fix 'Change Keys' menu crash caused by 501f936

6 years agoAllow dumping userdata (#7012)
you [Thu, 8 Feb 2018 18:17:06 +0000 (19:17 +0100)]
Allow dumping userdata (#7012)

6 years agoSwitch F3 to use 'enable_fog' setting
ThomasMonroe314 [Mon, 29 Jan 2018 17:21:49 +0000 (11:21 -0600)]
Switch F3 to use 'enable_fog' setting

6 years agoInclude alpha channel reference in MaterialTypeParam
stujones11 [Fri, 26 Jan 2018 19:08:54 +0000 (19:08 +0000)]
Include alpha channel reference in MaterialTypeParam

6 years agoMove `setlocale` from Lua to C++.
red-001 [Sun, 21 Jan 2018 12:28:47 +0000 (12:28 +0000)]
Move `setlocale` from Lua to C++.

6 years agoAdd main_menu_style setting
PorygonZRocks [Tue, 5 Dec 2017 05:01:49 +0000 (23:01 -0600)]
Add main_menu_style setting

6 years agoAdd minetest.is_player (#7013)
you [Mon, 5 Feb 2018 14:17:10 +0000 (15:17 +0100)]
Add minetest.is_player (#7013)

* Add minetest.is_player

* First use for is_player

6 years agoLua_api.txt: Document 'wielditem' visual in object properties
paramat [Mon, 5 Feb 2018 04:59:13 +0000 (04:59 +0000)]
Lua_api.txt: Document 'wielditem' visual in object properties

6 years agoItem entity: Prevent motion in ignore nodes
paramat [Thu, 1 Feb 2018 01:12:56 +0000 (01:12 +0000)]
Item entity: Prevent motion in ignore nodes

6 years agoAdd kill chat command (#6992)
Wuzzy [Sun, 4 Feb 2018 18:21:41 +0000 (19:21 +0100)]
Add kill chat command (#6992)

Replace minetest.* with core.* in 1 file

6 years agoMake hud_get return aligment, offset and size. (#7006)
lisacvuk [Sun, 4 Feb 2018 09:17:46 +0000 (10:17 +0100)]
Make hud_get return aligment, offset and size. (#7006)

* Make hud_get return aligment and offset.

* Return size aswell.

6 years agoRemove unused light updating code
Dániel Juhász [Sun, 4 Feb 2018 03:16:45 +0000 (04:16 +0100)]
Remove unused light updating code

Also remove the unit test that tests the removed algorithms.

6 years agoRefine movement anticheat again (#7004)
sfan5 [Fri, 2 Feb 2018 22:34:09 +0000 (23:34 +0100)]
Refine movement anticheat again (#7004)

* Account for walking speed in vertical dir
* Avoid undefined behaviour due to division-by-zero

6 years agoFix liquid bottoms not being rendered
number Zero [Mon, 29 Jan 2018 17:24:15 +0000 (20:24 +0300)]
Fix liquid bottoms not being rendered

6 years agoAdd Android drivers to the video_driver drop-down menu
Wayward One [Sun, 21 Jan 2018 20:41:04 +0000 (15:41 -0500)]
Add Android drivers to the video_driver drop-down menu

Adds the Android video drivers ogles1 and ogles2 to the video_drivers drop-down menu

6 years agoAdd minetest.bulk_set_node call + optimize Environment::set_node call (#6958)
Loïc Blot [Mon, 29 Jan 2018 23:30:02 +0000 (00:30 +0100)]
Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)

* Add minetest.bulk_set_node call + experimental mod unittest

* Optimize set_node function to prevent triple lookup on contentfeatures

Do only one lookup for old, and try to merge old and new lookup if node is same than previous node

* Add benchmark function + optimize vector population to have real results

6 years agoMake chat command + privilege help slightly more accurate (#6964)
Wuzzy [Mon, 29 Jan 2018 22:39:36 +0000 (23:39 +0100)]
Make chat command + privilege help slightly more accurate (#6964)

* Make chat command help slightly more accurate

* Slightly more accurate privilege help

* Simplify command/priv help

* More command/priv help tweaks

6 years agoApply physics overrides correctly during anticheat calculations (#6970)
sfan5 [Sun, 28 Jan 2018 09:21:21 +0000 (10:21 +0100)]
Apply physics overrides correctly during anticheat calculations (#6970)

6 years ago[CSM] HUD Fix not updating server HUDs caused by 4f688d5
SmallJoker [Fri, 26 Jan 2018 20:27:30 +0000 (21:27 +0100)]
[CSM] HUD Fix not updating server HUDs caused by 4f688d5

6 years agoFix issues with earlier CSM HUD commit (#6940)
red-001 [Fri, 26 Jan 2018 15:05:47 +0000 (15:05 +0000)]
Fix issues with earlier CSM HUD commit (#6940)

The CSM HUD PR caused some strange behavior including aborts due to parts of it using some slightly hacky code, the event refactor changing how events are processed and a minor oversight.

6 years agoMain menu: Change tabs to 'Start Game' and 'Join Game' (#6955)
Tre [Thu, 25 Jan 2018 19:59:24 +0000 (13:59 -0600)]
Main menu: Change tabs to 'Start Game' and 'Join Game' (#6955)

6 years agoDisable fall damage when "immortal" group set (#6946)
lisacvuk [Tue, 23 Jan 2018 18:28:21 +0000 (19:28 +0100)]
Disable fall damage when "immortal" group set (#6946)

6 years agoAdd missing languages from menu (#6953)
Muhammad Nur Hidayat Yasuyoshi (MNH48.com) [Tue, 23 Jan 2018 18:27:41 +0000 (02:27 +0800)]
Add missing languages from menu (#6953)

The following languages exist in Minetest PO folder were missing from the selection menu:
- dv (Dhivehi)
- ms (Malay)
- sl (Slovenian)
- sv (Swedish)
- sw (Swahili)

6 years agoIntersects_protection(): Move from Minetest Game to builtin (#6952)
Paramat [Tue, 23 Jan 2018 18:04:58 +0000 (18:04 +0000)]
Intersects_protection(): Move from Minetest Game to builtin (#6952)

A useful function that applies 'core.is_protected()' to a 3D lattice of
points evenly spaced throughout a defined volume, with a parameter for
the maximum spacing of points.

6 years agoCSM: Remove screenshot API
red-001 [Fri, 19 Jan 2018 16:18:16 +0000 (16:18 +0000)]
CSM: Remove screenshot API

Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c
(* [CSM] add screenshot api lua)

6 years ago[CSM] Don't Load the package library (#6944)
red-001 [Mon, 22 Jan 2018 07:34:49 +0000 (07:34 +0000)]
[CSM] Don't Load the package library (#6944)

Already removed by a latter step in CSM init so this just saves on pointless work.

6 years agoChange include from "cmake_config.h" to "config.h"
Wayward One [Sun, 21 Jan 2018 21:26:04 +0000 (16:26 -0500)]
Change include from "cmake_config.h" to "config.h"

Fixes #6894

6 years ago[CSM] Remove `on_connect` callback (#6941)
red-001 [Sun, 21 Jan 2018 17:27:27 +0000 (17:27 +0000)]
[CSM] Remove `on_connect` callback (#6941)

Fixes #6939

6 years ago[CSM] Add functions to create particles and particlespawners. (#6072)
red-001 [Sat, 20 Jan 2018 22:31:53 +0000 (22:31 +0000)]
[CSM] Add functions to create particles and particlespawners. (#6072)

6 years agoAdd minetest issue template (#6936)
Loïc Blot [Sat, 20 Jan 2018 22:31:15 +0000 (23:31 +0100)]
Add minetest issue template (#6936)

* Add minetest issue template

This permits end user to have a basic template permitting to do issue triage and for users to know what we expect.

6 years agoGame refactor [4/X]: keycache is now owned by InputHandler
Loic Blot [Sat, 13 Jan 2018 09:54:18 +0000 (10:54 +0100)]
Game refactor [4/X]: keycache is now owned by InputHandler

* Make InputHandler own the key cache
* Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp
* Move RandomInputHandler::step definition into cpp file

6 years agoGame refactor [3/X]: Move keycache to inputhandler
Loic Blot [Sat, 13 Jan 2018 09:40:25 +0000 (10:40 +0100)]
Game refactor [3/X]: Move keycache to inputhandler

6 years agoGame refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, create_f...
Loic Blot [Sat, 13 Jan 2018 09:34:56 +0000 (10:34 +0100)]
Game refactor [2/X]:  Various moves (profilergraph, nodePlacementPrediction, create_formspec_menu)

* Move profilergraph to dedicated files
* Move nodePlacementPrediction to Game class
* Rename create_formspec_menu to GUIFormSpecMenu::create

6 years agoGame/Input refactor [1/X]: make RealInputHandler handle joystick inputs with standard...
Loic Blot [Sat, 6 Jan 2018 10:34:03 +0000 (11:34 +0100)]
Game/Input refactor [1/X]: make RealInputHandler handle joystick inputs with standard input

Joystick input is a RealInputHandler only usage, make it intelligent and handle the joystick with keyboard direct.
This permits to remove many getters in game which should be owned by RealInputHandler

6 years ago[CSM] Add basic HUD manipulation. (#6067)
red-001 [Sat, 20 Jan 2018 13:09:58 +0000 (13:09 +0000)]
[CSM] Add basic HUD manipulation. (#6067)

* [CSM] Add basic HUD manipulation.

Workaround for on_connect not working right now.

6 years agoBiomes: Add 'get heat', 'get humidity', 'get biome data' APIs
paramat [Fri, 22 Sep 2017 11:38:55 +0000 (12:38 +0100)]
Biomes: Add 'get heat', 'get humidity', 'get biome data' APIs

'get biome data' returns biome id, heat and humidity.
Clean up nearby lines in lua_api.txt.

6 years agoLoad a texturepack from the 'textures' subfolder of a game
red-001 [Fri, 23 Jun 2017 00:51:57 +0000 (01:51 +0100)]
Load a texturepack from the 'textures' subfolder of a game

6 years agoLua_api.txt: Various improvements
paramat [Mon, 15 Jan 2018 03:34:03 +0000 (03:34 +0000)]
Lua_api.txt: Various improvements

Improve documentation for formspec 'position' and 'anchor' elements.
Add missing documentation of 'animation' and 'glow' for particle spawners.

6 years agoMapgen folder: Update and improve copyright information of files
paramat [Mon, 15 Jan 2018 02:26:15 +0000 (02:26 +0000)]
Mapgen folder: Update and improve copyright information of files

6 years agoLua_api.txt: Improve bullet point indentation consistency
ezhh [Sat, 13 Jan 2018 17:25:01 +0000 (17:25 +0000)]
Lua_api.txt: Improve bullet point indentation consistency

6 years agoRegistration confirmation dialog: Fix grammar
Muhammad Rifqi Priyo Susanto [Sat, 13 Jan 2018 15:32:05 +0000 (22:32 +0700)]
Registration confirmation dialog: Fix grammar

Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.

6 years agoLua_api.txt: Add chat command params info
ezhh [Sat, 13 Jan 2018 03:42:07 +0000 (03:42 +0000)]
Lua_api.txt: Add chat command params info

6 years agoAdd confirmation on new player registration (#6849)
Muhammad Rifqi Priyo Susanto [Sat, 13 Jan 2018 11:07:16 +0000 (18:07 +0700)]
Add confirmation on new player registration (#6849)

* Attempt to add registration confirmation

Using SRP auth mechanism, if server sent AUTH_MECHANISM_FIRST_SRP that means the player isn't exist.
Also tell player about the server and chosen username.
Local game has localhost as IP address of the server.
Add RenderingEngine::draw_menu_scene() to draw GUI and clouds background.
aborted -> connection_aborted

* Rewrite information message text

Client::promptConfirmRegister() -> Client::promptConfirmRegistration()

6 years agoRevert "Add an active object step time budget #6721"
Lars Hofhansl [Sat, 13 Jan 2018 07:47:39 +0000 (23:47 -0800)]
Revert "Add an active object step time budget #6721"

This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a.
See #6907

6 years agoAdd a build step to test non freetype builds (#6908)
Loïc Blot [Fri, 12 Jan 2018 14:36:54 +0000 (15:36 +0100)]
Add a build step to test non freetype builds (#6908)

* Add a build step to test non freetype builds

6 years agoForget to fix non freetype build in StaticText
Loic Blot [Fri, 12 Jan 2018 07:36:38 +0000 (08:36 +0100)]
Forget to fix non freetype build in StaticText

6 years agoLua_api.txt: Fix, improve and add to Object Properties documentation
paramat [Fri, 12 Jan 2018 01:15:51 +0000 (01:15 +0000)]
Lua_api.txt: Fix, improve and add to Object Properties documentation

Correct 'automatic rotate' to be a number instead of a bool.

6 years agoLua_api.txt: Improve and complete ABM documentation
paramat [Fri, 12 Jan 2018 00:32:55 +0000 (00:32 +0000)]
Lua_api.txt: Improve and complete ABM documentation

Document 'active object count (wider)'.

6 years agoSettingtypes.txt: Correct value of 'max block send distance'
paramat [Thu, 11 Jan 2018 23:50:35 +0000 (23:50 +0000)]
Settingtypes.txt: Correct value of 'max block send distance'

6 years agoFix ambient occlusion and dark lines at mapblock borders
number Zero [Mon, 25 Dec 2017 20:51:48 +0000 (23:51 +0300)]
Fix ambient occlusion and dark lines at mapblock borders

6 years agoFix off-by-one in log output line length (#6896)
Pedro Gimeno [Tue, 9 Jan 2018 18:07:14 +0000 (19:07 +0100)]
Fix off-by-one in log output line length (#6896)