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
Wuzzy
ff769e7df5
Add missing paramtype2 documentation ( #9397 )
2020-02-13 23:27:20 +01:00
Paramat
b14aa1c847
Warn of biome ID re-allocation when unregistering or clearing biomes ( #9359 )
2020-02-03 00:31:00 +00:00
sfan5
ace3c76112
Improve core.sound_play with ephemeral sounds and player exclusion
2020-02-01 20:31:41 +01:00
HybridDog
ea5e231959
Add table.shuffle ( #8299 )
2020-02-01 16:09:45 +01:00
DS
1116918dbb
Formspec: Create a new class for inventorylists ( #9287 )
2020-02-01 13:55:13 +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
Wuzzy
e05b7dbb3c
Remove unused weight property from objects ( #9320 )
2020-01-22 10:19:27 +01:00
Wuzzy
0877587cce
Resized torchlike sprite now attaches to surface ( #9303 )
2020-01-20 19:17:54 +00:00
ANAND
468eb4bf57
lua_api.txt: Improve privs_to_string and string_to_privs documentation ( #9228 )
2020-01-19 11:16:54 +01:00
Hugues Ross
680aaa1bd5
Make clipping of formspec elements more consistent ( #9262 )
2020-01-16 18:41:07 +00:00
Wuzzy
3189e4466b
Add missing entity documentation ( #9297 )
2020-01-09 19:48:16 +01:00
Wuzzy
f4f7c7a11b
Improve Lua API documentation on sounds ( #9265 )
2020-01-08 21:27:54 +00:00
HybridDog
f9c7e46a34
Add table.key_value_swap ( #9248 )
2020-01-04 15:44:48 +01:00
Wuzzy
3ad92baa9c
Tweak default textures ( #9237 )
2020-01-04 15:44:31 +01:00
Wuzzy
7199dc7559
Document permissible group ratings ( #9236 )
2019-12-24 19:12:31 +01:00
Bluebird
80af58c8c5
Make core.item_place_node return position of placed node. ( #7713 )
2019-12-18 19:21:24 +01:00
sfan5
db7e59f472
Correct documentation around minetest.item_place
...
The code that calls minetest.item_place_object was removed
in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
2019-12-16 21:24:34 +01:00
SmallJoker
41ff0f6679
Lua API: Document HP, breath and damage limits ( #9080 )
2019-12-15 18:55:01 +01:00
Hugues Ross
9284313d17
Refactor to centralize GUIButton styling/rendering code ( #9090 )
2019-12-09 20:06:51 +00: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
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
sfan5
c44318a253
[CSM] Fix and improve minetest.get_language()
...
Previously this method would accidentally reset the locale
and break everything.
2019-11-11 14:06:48 +01:00
sfan5
2c4cf508a9
[CSM] Implement minetest.get_csm_restrictions()
...
fixes #8068
2019-11-11 14:06:48 +01:00
sfan5
b57dc70769
[CSM] Expose more env functions
2019-11-11 14:06:48 +01:00
sfan5
4d668f32a6
Call on_secondary_use when object is right-clicked
2019-11-10 13:12:31 +01:00
sfan5
485b669840
[CSM] Remove non-functional minetest.get_day_count()
2019-11-09 16:08:38 +01:00
sfan5
7e649f985c
Corrections to client_lua_api.txt
2019-11-09 16:08:38 +01:00
sfan5
b1f2a69382
Introduce get_modpath() for CSM
2019-11-09 16:08:38 +01:00
DS
5506e97ed8
Formspec: draw order and clipping for all elements ( #8740 )
2019-11-07 20:11:01 +01:00
sfan5
15a030ec9f
Improve documentation around banning ( #9088 )
...
* Fix ban chatcommand description
* Correct ban API documentation
2019-11-05 19:24:51 +01:00
Pierre-Yves Rollo
72416a6a1f
Formspec: add hypertext element
2019-11-03 11:45:33 +01:00
random-geek
f2e62298a5
Change some usages of "deprecated" to "obsolete" ( #9062 )
...
"Deprecated" means that something is still in use, but is unsupported and needs to be removed.
"Obsolete" means it is already out of use.
2019-10-29 19:23:12 +01:00
random-geek
cd35949cd0
Remove legacy file format documentation
2019-10-23 20:53:24 +02:00
random-geek
2f3c96b38d
Remove legacy flat-file map code
2019-10-23 20:53:24 +02:00
Hugues Ross
69a2099c04
Add more visual feedback for button states ( #8916 )
...
- Add style properties for overriding the the hovered/pressed state
- By default, hovered buttons are a lighter version of the base color
- By default, pressed buttons are a darker version of the base color
- Add hovered bg image support for image buttons (style property)
2019-10-12 18:44:23 +02:00
sfan5
894008ce6f
Continue with 5.2.0-dev
2019-10-12 15:49:06 +02:00
SmallJoker
dee22104b7
Revert "Fix the bgcolor formspec element ( #8716 )" ( #9018 )
...
This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51.
Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
2019-10-06 14:50:45 +02:00
Paramat
653d7b8112
Document node drop tool filtering by string matching as deprecated ( #9009 )
2019-09-30 21:34:43 +01:00
rubenwardy
07bdd6049b
Fix error message caused by adding new parameter to background ( #8922 )
...
Adds background9[] element to keep backwards compatibility in formspec prepends.
2019-09-29 13:40:59 +02:00
sfan5
70f9e1aafa
Punchwear (improved) ( #8959 )
2019-09-22 22:12:21 +02:00
SmallJoker
fec30e37ac
Fix AreaStore's IDs persistence ( #8888 )
...
Improve documentation
Read old formats
Fix free ID function. Return first gap in map
2019-09-21 17:54:52 +02:00
SmallJoker
5fa614d97e
Wieldhand: Specify which ItemStack to use ( #8961 )
...
Makes 'get_wield_item' to return the "main" ItemStack
2019-09-21 11:44:24 +02:00
Anand S
47da640d77
Add support for per-player FOV overrides and multipliers
2019-09-19 20:14:16 +02:00
DS
1db3d252cf
Fix the bgcolor formspec element ( #8716 )
2019-09-15 17:14:31 +01:00
SmallJoker
9acd36bf99
Formspecs: Introduce formspec_version to mods
2019-09-14 19:43:08 +02:00
SmallJoker
e97cbcf34d
Lua API documentation: Various fixes ( #8914 )
...
Remove unusable 'minetest.setting_*' from client_lua_api.txt
lua_api.txt:
- Define the 'mod.conf' format
- More precise 'settingtypes.txt' format reference
- Document special sound files 'player_*damage'
- Group, sort and add 'not_in_creative_inventory' special group
- Define the 'Settings' format
- Warning about incorrect byte saving in 'StorageRef'
- Note about non-persistent player definitions fields
- Better 'leveldiff' and 'level' group description
2019-09-08 18:43:49 +02:00
ANAND
52e3b4bc72
lua_api.txt: Improve privilege definition ( #8912 )
2019-09-08 12:34:44 +02:00
Paul m. p. P
5c97eeabac
doc/client_lua_api: Clarify how client side api and mods start ( #8822 )
2019-09-05 13:06:22 +02:00
DS
0013f064ad
Various fixes to lua_api.txt ( #8878 )
2019-09-01 20:12:22 +02:00
DS
049256573b
Document world format version 28 (private nodemeta) ( #8857 )
2019-08-31 14:47:12 +02:00
DS
f3fd85aafb
Document luaentity pitch and roll in world format ( #8864 )
2019-08-30 19:40:32 +02:00
Beha
99ca72e9df
Clarify docs regarding pointed_thing and get_pointed_thing_position ( #8766 )
2019-08-30 19:40:08 +02:00
Paul Ouellette
008b80fe1c
Add ItemStack:get_description() to get tooltip ( #8847 )
2019-08-24 18:38:02 +02:00
ANAND
75d44ef1e8
lua_api.txt: Add link to Minetest Modding Book ( #8826 )
2019-08-20 21:15:12 +02:00
upsilon
b2065756cf
Add function minetest.read_schematic
2019-08-14 13:15:41 +02:00
rubenwardy
91114b562f
Add support for set_formspec_prepend in main menu ( #8611 )
2019-08-12 19:16:35 +02:00
sfan5
291e7730cf
Add player knockback on punch to builtin
2019-08-10 19:44:27 +02:00
sfan5
cf64054390
Implement adding velocity to player from Lua
...
The intended usecase is knockback, but there's potential for more.
2019-08-10 19:44:27 +02:00