Commit Graph

8972 Commits

Author SHA1 Message Date
Loic Blot
894a34aef4 Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
Loic Blot
c99e8df07f pass clang-format 2020-04-11 16:07:17 +02:00
Loic Blot
2a7267febf Add vscode cmake plugin files to gitignore 2020-04-11 16:07:17 +02:00
Loic Blot
6d43736172 Move serveractiveobject & unitsao
Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h}
Move UnitSAO class to dedicated files
2020-04-11 16:07:17 +02:00
SmallJoker
01b3f26c7b Formspec: No spec ID for static text labels
Fixes #9634
2020-04-11 15:31:02 +02:00
Alex
fbf74dc524
Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)
Fixes #9637.
2020-04-11 13:45:14 +02:00
sfan5
1292bdbbce Various features and fixes 2020-04-11 13:12:51 +02:00
sfan5
5f3a17eb65 Implement minetest.sound_fade() 2020-04-11 13:12:51 +02:00
sfan5
054c5dfaa3 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.
2020-04-11 13:12:51 +02:00
sfan5
f105bc8dc2 A few initialization cleanups 2020-04-11 13:12:51 +02:00
Wuzzy
aa3cf400e2
Print error if invalid mapgen alias was detected (#9579) 2020-04-10 20:36:16 +02:00
Loïc Blot
35e778ee9f
Move clientsimpleobject.h to client folder (#9630)
This file is only called from client folder, retrieve its friends :)
2020-04-10 20:10:51 +02:00
Loïc Blot
f648fb76ae
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
2020-04-10 19:49:20 +02:00
Hugo Locurcio
2349d31bae
Install the locale directory in a standard location without subfolder (#9618)
Other established FOSS projects don't seem to be doing this.
2020-04-10 16:08:48 +02:00
Loïc Blot
12275e235a
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
2020-04-09 20:46:06 +02:00
TheTermos
3ad5388c6d
Collision various fixes (#9343) 2020-04-08 22:45:05 +02:00
DS
c1742b0901
Allow to select en as language in settings menu (#9604)
fixes #9599
2020-04-08 22:44:52 +02:00
sfan5
d6ad587ab8 Travis: Build clang jobs with LuaJIT enabled for better coverage 2020-04-08 21:21:53 +02:00
sfan5
659245acc7
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
2020-04-08 20:14:08 +02:00
sfan5
de73f989eb
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.
2020-04-08 20:13:23 +02:00
sfan5
3494475df1
Miscellaneous networking improvements (#9611)
fixes #2862
2020-04-08 20:12:58 +02:00
rubenwardy
143a37e947
Clarify use of minetest.request_insecure_environment() (#9597) 2020-04-06 16:54:27 +02:00
Hugo Locurcio
f45ba78a72
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.
2020-04-06 16:54:12 +02:00
Danila Shutov
661b4a1837
Add tone mapping for entities (#9521)
fixes #9301
2020-04-06 16:06:40 +02:00
Wren Turkal
f91124a0c0
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.
2020-04-06 16:06:16 +02:00
Wuzzy
faedde08f9
Some minor Lua API documentation clarifications (#9461)
See #5854
2020-04-06 16:05:27 +02:00
sfan5
528b162d9f Continue with 5.3.0-dev 2020-04-05 18:31:52 +02:00
sfan5
24147d99c0 Bump version to 5.2.0 5.2.0 2020-04-05 18:31:50 +02:00
rubenwardy
09b8f5d1be
Update credits for 5.2.0 (#9593) 2020-04-05 18:30:44 +02:00
BreadW
40dccc0f54 Translated using Weblate (Japanese)
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05 17:27:48 +02:00
sfan5
7aec5f43be Translated using Weblate (German)
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05 17:27:48 +02:00
Oğuz Ersen
e6e1c1281d Translated using Weblate (Turkish)
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05 17:25:55 +02:00
Pierre-Yves Rollo
0eb3072819
Hypertext: Fix hovercolor not working in global tag (#9582) 2020-04-05 15:04:41 +02:00
sfan5
ea30b89d3f
Builtin: Make item entities glow less (#9594)
minor adjustment to #9200
2020-04-04 21:27:30 +02:00
SmallJoker
d5c4412536
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.
2020-04-04 21:27:23 +02:00
Pierre-Yves Rollo
86a0e991ef
Fix cursor still visible after closing formspec while on HyperText (#9583) 2020-04-04 16:17:15 +02:00
LNJ
307d7376cf
Fix 'the the' typos in comments (#9554) 2020-04-04 15:52:41 +02:00
sfan5
b8d29ab0af Fix failing build due to translation file error 2020-04-04 00:16:18 +02:00
sfan5
fe21aa1f4a Utility script to help with Weblate commit import 2020-04-03 23:26:07 +02:00
updatepo.sh
b6d2c34a15 Update translation files 2020-04-03 23:19:54 +02:00
updatepo.sh
6940e5a191 Update minetest.conf.example, settings_translation_file.cpp 2020-04-03 23:19:36 +02:00
Allan Nordhøy
65884816be Translated using Weblate (Indonesian)
Currently translated at 92.0% (1185 of 1288 strings)
2020-04-03 23:15:52 +02:00
sfan5
e223d7cf57 Translated using Weblate (Hungarian)
Currently translated at 59.6% (768 of 1288 strings)
2020-04-03 23:15:52 +02:00
Allan Nordhøy
11f4525865 Translated using Weblate (French)
Currently translated at 96.0% (1237 of 1288 strings)
2020-04-03 23:15:52 +02:00
THANOS SIOURDAKIS
965e2028de Translated using Weblate (Greek)
Currently translated at 1.7% (22 of 1288 strings)
2020-04-03 23:15:52 +02:00
Tiller Luna
be0200b215 Translated using Weblate (Russian)
Currently translated at 94.4% (1217 of 1288 strings)
2020-04-03 23:15:52 +02:00
anonymous
96696cd1c0 Translated using Weblate (Russian)
Currently translated at 94.6% (1219 of 1288 strings)
2020-04-03 23:15:52 +02:00
sfan5
82a08213f0 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 30.9% (398 of 1288 strings)
2020-04-03 23:15:52 +02:00
sfan5
19b8f12e79 Translated using Weblate (Swedish)
Currently translated at 32.1% (414 of 1288 strings)
2020-04-03 23:15:52 +02:00
sfan5
665b90a3c4 Translated using Weblate (Esperanto)
Currently translated at 99.3% (1279 of 1288 strings)
2020-04-03 23:15:52 +02:00