LoneWolfHT
7d3972a504
Add ability to scale HUD text ( #9814 )
...
Add 'size' property to HUD text elements that is used for relative font size calculations.
2020-05-19 19:10:39 +02:00
rubenwardy
a9c3a42323
Add core.open_url() to main menu API ( #8592 )
2020-05-17 19:09:10 +01:00
ANAND
c1ce4be756
Make automatic_rotate relative, allow setting rotation ( #8468 )
...
automatic_rotate does not make sense if it is absolute. Make it relative.
To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object.
Co-authored-by: ANAND <ClobberXD@gmail.com>
Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
2020-05-16 21:42:31 +02:00
sfan5
36d35f2fe3
CSM: Bugfixes to camera:get_pos() and camera:get_fov()
...
closes #9857
2020-05-14 21:16:45 +02:00
Wuzzy
7ec76e530d
Add mapgen settings to world creation dialog ( #9254 )
2020-05-12 02:52:52 +01:00
Lars Müller
9ba24f89f5
Damage texture modifier ( #9833 )
...
Adds a new object property "damage_texture_modifier"
2020-05-11 21:41:36 +02:00
Wuzzy
6e1372bd89
Add support for statbar “off state” icons ( #9462 )
...
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles.
Add "off state" textures to the builtin statbars.
Co-authored-by: SmallJoker <mk939@ymail.com>
2020-05-11 21:40:45 +02:00
v-rob
664800b2ad
FormSpec: Add universal style selector *
( #9718 )
2020-05-06 19:36:02 +02:00
sfan5
b6b80f55c8
Expose collided objects in moveresult
...
closes #9787
2020-05-06 14:03:52 +02:00
SmallJoker
1b6f40c356
Rename moveresult speed to velocity
2020-05-05 08:37:04 +02:00
oilboi
3ed5619d9a
Fix small typo ( #9813 )
2020-05-05 08:35:55 +02:00
Hugues Ross
cb9a44ef89
Add 'content_offset' and 'padding' style properties for buttons ( #9661 )
...
* Add padding and content_offset style properties to buttons
2020-05-02 13:32:02 +02:00
Wuzzy
5c96f57782
Add a convention about z_index ( #9701 )
2020-05-02 13:12:02 +02:00
ANAND
e0ea87f1f3
set_fov: Add support for time-based transitions ( #9705 )
2020-05-02 12:52:11 +02:00
sfan5
ac368af4fe
Allow connection info to be missing from minetest.get_player_information() ( #9739 )
...
fixes #9352
This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.
2020-05-01 21:44:28 +02:00
Lejo
74d9b6010f
Give the online lua mainmenu also the client_list and mods ( #8691 )
2020-05-01 16:47:17 +02:00
sfan5
3475759d1a
Expose collision information to LuaEntity on_step
2020-04-27 20:45:46 +02:00
EvidenceB Kidscode
cee3c5e73d
Add server side translations capability ( #9733 )
...
* Add server side translations capability
2020-04-25 07:20:00 +02:00
Paramat
4e2473ec49
Document which noise APIs add world seed to noiseparams seed ( #9693 )
2020-04-17 10:24:51 +02:00
Maksim
62ae7adab2
Android: add Android Studio support, completely redone java part ( #9066 )
2020-04-15 16:27:40 +02:00
DS
62c62f3829
Add all src folders to doxygen ( #9603 )
2020-04-14 21:22:49 +02:00
Hugues Ross
5cf6318117
Refactor texture overrides and add new features ( #9600 )
...
* Refactor texture overrides, and add new features:
- Texture overrides can support multiple targets in one line
- Texture override files can have comment lines
- Item images/wield images can be overridden
* Formatting changes
* Address soime feedback
- Pass vectors by const reference
- Log syntax errors as warnings
- Remove 'C' prefix from TextureOverrideSource
* Simplify override target checks with an inline helper function
* make linter happy
* Apply feedback suggestions
Co-Authored-By: rubenwardy <rw@rubenwardy.com>
* Remove remaining != 0 checks
* Update copyright notice
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-04-14 20:41:29 +02:00
SmallJoker
27d611fe55
Add default stack size setting ( #8873 )
...
New setting "default_stack_max" to alter the default stack sizes of all items when desired.
Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2020-04-13 10:53:10 +02:00
DS
0ac999ded7
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.
2020-04-13 10:50:07 +02:00
Wuzzy
a24d3b3600
Play 'player_jump' when player jumps ( #9373 )
2020-04-12 00:50:40 +01:00
Lars Müller
af2e6a6a10
Improve waypoints and add image variant ( #9480 )
2020-04-11 22:09:46 +01:00
Hugues Ross
f780bae05c
Formspecs: Add state-selection to style elements ( #9378 )
2020-04-11 21:39:30 +01:00
Paul Ouellette
840b17ce63
Update API site build ( #9622 )
2020-04-11 20:38:39 +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
rubenwardy
143a37e947
Clarify use of minetest.request_insecure_environment() ( #9597 )
2020-04-06 16:54:27 +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
Paramat
45a2ca0af2
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'.
2020-04-03 02:57:15 +01:00
v-rob
9953145a4e
Formspec: Mark hypertext
and markup language as unstable
2020-03-28 21:54:19 +01:00
sfan5
3c0d309643
Improve documentation of minetest.get_node_drops()
...
Also remove the comment saying it could be removed or modified.
2020-03-26 20:35:05 +01:00
Dave Chu
f7c7353a9a
Fix small typos in lua_api.txt ( #9546 )
2020-03-25 11:44:20 +01:00
v-rob
13ad8e2a09
Formspecs: Add starting frame to animated_image
( #9411 )
2020-03-16 22:56:48 +01:00
Jordan Snelling
b9a0626d88
Fix star visilibity and documentation (since 946c03c6)
...
Fix memory leak (unused allocation)
Fix star rendering
Rename sky color struct
Fix stars on android
Remove extraneous .data() from android star draw
2020-03-08 16:13:36 +01:00
sfan5
e774d8ca2f
Fixes around ServerActiveObject on_punch handling
2020-03-05 22:04:23 +01:00
sfan5
8d6a0b917c
Fix potential security issue(s), documentation on minetest.deserialize() ( #9369 )
...
Also adds an unittest
2020-03-05 22:03:04 +01:00
Jordach
946c03c69b
set_sky improvements, set_sun, set_moon and set_stars
2020-03-05 20:12:19 +01:00
Wuzzy
580e7e8eb9
Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid nodes ( #9339 )
...
* Fix pathfinder fail when startpos is over air
* Note down pathfinder restrictions
* Implement real A* search
* Pathfinder: Implement buildPath non-recursively
* Update find_path documentation
* Pathfinder: Check if jump path is unobstructed
* Pathfinder: Fix drop check first checking upwards
* Pathfinder: Return nil if source or dest are solid
* Pathfinder: Use priority queue for open list
2020-03-05 12:09:44 +01:00
v-rob
7dffd08c1a
Add multiple element selection to style
and style_type
( #9380 )
2020-03-01 14:39:57 +00:00
Gao Tiesuan
8ddb6718e3
Fix incorrect spelling in lua_api.txt ( #9431 )
2020-02-26 02:27:54 +00:00
sfan5
6be7150cd5
Documementation: Add advice on lifetime of ObjectRefs
2020-02-23 22:24:12 +01:00
sfan5
217f3a42f4
Documentation: More precise description of ObjectRef:remove()
2020-02-23 22:24:12 +01:00
Paramat
2df226bb41
Lua_api.txt: Add documentation of VoxelArea 'ystride', 'zstride' ( #9415 )
2020-02-22 01:11:33 +00:00
Hugues Ross
7ce21788f8
Add animated_image[] formspec element ( #9258 )
2020-02-15 15:33:18 +00:00