oweals/minetest.git
4 years agoAdd scroll_container formspec element (redo) (#9101)
DS [Mon, 13 Apr 2020 08:50:07 +0000 (10:50 +0200)]
Add scroll_container formspec element (redo) (#9101)

New formspec elements:

 - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]`
 - `scroll_container_end[]`

Other elements can be embedded in this element. Scrollbar must be placed manually.

4 years agoGUIFormSpecMenu: Add basic element highlighing debug feature (#9423)
SmallJoker [Sun, 12 Apr 2020 10:02:32 +0000 (12:02 +0200)]
GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)

Activated using F5

4 years agoDockerfile: use alpine to reduce size (#9226)
ㄗㄠˋ ㄑㄧˊ [Sun, 12 Apr 2020 09:00:56 +0000 (17:00 +0800)]
Dockerfile: use alpine to reduce size (#9226)

* Dockerfile: use alpine to reduce size

* Fix the UID & GID + alpine version + rights

* Reduce the junk when we copy, only copy needed files

* Build in the right cmake place & permit customize mtg version

* Latest build fixes

Co-authored-by: Loïc Blot <nerzhul@users.noreply.github.com>
4 years agoUpdate README copyright to current year (#9566)
Testman [Sat, 11 Apr 2020 23:53:23 +0000 (01:53 +0200)]
Update README copyright to current year (#9566)

4 years agoPlay 'player_jump' when player jumps (#9373)
Wuzzy [Sat, 11 Apr 2020 23:50:40 +0000 (01:50 +0200)]
Play 'player_jump' when player jumps (#9373)

4 years agoFix delayed error message in start game tab
rubenwardy [Sat, 11 Apr 2020 23:05:55 +0000 (00:05 +0100)]
Fix delayed error message in start game tab

4 years agoImprove waypoints and add image variant (#9480)
Lars Müller [Sat, 11 Apr 2020 21:09:46 +0000 (23:09 +0200)]
Improve waypoints and add image variant (#9480)

4 years agoFormspecs: Add state-selection to style elements (#9378)
Hugues Ross [Sat, 11 Apr 2020 20:39:30 +0000 (16:39 -0400)]
Formspecs: Add state-selection to style elements (#9378)

4 years agoFix broken config check in 659245a
sfan5 [Sat, 11 Apr 2020 19:29:57 +0000 (21:29 +0200)]
Fix broken config check in 659245a

4 years agoUpdate API site build (#9622)
Paul Ouellette [Sat, 11 Apr 2020 18:38:39 +0000 (14:38 -0400)]
Update API site build (#9622)

4 years agoImplement DPI scaling for Windows (#9586)
sfan5 [Sat, 11 Apr 2020 18:03:59 +0000 (20:03 +0200)]
Implement DPI scaling for Windows (#9586)

4 years agoReduce ServerEnvironment propagation (#9642)
Loïc Blot [Sat, 11 Apr 2020 17:59:43 +0000 (19:59 +0200)]
Reduce ServerEnvironment propagation (#9642)

ServerEnvironment is a huge class with many accessors. In various places it's not needed

Remove it to reduce the ServerEnvironment view.

Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing

Pathfinder is now tied to a generic map, not a ServerMap, it can be
ported to client

4 years agoDrop content_sao.{cpp,h}
Loic Blot [Sat, 11 Apr 2020 09:22:15 +0000 (11:22 +0200)]
Drop content_sao.{cpp,h}

Move LuaEntitySAO to a new dedicated file
Drop TestSAO (useless object)
Drop the old static startup initialized SAO factory, which was pretty useless.
This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation

4 years agoMove PlayerSAO to dedicated files
Loic Blot [Sat, 11 Apr 2020 07:59:09 +0000 (09:59 +0200)]
Move PlayerSAO to dedicated files

4 years agopass clang-format
Loic Blot [Sat, 11 Apr 2020 07:35:27 +0000 (09:35 +0200)]
pass clang-format

4 years agoAdd vscode cmake plugin files to gitignore
Loic Blot [Fri, 10 Apr 2020 19:27:13 +0000 (21:27 +0200)]
Add vscode cmake plugin files to gitignore

4 years agoMove serveractiveobject & unitsao
Loic Blot [Fri, 10 Apr 2020 19:25:42 +0000 (21:25 +0200)]
Move serveractiveobject & unitsao

Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h}
Move UnitSAO class to dedicated files

4 years agoFormspec: No spec ID for static text labels
SmallJoker [Sat, 11 Apr 2020 13:31:02 +0000 (15:31 +0200)]
Formspec: No spec ID for static text labels

Fixes #9634

4 years agoUse TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)
Alex [Sat, 11 Apr 2020 11:45:14 +0000 (04:45 -0700)]
Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)

Fixes #9637.

4 years agoVarious features and fixes
sfan5 [Fri, 10 Apr 2020 22:09:11 +0000 (00:09 +0200)]
Various features and fixes

4 years agoImplement minetest.sound_fade()
sfan5 [Fri, 10 Apr 2020 20:53:08 +0000 (22:53 +0200)]
Implement minetest.sound_fade()

4 years agoscriptapi: Sort out ServerEnvironment / Environment distinction properly
sfan5 [Fri, 10 Apr 2020 20:06:24 +0000 (22:06 +0200)]
scriptapi: Sort out ServerEnvironment / Environment distinction properly

The API implementation is shared between CSM and SSM.
Functions should retrieve a plain env when they do not
need any server-specific functions.

4 years agoA few initialization cleanups
sfan5 [Fri, 10 Apr 2020 19:45:07 +0000 (21:45 +0200)]
A few initialization cleanups

4 years agoPrint error if invalid mapgen alias was detected (#9579)
Wuzzy [Fri, 10 Apr 2020 18:36:16 +0000 (20:36 +0200)]
Print error if invalid mapgen alias was detected (#9579)

4 years agoMove clientsimpleobject.h to client folder (#9630)
Loïc Blot [Fri, 10 Apr 2020 18:10:51 +0000 (20:10 +0200)]
Move clientsimpleobject.h to client folder (#9630)

This file is only called from client folder, retrieve its friends :)

4 years agoDrop genericobject.{cpp,h} (#9629)
Loïc Blot [Fri, 10 Apr 2020 17:49:20 +0000 (19:49 +0200)]
Drop genericobject.{cpp,h} (#9629)

* Drop genericobject.{cpp,h}

This file is not for generic object but for ActiveObject message passing.
Put ownership of the various commands to the right objects and cleanup the related code.

* Protect ServerActiveObject::m_messages_out

* typo fix

4 years agoInstall the `locale` directory in a standard location without subfolder (#9618)
Hugo Locurcio [Fri, 10 Apr 2020 14:08:48 +0000 (16:08 +0200)]
Install the `locale` directory in a standard location without subfolder (#9618)

Other established FOSS projects don't seem to be doing this.

4 years agoAutomated build changes (#9619)
Loïc Blot [Thu, 9 Apr 2020 18:46:06 +0000 (20:46 +0200)]
Automated build changes (#9619)

* Automated build changes
* drop a useless ubuntu non lts version
* update gitlab ci syntax to modern one
* add debian 10 step on the gitlab ci pipeline
* switch docker build to Debian 10
* add .gradle folder to gitignore

4 years agoCollision various fixes (#9343)
TheTermos [Wed, 8 Apr 2020 20:45:05 +0000 (22:45 +0200)]
Collision various fixes (#9343)

4 years agoAllow to select en as language in settings menu (#9604)
DS [Wed, 8 Apr 2020 20:44:52 +0000 (22:44 +0200)]
Allow to select en as language in settings menu (#9604)

fixes #9599

4 years agoTravis: Build clang jobs with LuaJIT enabled for better coverage
sfan5 [Wed, 8 Apr 2020 19:05:27 +0000 (21:05 +0200)]
Travis: Build clang jobs with LuaJIT enabled for better coverage

4 years agoWork around LuaJIT issues on aarch64 (#9614)
sfan5 [Wed, 8 Apr 2020 18:14:08 +0000 (20:14 +0200)]
Work around LuaJIT issues on aarch64 (#9614)

- Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata
- Replace CUSTOM_RIDX_SCRIPTAPI with full userdata

4 years agoOverall improvements to log messages (#9598)
sfan5 [Wed, 8 Apr 2020 18:13:23 +0000 (20:13 +0200)]
Overall improvements to log messages (#9598)

Hide some unnecessarily verbose ones behind --trace or disable them entirely.
Remove duplicate ones. Improve their contents in some places.

4 years agoMiscellaneous networking improvements (#9611)
sfan5 [Wed, 8 Apr 2020 18:12:58 +0000 (20:12 +0200)]
Miscellaneous networking improvements (#9611)

fixes #2862

4 years agoClarify use of minetest.request_insecure_environment() (#9597)
rubenwardy [Mon, 6 Apr 2020 14:54:27 +0000 (15:54 +0100)]
Clarify use of minetest.request_insecure_environment() (#9597)

4 years agoAllow relative directories for `screenshot_path`, tweak default path (#9122)
Hugo Locurcio [Mon, 6 Apr 2020 14:54:12 +0000 (16:54 +0200)]
Allow relative directories for `screenshot_path`, tweak default path (#9122)

This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.

In addition, the screenshot directory will now be created if it doesn't
exist already.

4 years agoAdd tone mapping for entities (#9521)
Danila Shutov [Mon, 6 Apr 2020 14:06:40 +0000 (17:06 +0300)]
Add tone mapping for entities (#9521)

fixes #9301

4 years agoAdd allowed_mapgens option in game.conf. (#9263)
Wren Turkal [Mon, 6 Apr 2020 14:06:16 +0000 (07:06 -0700)]
Add allowed_mapgens option in game.conf. (#9263)

The game.conf has a disallowed_mapgens option. However, some games
require a certain mapgen to be used, like the CTF plugin. This change
adds an option to specify allowed mapgens so that the setting can be
specified in a way that needn't be updated as map generators are added
to Minetest.

4 years agoSome minor Lua API documentation clarifications (#9461)
Wuzzy [Mon, 6 Apr 2020 14:05:27 +0000 (16:05 +0200)]
Some minor Lua API documentation clarifications (#9461)

See #5854

4 years agoContinue with 5.3.0-dev
sfan5 [Sun, 5 Apr 2020 16:31:52 +0000 (18:31 +0200)]
Continue with 5.3.0-dev

4 years agoBump version to 5.2.0 5.2.0
sfan5 [Sun, 5 Apr 2020 16:31:50 +0000 (18:31 +0200)]
Bump version to 5.2.0

4 years agoUpdate credits for 5.2.0 (#9593)
rubenwardy [Sun, 5 Apr 2020 16:30:44 +0000 (17:30 +0100)]
Update credits for 5.2.0 (#9593)

4 years agoTranslated using Weblate (Japanese)
BreadW [Sun, 5 Apr 2020 01:33:05 +0000 (01:33 +0000)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (German)
sfan5 [Sat, 4 Apr 2020 18:15:01 +0000 (18:15 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Turkish)
Oğuz Ersen [Sat, 4 Apr 2020 04:50:12 +0000 (04:50 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoHypertext: Fix hovercolor not working in global tag (#9582)
Pierre-Yves Rollo [Sun, 5 Apr 2020 13:04:41 +0000 (15:04 +0200)]
Hypertext: Fix hovercolor not working in global tag (#9582)

4 years agoBuiltin: Make item entities glow less (#9594)
sfan5 [Sat, 4 Apr 2020 19:27:30 +0000 (21:27 +0200)]
Builtin: Make item entities glow less (#9594)

minor adjustment to #9200

4 years agoRevert collision tweaks #9365 and #9327 (#9591)
SmallJoker [Sat, 4 Apr 2020 19:27:23 +0000 (21:27 +0200)]
Revert collision tweaks #9365 and #9327 (#9591)

This reverts commit df74d369a395f0b99bd23fa3e7fb4c628c3df336.
This reverts commit 908e76247922d4adf879b3996c4f75bdbb4e536d.

Restores the original collision detection bugs to release 5.2.0 prior the large collision detection fix.

4 years agoFix cursor still visible after closing formspec while on HyperText (#9583)
Pierre-Yves Rollo [Sat, 4 Apr 2020 14:17:15 +0000 (16:17 +0200)]
Fix cursor still visible after closing formspec while on HyperText (#9583)

4 years agoFix 'the the' typos in comments (#9554)
LNJ [Sat, 4 Apr 2020 13:52:41 +0000 (15:52 +0200)]
Fix 'the the' typos in comments (#9554)

4 years agoFix failing build due to translation file error
sfan5 [Fri, 3 Apr 2020 22:16:18 +0000 (00:16 +0200)]
Fix failing build due to translation file error

4 years agoUtility script to help with Weblate commit import
sfan5 [Fri, 3 Apr 2020 21:20:11 +0000 (23:20 +0200)]
Utility script to help with Weblate commit import

4 years agoUpdate translation files
updatepo.sh [Fri, 3 Apr 2020 21:19:54 +0000 (23:19 +0200)]
Update translation files

4 years agoUpdate minetest.conf.example, settings_translation_file.cpp
updatepo.sh [Fri, 3 Apr 2020 21:17:42 +0000 (23:17 +0200)]
Update minetest.conf.example, settings_translation_file.cpp

4 years agoTranslated using Weblate (Indonesian)
Allan Nordhøy [Fri, 3 Apr 2020 10:49:25 +0000 (10:49 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 92.0% (1185 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
sfan5 [Fri, 3 Apr 2020 20:08:33 +0000 (20:08 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.6% (768 of 1288 strings)

4 years agoTranslated using Weblate (French)
Allan Nordhøy [Fri, 3 Apr 2020 17:17:31 +0000 (17:17 +0000)]
Translated using Weblate (French)

Currently translated at 96.0% (1237 of 1288 strings)

4 years agoTranslated using Weblate (Greek)
THANOS SIOURDAKIS [Tue, 31 Mar 2020 16:40:14 +0000 (16:40 +0000)]
Translated using Weblate (Greek)

Currently translated at 1.7% (22 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
Tiller Luna [Tue, 31 Mar 2020 15:11:39 +0000 (15:11 +0000)]
Translated using Weblate (Russian)

Currently translated at 94.4% (1217 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
anonymous [Tue, 31 Mar 2020 15:02:53 +0000 (15:02 +0000)]
Translated using Weblate (Russian)

Currently translated at 94.6% (1219 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Nynorsk)
sfan5 [Mon, 30 Mar 2020 19:34:29 +0000 (19:34 +0000)]
Translated using Weblate (Norwegian Nynorsk)

Currently translated at 30.9% (398 of 1288 strings)

4 years agoTranslated using Weblate (Swedish)
sfan5 [Mon, 30 Mar 2020 19:37:27 +0000 (19:37 +0000)]
Translated using Weblate (Swedish)

Currently translated at 32.1% (414 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
sfan5 [Mon, 30 Mar 2020 19:29:02 +0000 (19:29 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 99.3% (1279 of 1288 strings)

4 years agoTranslated using Weblate (Ukrainian)
sfan5 [Mon, 30 Mar 2020 19:38:02 +0000 (19:38 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 41.3% (533 of 1288 strings)

4 years agoTranslated using Weblate (Portuguese)
ssantos [Sun, 29 Mar 2020 19:12:59 +0000 (19:12 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 95.8% (1234 of 1288 strings)

4 years agoTranslated using Weblate (Polish)
sfan5 [Mon, 30 Mar 2020 19:34:57 +0000 (19:34 +0000)]
Translated using Weblate (Polish)

Currently translated at 77.0% (992 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sun, 29 Mar 2020 21:47:32 +0000 (21:47 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 60.0% (774 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Allan Nordhøy [Sun, 29 Mar 2020 21:22:30 +0000 (21:22 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 60.0% (774 of 1288 strings)

4 years agoTranslated using Weblate (Danish)
sfan5 [Mon, 30 Mar 2020 19:20:09 +0000 (19:20 +0000)]
Translated using Weblate (Danish)

Currently translated at 47.8% (616 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sun, 29 Mar 2020 00:22:03 +0000 (00:22 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 54.0% (696 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
anonymous [Sun, 29 Mar 2020 00:13:53 +0000 (00:13 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 42.7% (551 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sat, 28 Mar 2020 23:58:14 +0000 (23:58 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 42.7% (551 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
Tirifto [Thu, 26 Mar 2020 18:26:53 +0000 (18:26 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 99.3% (1279 of 1288 strings)

4 years agoTranslated using Weblate (Romanian)
Gmail a - 2 - a Boxa [Wed, 11 Mar 2020 18:52:18 +0000 (18:52 +0000)]
Translated using Weblate (Romanian)

Currently translated at 18.6% (240 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Simplified))
wzy2006 [Sat, 7 Mar 2020 14:07:32 +0000 (14:07 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 88.0% (1134 of 1288 strings)

4 years agoTranslated using Weblate (Lojban)
Robin Townsend [Tue, 3 Mar 2020 17:07:20 +0000 (17:07 +0000)]
Translated using Weblate (Lojban)

Currently translated at 12.7% (164 of 1288 strings)

4 years agoTranslated using Weblate (German)
Robin Townsend [Thu, 5 Mar 2020 04:38:40 +0000 (04:38 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Simplified))
Gao Tiesuan [Thu, 27 Feb 2020 12:08:53 +0000 (12:08 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 86.8% (1118 of 1288 strings)

4 years agoTranslated using Weblate (French)
Lucas Burlingham [Sun, 1 Mar 2020 19:01:31 +0000 (19:01 +0000)]
Translated using Weblate (French)

Currently translated at 93.5% (1205 of 1288 strings)

4 years agoTranslated using Weblate (Arabic)
abidin toumi [Sun, 1 Mar 2020 18:48:55 +0000 (18:48 +0000)]
Translated using Weblate (Arabic)

Currently translated at 6.9% (89 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
Ács Zoltán [Sat, 29 Feb 2020 16:46:33 +0000 (16:46 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.5% (767 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
Gao Tiesuan [Thu, 27 Feb 2020 12:13:24 +0000 (12:13 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 92.5% (1192 of 1288 strings)

4 years agoTranslated using Weblate (Czech)
Vojtěch Šamla [Sun, 23 Feb 2020 23:10:35 +0000 (23:10 +0000)]
Translated using Weblate (Czech)

Currently translated at 48.3% (623 of 1288 strings)

4 years agoTranslated using Weblate (Arabic)
An0n3m0us [Sat, 22 Feb 2020 19:32:51 +0000 (19:32 +0000)]
Translated using Weblate (Arabic)

Currently translated at 6.1% (79 of 1288 strings)

4 years agoTranslated using Weblate (Lithuanian)
An0n3m0us [Sat, 22 Feb 2020 19:21:12 +0000 (19:21 +0000)]
Translated using Weblate (Lithuanian)

Currently translated at 15.2% (196 of 1288 strings)

4 years agoTranslated using Weblate (French)
Hugo Locurcio [Wed, 19 Feb 2020 14:57:21 +0000 (14:57 +0000)]
Translated using Weblate (French)

Currently translated at 92.3% (1189 of 1288 strings)

4 years agoTranslated using Weblate (Spanish)
JDiaz [Sun, 16 Feb 2020 11:09:19 +0000 (11:09 +0000)]
Translated using Weblate (Spanish)

Currently translated at 67.9% (875 of 1288 strings)

4 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Mon, 17 Feb 2020 05:06:52 +0000 (05:06 +0000)]
Translated using Weblate (Malay)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
An0n3m0us [Fri, 14 Feb 2020 18:47:13 +0000 (18:47 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.7% (769 of 1288 strings)

4 years agoTranslated using Weblate (Spanish)
universales [Wed, 29 Jan 2020 18:43:17 +0000 (18:43 +0000)]
Translated using Weblate (Spanish)

Currently translated at 67.7% (872 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Traditional))
pan93412 [Tue, 28 Jan 2020 07:22:29 +0000 (07:22 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 68.9% (888 of 1288 strings)

4 years agoTranslated using Weblate (Turkish)
monolifed [Sat, 25 Jan 2020 17:19:36 +0000 (17:19 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Japanese)
BreadW [Sat, 25 Jan 2020 13:11:03 +0000 (13:11 +0000)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (German)
Wuzzy [Fri, 24 Jan 2020 18:47:04 +0000 (18:47 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoAdd warning to set_sky() docs about unstable dawn and night sky colours (#9578)
Paramat [Fri, 3 Apr 2020 01:57:15 +0000 (02:57 +0100)]
Add warning to set_sky() docs about unstable dawn and night sky colours (#9578)

Also clean up confusing double meaning usage of the word 'skybox'.

4 years agoFix texture distortion for flowing liquids (#9561)
Elias Åström [Thu, 2 Apr 2020 17:24:35 +0000 (19:24 +0200)]
Fix texture distortion for flowing liquids (#9561)

Previously textures of the side faces on flowing liquid nodes would
become distorted on different axis depending on the liquid level.  This
is because the nodes always had the same texture coordinates, even when
the generated face could have different sizes.  This solves that problem
by adjusting the texture coordinates for the vertices making up the top
of the faces, so the textures will not look compressed for smaller
faces.

4 years agoFix GUI element click-through by changing visibility (#9534)
DS [Tue, 31 Mar 2020 17:34:42 +0000 (19:34 +0200)]
Fix GUI element click-through by changing visibility (#9534)

This adds a vector that holds pointers to elements that should only be visible while being drawn.

In the guifsmenu's draw func, all elements in this vector are made visible and invisible again. Apart from there, they are always invisible. (Well they are still visible before the first drawn, does this matter? If yes, it could be fixed easily with some lines of code everywhere.)

4 years agoFormspec: Mark `hypertext` and markup language as unstable
v-rob [Sat, 28 Mar 2020 20:54:19 +0000 (13:54 -0700)]
Formspec: Mark `hypertext` and markup language as unstable

4 years agoIgnore near_plane setting on non-Android platforms (#8749)
ANAND [Sat, 28 Mar 2020 20:53:55 +0000 (02:23 +0530)]
Ignore near_plane setting on non-Android platforms (#8749)

Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.

4 years agoTravis: Correct Linux dependencies so that PostgreSQL is found by CMake
sfan5 [Sat, 28 Mar 2020 12:04:15 +0000 (13:04 +0100)]
Travis: Correct Linux dependencies so that PostgreSQL is found by CMake