SmallJoker
e8a8185d24
Settings: Fix game minetest.conf flags overriding defaults ( #9404 )
...
The game minetest.conf flags directly overwrote the global minetest.conf default values, resulting in unwanted erased mapgen flags.
* Fix set_mapgen_setting
2020-02-17 19:26:32 +01:00
Danila Shutov
6958071f49
Basic model shading ( #9374 )
2020-02-16 20:37:28 +01:00
Hugues Ross
7ce21788f8
Add animated_image[] formspec element ( #9258 )
2020-02-15 15:33:18 +00:00
SmallJoker
ee7d357602
Key settings: Clear with escape ( #8282 )
...
Key ESCAPE -> Cancel change
Key DELETE -> Remove entry
2020-02-14 20:36:58 +01:00
Wuzzy
ac5f53e364
Fix param2 set to 240 if liquid source was renewed
2020-02-13 20:38:13 +01:00
TheTermos
df74d369a3
Collision detection tweak #2 ( #9365 )
2020-02-13 20:13:07 +01:00
Paramat
c2f48eab4d
Display an error when a noise parameter has too many octaves ( #9394 )
...
Display an error and throw exception when one or more octaves of
a noise has spread < 1, causing random looking broken noise.
2020-02-12 23:15:07 +00:00
sfan5
91eef646a5
Script API: Check that SAOs are still usable before attempting to use them
2020-02-11 19:21:12 +01:00
SmallJoker
4eb3baa51e
StaticText: Reset background on EnrichedString change ( #9340 )
...
This also fixes the F6 profiler background color -> now controlled by EnrichedString
2020-02-01 20:41:32 +01:00
sfan5
ace3c76112
Improve core.sound_play with ephemeral sounds and player exclusion
2020-02-01 20:31:41 +01:00
Ben Deutsch
2b3490db1f
Add limit parameter to decompressZlib
...
This can prevent untrusted data, such as sent over the network,
from consuming all memory with a specially crafted payload.
2020-02-01 14:05:26 +01:00
DS
1116918dbb
Formspec: Create a new class for inventorylists ( #9287 )
2020-02-01 13:55:13 +01:00
TheTermos
908e762479
Collision temporary fix for issue #6886
2020-01-27 19:30:11 +01:00
Hugues Ross
60544ac56f
Add 9-slice background support to button formspec elements ( #9290 )
2020-01-26 19:35:26 +00:00
SmallJoker
cde2a7f6f2
Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) ( #9284 )
...
Unified flags handling in C++ and Lua Settings API
-> Reading only, for now. Writing can be implemented later, if needed.
API function to read the currently active flags
-> was impossible from Lua
Co-authored-by: Wuzzy <wuzzy2@mail.ru>
2020-01-25 16:56:54 +01:00
SmallJoker
9cb3219f34
EnrichedString: Fix substr segfault caused by non-formatted text
2020-01-24 21:06:30 +01:00
rubenwardy
987b2c5f37
Update translation sources
2020-01-24 18:34:11 +00:00
sfan5
273cdb38a9
CMakeLists: Remove some redundant declarations and flags
2020-01-23 21:29:40 +01:00
sfan5
c8583f9a5e
Organize and sort out some library dependency issues
2020-01-23 21:29:40 +01:00
SmallJoker
a1da9caecf
EnrichedString: Fix uninitialized variable m_default_length
2020-01-23 20:14:46 +01:00
SmallJoker
1892ff3c0d
StaticText/EnrichedString: Styling support ( #9187 )
...
* StaticText/EnrichedString: Styling support
* Fix tooltip fg/bgcolor
* Fix default color for substr(), add unittests
2020-01-22 19:09:11 +01:00
Zaoqi
fab3f5f7c8
Remove zh_* from GETTEXT_BLACKLISTED_LOCALES ( #9229 )
2020-01-22 19:08:07 +01:00
Wuzzy
e05b7dbb3c
Remove unused weight property from objects ( #9320 )
2020-01-22 10:19:27 +01:00
Hugues Ross
3dfb6ecbb2
Formspec: Don't start a button click when the pointer isn't on top ( #9332 )
2020-01-22 10:18:09 +01:00
Wuzzy
0877587cce
Resized torchlike sprite now attaches to surface ( #9303 )
2020-01-20 19:17:54 +00:00
ANAND
e8fd1ce623
Replace stray tab with whitespace in guiFormSpecMenu.cpp ( #9317 )
2020-01-18 16:50:57 +00:00
Hugues Ross
680aaa1bd5
Make clipping of formspec elements more consistent ( #9262 )
2020-01-16 18:41:07 +00:00
lhofhansl
cea4fd2b27
Increase star count to 1000 and decrease radius slightly ( #9307 )
...
* Increase star count to 1000 and decrease radius slightly.
* Adjust star width.
2020-01-16 17:12:34 +01:00
Maksim
c396800629
Android: fix cyrillic characters, update iconv lib ( #9117 )
2020-01-13 07:10:15 +01:00
Montandalar
8d75c118d9
Map download: Escape ':' to '_' ( #9235 )
...
This is necessary under Windows systems, and direct IPv6 connections.
Windows universally disallows ':' from occuring in filenames.
Other disallowed characters on Windows:
\ / * ? " < > |
are not relevant to hostnames, IPv4 or IPv6 addresses.
Anyone who has got an existing server map saved on Linux with ':' in
the world save will want to keep that save.
2020-01-11 20:47:34 +01:00
DS
4c8af5492b
Formspec: change the appeareance of the cursor on fields and co. ( #8665 )
2020-01-11 20:17:11 +01:00
DS
7c0e0c34ec
Formspec: Fix clicking on tooltip-obstructed elements ( #9266 )
2020-01-04 15:45:22 +01:00
Paramat
c162340973
Remove Mapgen V7 floatlands in preparation for new implementation ( #9238 )
...
Preserve the floatland flag of existing worlds, to be used again
when the new implementation is added.
2020-01-04 01:23:57 +00:00
Montandalar
44458896d9
Use appropriate LC_ locale macro for Windows ( #9230 )
...
* Wrap LC_ macro in ifdef
Windows does not have LC_MESSAGES in locale.h, so use LC_ALL on that platform
2019-12-24 19:13:22 +01:00
Lejo
37f771a95b
Fix the player information version_string return value ( #8616 )
...
* Give more player information
* Correct lua_api.txt
* Correct keys in lua_api.txt
* Improve Code
* Only Bugfix+ser_vers
* Correct doc
* Fix double
2019-12-20 19:16:29 +01:00
Hugues Ross
b50dc43f67
Don't override the FGIMG style property if the image parameter is null
2019-12-16 19:26:57 +01:00
Hugues Ross
e42faae8d9
Remove the dependency on FGIMG/BGIMG from the hovered/pressed variants
...
- Make guiButtonImage support null images properly
2019-12-16 19:26:57 +01:00
Hugues Ross
bd4b8d40b3
StyleSpec: 0-initialize the property_set array
2019-12-16 19:26:57 +01:00
SmallJoker
c3d0aab0bc
GUIFormSpecMenu: Fix legacy sorting using std::stable_sort
2019-12-14 21:28:07 +01:00
rubenwardy
8e63d22d64
Fix spaces breaking formspec_version[] tag
2019-12-09 21:05:07 +00:00
Hugues Ross
9284313d17
Refactor to centralize GUIButton styling/rendering code ( #9090 )
2019-12-09 20:06:51 +00:00
SmallJoker
a462181e5f
guiConfirmRegistration: Fix hidden error message
2019-12-09 20:01:16 +01:00
DS
8f73ec6c6c
Formspec: make bgcolor element less confusing and allow setting fullscreen color ( #8996 )
2019-12-08 18:59:30 +01:00
Paul Ouellette
27ce6d0ecc
Clean up craft replacements docs
2019-12-07 23:46:24 +01:00
SmallJoker
103d9c5c53
Renaming the function wasn't enough
2019-12-07 15:55:49 +01:00
SmallJoker
aa8df112ff
Attachments: Fix interpolation from (0,0,0) after detach
...
GenericCAO::getPosition() did not take the camera offset into account
LocalPlayer attachment cleanup: Use sane getParent() function
Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
2019-12-07 15:12:26 +01:00
rubenwardy
51f230895c
Fix failing build due to code style error
2019-12-06 23:00:54 +00:00
v-rob
4f45bfd08b
Add scrollbaroptions FormSpec element ( #8530 )
2019-12-06 20:51:10 +00:00
Pierre-Yves Rollo
cf7fda0083
Add z-index management to HUD
2019-12-06 20:31:26 +00:00
SmallJoker
f6de86ce4b
Fix LocalPlayer-bound sound playback broken by 81c2370
2019-12-05 20:52:30 +01:00