1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-04 08:50:22 +02:00
Commit Graph

1278 Commits

Author SHA1 Message Date
187519407b Update many things in Lua API docs (#8236)
- minetest.get_hit_params
- minetest.get_dig_params
- table.indexof
- Scope of minetest.register_alias
- Vector function parameters
- More explanation of when `minetest.on_player_receive_fields` is called
- Syntax/semantics of the fields in `minetest.on_player_receive_fields`
2019-02-17 20:49:51 +00:00
00a22ec76d lua_api.txt: Various additions and improvements (#8245) 2019-02-17 02:52:53 +00:00
d5456da69d Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019)
Store the rotation in the node as a 4x4 transformation matrix internally (through IDummyTransformationSceneNode), which allows more manipulations without losing precision or having gimbal lock issues.

Network rotation is still transmitted as Eulers, though, not as matrix. But it will stay this way in 5.0.
2019-02-07 21:26:06 +00:00
3c2fe3229e Update manpage (#8169) 2019-02-04 00:11:32 +01:00
23ea02c79c Protocol Docs: Python check bump to Python 3 2019-02-03 01:32:37 +00:00
572ba83b30 Content store: Fix storage leak by storing screenshots in cache (#8137) 2019-01-31 16:35:55 +00:00
11b550e024 Remove incorrect feature flag (#8086)
And document the versions that introduced the features.
2019-01-19 15:17:05 +01:00
70bf3439ab Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2019-01-06 10:23:35 +01:00
bba4563d89 Proselytize the network. Use IEEE F32 (#8030)
* Proselytize the network. Use IEEE F32
* Remove unused V2F1000 functions
2019-01-03 17:04:26 +01:00
c6f784f43b Add minetest.load_area (#8023) 2018-12-31 00:32:54 +00:00
badecfa471 Update README.android with current build info (#8026) 2018-12-28 23:31:09 +01:00
a5197eaebc CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)
* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
2018-12-24 10:51:10 +01:00
a318bceb63 Lua_api.txt: Add documentation of missing field to 'on_punch' (#8008) 2018-12-22 00:32:27 +00:00
b7eb81fed9 Add command line option to load password from file (#7832) 2018-12-18 20:15:14 +01:00
7a4d4bc9e6 Lua_api.txt: Document inventory sending behaviour (#7720) 2018-12-18 00:38:39 +00:00
08610aad7e (client_)lua_api.txt: Rename func -> function (#7960) 2018-12-12 08:50:40 +00:00
ce32a327ff lua_api.txt: Various fixes and improvements (#7945)
* Add missing tables of registered things

* Eliminate some duplication

Registration functions in 'Registered definitions' section merged into
'Registration functions' section.

* Misc. fixes

* Add privilege definition table

* Remove not-special soil group from special groups

* Merge two registration functions sections

* Move 'added to' information to tables section

Also fix some capitalization and missing periods

* Minor fixes

* Split Registration functions into two subsections

And update Registered definition tables to match order

* Fixes
2018-12-11 17:37:06 +01:00
f318366c20 Fix ContentDB packages timing out by using download_file instead (#7891) 2018-12-11 04:43:14 +00:00
a833bee9ed Add object visual type 'item' (#7870) 2018-12-11 02:57:04 +00:00
afaf7b901b Fix wrong parameter order for inventory callbacks (#7952) 2018-12-10 19:18:03 +01:00
5560ec8178 Add eat sound (#7956) 2018-12-10 09:25:47 +01:00
1b0fd195c6 Raise hotbar limit to 32 slots, add associated keybinding options (#7916)
add associated keybinding options
update docs and settingtypes
2018-12-02 23:34:29 +01:00
42166fff74 Document which formspec fields are sent (#7717) 2018-12-02 16:05:56 +01:00
faa358e797 Add Lua methods 'set_rotation()' and 'get_rotation()' (#7395)
* Adds Lua methods 'set_rotation()' and 'get_rotation'. Also changed some method names to be more clear. Instead of an f32 being sent over network for yaw, now a v3f is sent for rotation on xyz axes. Perserved Lua method set_yaw/setyaw so that old mods still work, other wise to set yaw they would need to switch to set_rotation(0, yaw, 0).
2018-11-28 09:38:50 +01:00
1c91cb8f8f Lua_api.txt: Update glasslike_framed textures documentation (#7884) 2018-11-22 04:55:24 +00:00
34a5960671 Framed glasslike: Fix and document top/base textures feature (#7824) 2018-10-30 06:41:15 +00:00
622e2235ee clear_craft: Return false if recipe not found, don't throw error (#7804) 2018-10-24 15:03:21 +01:00
40ab3e011d Add disable_repair group to prevent tool repair (#7381) 2018-10-16 05:25:34 +01:00
0a5e77132a Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good
Bump protocol version
2018-10-10 20:48:58 +02:00
d77f3b3fde Player hand list: require init by mods
Mods will now have to initialize the list/slot in order to define the default player hand.
They may use the inventory callbacks to prevent abuse of this list.
2018-10-04 20:42:38 +02:00
18a8fbf465 Software inventorycube (#7651)
Fixes missing/upside-down images on Android.
2018-09-29 19:40:17 +01:00
766fb7b46e Particles: Make collision with objects optional (#7682)
Also set it to false for node dig particles, as they are often created
and high in number.

Improve particle documentation.
2018-09-08 00:38:35 +01:00
3cc25b700a Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659) 2018-08-19 19:04:17 +01:00
325bf68041 Raycast: export exact pointing location (#6304)
* Return intersection point in node coordinates.
* Clarify 'intersection_point' documentation
2018-08-16 20:10:08 +02:00
798724efea lua_api.txt: Refine 'Item types' for 4e2eeee (#7648) 2018-08-15 20:35:38 +01:00
4e2eeee3cc lua_api.txt: Various fixes and improvements (#7638)
Improve item types descriptions.
Add replacements field to fuel definition.
Shorten two headers.
Markdown fixes.
Remove extra example.

Add blank lines after headings.

Linkify section references.
Bracketed section names can be linked when compiled to HTML.
2018-08-15 16:05:11 +01:00
03f89e8ffc texture_packs.txt: Add information for leaves texturing (#7637)
Explain texture requirements due to the leaves rendering options.
2018-08-14 00:30:13 +01:00
6bd4cb9f7e Lua_api.txt: Move item def section nearby node def (#7636) 2018-08-12 22:36:16 +01:00
ea26076bcb Feature check for commit ac4884c3d6 (#7618)
adds `entity_independent_selectionbox` to minetest.features
2018-08-12 13:37:17 +02:00
88efebdf86 Formspecs: Add tooltip element for area 2018-08-05 15:50:02 +01:00
153fb211ac Replace auth.txt with SQLite auth database (#7279)
* Replace auth.txt with SQLite auth database
2018-08-05 13:13:38 +02:00
3e6da81791 lua_api.txt: Improve code block format (#7599)
Remove ^ and --[[ ]] symbols.
Fix comment indentation level.
Separate fields with blank lines.
Remove period from single-sentence descriptions, add periods to
multi-sentence descriptions.
Separate inline comments from the code with two spaces.
2018-08-03 21:36:24 +01:00
654f57333f Lua_api.txt: Improve Player HUD flags documentation (#7588) 2018-07-31 13:00:02 +01:00
bf45644041 Lua_api.txt: Clarify entity 'initial_properties' and related deprecation (#7596) 2018-07-29 22:07:55 +01:00
0d55879a1a Lua_api.txt: Various improvements (#7582)
Fixes and format improvements.
Shorten definition tables headers and clarify when they are used.
Add subheadings for craft recipes.
2018-07-26 03:56:11 +01:00
7454deb1bf Allow an optional readonly base database (#7544)
* Allow an optional readonly base database

* Added basic documentation
2018-07-25 17:54:23 +02:00
78a801e42d Update mip mapping and textarea documentation (#7315)
* Fix textarea formspec documentation
The label is shown and the background isn't
* Document the missing gamma correction when generating mip maps
* Remove duplicate text (such as size parameter descriptions)
2018-07-19 18:28:26 +02:00
1aaee5b30d Lua_api.txt: Various minor improvements (#7560)
Add missing section title for 'Node paramtypes'.
Clarify documentation for schematic Y-slice table.
Document that schematic Y-slice behaviour does not invert for ceiling
schematic decorations.
2018-07-16 04:57:44 +01:00
334d8c31ee Lua_api.txt: Formatting and grammar fixes (#7534)
Use tree output for directory structure.
Remove 2 blank lines near document top.
Spelling and grammar fixes.
Markdown fixes.
Condense paths section.
Fix skipped heading levels.
2018-07-08 04:18:53 +01:00
55b6bc085b Lua_api.txt: Improve section titles, clarify sections (#7533) 2018-07-06 21:02:54 +01:00