Jean-Patrick Guerrero
777a203e5f
Fix FSAA dropdown option reset after changing another dropdown option
2022-05-21 16:12:46 +02:00
Jean-Patrick Guerrero
10557bce20
Remove drivers dropdown in the settings tab
2022-05-21 16:12:45 +02:00
Nathanaël Courant
a0a5a74b4e
Update my name
2022-05-21 16:12:45 +02:00
est31
fbc95ae055
Optional reconnect functionality
...
Enable the server to request the client to reconnect.
This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2022-05-21 16:12:44 +02:00
sfan5
7a1854f798
Fix crash in mainmenu when loaded subgame does not have a "menu" directory
2022-05-21 16:12:44 +02:00
sfan5
22c20ffd4d
Allow random menu images for subgames
2022-05-21 16:12:43 +02:00
Mark Schreiber
4e8e0fdff1
Add antialiasing UI setting
...
The Irrlicht engine supports antialiasing, and Minetest already supports
saving an antialiasing setting in its configuration file. However,
Minetest lacked UI elements to set this setting, and previously the only
way to enable the feature was by hand-editing the configuration file.
Add a drop-down menu that can enable antialiasing.
2022-05-21 16:12:43 +02:00
Marcin
e235a42346
Add ability to specify coordinates for /spawnentity
2022-05-21 16:12:42 +02:00
ExcaliburZero
b7d559dafe
Change texture pack description file name
...
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs.
Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
2022-05-21 16:12:42 +02:00
Jean-Patrick Guerrero
f00186f204
Fix remnant bugs on mainmenu
...
- Stop attempting to start a world when no world's created/selected in server tab
- Better world's indexes handling between subgames lists
2022-05-21 16:12:41 +02:00
RealBadAngel
23e4c70d72
Add new leaves style - simple (glasslike drawtype)
2022-05-21 16:12:41 +02:00
Jean-Patrick Guerrero
5707f97a05
Fix attempt to start a world when no world is selected/created
2022-05-21 16:12:40 +02:00
Sokomine
afdd384f40
Set server_announce to world.mt and respect modes when changing subgame
2022-05-21 16:12:40 +02:00
Sokomine
7345adbbb5
Fix world.mt not written when selecting mode
2022-05-21 16:12:39 +02:00
est31
06cedfb052
Fix single click world select
2022-05-21 16:12:39 +02:00
Jean-Patrick Guerrero
2c8a161000
Fix bugs in mainmenu
2022-05-21 16:12:38 +02:00
rubenwardy
f17181e748
Add Lua errors to error dialog
2022-05-21 16:12:38 +02:00
est31
d375d875a1
Update credits tab
2022-05-21 16:12:37 +02:00
Wuzzy
4917a66e19
Don't highlight entries in credits
2022-05-21 16:12:37 +02:00
Craig Davison
406b5bf810
Remove reference to deprecated privilege
2022-05-21 16:12:36 +02:00
TeTpaAka
77c2bf43c3
Add minetest.register_on_player_hpchange
2022-05-21 16:12:36 +02:00
HybridDog
c1853e2893
More reliable serverlist behaviour
...
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
2022-05-21 16:12:35 +02:00
HybridDog
80e032e167
Decrease minetest.after globalstep lag
...
* abort if theres no active timer
* only reduce the timer.time of all timers when its necessary
* move updating timers_to_add into a seperate function
2022-05-21 16:12:35 +02:00
est31
e648a40cec
Nicer time setting logging
...
Now logs
ACTION[ServerThread]: player sets time to 6:03
instead of
ACTION[ServerThread]: player sets time to 6:3
2022-05-21 16:12:35 +02:00
est31
fea38f3780
Fix wrong replace from previous commit
2022-05-21 16:12:34 +02:00
est31
1c971d206e
Localize inside whole misc_helpers.lua
2022-05-21 16:12:34 +02:00
ShadowNinja
6afcc26bac
Add core.get_dir_list
2022-05-21 16:12:33 +02:00
LeMagnesium
de7cd53f41
Added hour:minute format to time command
...
* The time command now accepts parameters in the form <hour>:<minute>,
and if invoked with no parameters returns the current time in said format.
2022-05-21 16:12:33 +02:00
Brandon
d564d4d2b8
Add minetest.register_on_punchplayer
2022-05-21 16:12:32 +02:00
tenplus1
e172295337
Don't crash if an item gets dropped into unloaded space
...
Items dropped into unloaded map space will crash game so here's a fix...
2022-05-21 16:12:32 +02:00
est31
e50a93d25a
Item entity merging refactor
...
Don't ident too much, and add a comment.
2022-05-21 16:12:32 +02:00
Nathanaël Courant
2f8a628334
Add code to support raillike group names
2022-05-21 16:12:31 +02:00
Tomas Brod
c1f7c3a378
Fix minetest.clear_* creating new LOCAL table instead of clearing the existing one.
...
On calling clear_redistered_biomes the registered_biomes table is cleared
by creating a new empty table, but the pointer is not updated to point to
the new one. So after calling more register_biome, the registered_biome
table always contains 0 items, which is an error. Instead, the table is
cleared by removing all its items so the pointer (minetest.registered_*)
remains valid.
2022-05-21 16:12:31 +02:00
srfqi
75f9ff161a
Remove fly mode in simple main menu
...
As the fly mode option is avaiable in-game, this is not used anymore.
2022-05-21 16:12:30 +02:00
ShadowNinja
6e61c7d92a
Add minetest.global_exists()
2022-05-21 16:12:30 +02:00
est31
c2dcb45bf8
Add reason to kicked log message and use present tense
2022-05-21 16:12:29 +02:00
Zeno-
efeec55ab8
Let main menu scale (non-Android)
...
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
2022-05-21 16:12:29 +02:00
Zeno-
ca83a3ab72
Update credits
2022-05-21 16:12:29 +02:00
Loïc Blot
afa56e9c91
Remove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7a
2022-05-21 16:12:28 +02:00
fz72
3f6d3e066a
Save creative_mode and enable_damage setting for each world in world.mt
...
Create Parameters on world initialisation and set settings of old worlds
2022-05-21 16:12:28 +02:00
est31
bc5ae25d1a
Android: Fix auto-entry of server address and port in mainmenu
...
Fixes #2497 .
2022-05-21 16:12:27 +02:00
SmallJoker
6d524e3940
Radius parameter for /deleteblocks here
2022-05-21 16:12:27 +02:00
est31
944e67af37
Add /setpassword and /clearpassword logging
2022-05-21 16:12:27 +02:00
ShadowNinja
53f255dbc9
Fix serialization of floating point numbers
2022-05-21 16:12:26 +02:00
Nathanaël Courant
b7db67f168
Add modname convention checking
...
Fixes #2037
2022-05-21 16:12:26 +02:00
est31
5a662882bf
Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist
...
Client now informs about incompatible servers from the list, this permits to prevent the protocol movements.
Server announces its supported protocol versions to master server
2022-05-21 16:12:25 +02:00
Perttu Ahola
352b5c8a72
Use fixed size for builtin menus on non-android platforms
2022-05-21 16:12:25 +02:00
Loïc Blot
b6c7b01e45
Fix unused (and so, broken) enable_rollback_recording. This option must be reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
2022-05-21 16:12:24 +02:00
fz72
de358b6b55
Fix map_seed not changed when creating a new world after login to another
2022-05-21 16:12:24 +02:00
rubenwardy
aabe33eea2
Fix minetest.item_eat's replace_with_item, fixes #2292
2022-05-21 16:12:24 +02:00
Loïc Blot
223b4c09ca
Fix issue #2278 , Connection sent before address data loading
2022-05-21 16:12:23 +02:00
est31
1052201620
Fix crash on passing false as value in table to table.copy(t)
...
Fixes #2293 .
2022-05-21 16:12:23 +02:00
ngosang
4bd260afbd
Minor fixes in translations
2022-05-21 16:12:22 +02:00
Rui
04904a1ab8
Fix store.lua bug: default screenshot
2022-05-21 16:12:22 +02:00
Rui
914d344a97
Fix tab_mods.lua: default screenshot patch
...
https://forum.minetest.net/viewtopic.php?f=6&t=11201
Fixed this bug.
2022-05-21 16:12:22 +02:00
ngosang
10ab4608f8
Fix 'Download complete' dialog in the mods store
2022-05-21 16:12:21 +02:00
kwolekr
201f783d75
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
2022-05-21 16:12:21 +02:00
rubenwardy
bd42a0c92e
Change assignment to global in a function to warning
2022-05-21 16:12:20 +02:00
kwolekr
a4bc5e525e
Prevent null concatenation when /deleteblocks is provided an incorrect format
2022-05-21 16:12:20 +02:00
ShadowNinja
32911a2064
Fix imprecise serialization of large numbers
2022-05-21 16:12:19 +02:00
Zeno-
4ff1574c23
Allow filter and mipmap drop down menues to be translated
2022-05-21 16:12:19 +02:00
kwolekr
02fb28a2a9
Reorganize supported video driver query mechanisms
2022-05-21 16:12:19 +02:00
kwolekr
a48bf4ad0b
Revert "Fix style on settings tab"
...
This reverts commit 7b17b9059e30cef384ecca37feec87cdcdfd39b8.
2022-05-21 16:12:18 +02:00
Jean-Patrick Guerrero
75b18a7b37
Fix style on settings tab
2022-05-21 16:12:18 +02:00
kwolekr
5d9c758b13
Simplify deleteblocks chat command argument parsing
...
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2022-05-21 16:12:17 +02:00
kwolekr
b18ccd0056
Add ability to delete MapBlocks from map
...
Also add a Lua API and chatcommand for this
2022-05-21 16:12:17 +02:00
Diego Martínez
d6acaced3f
Fix typo in `serialize.lua`.
2022-05-21 16:12:17 +02:00
Jean-Patrick Guerrero
b04cd996b9
Add missing return value for filter/mipmap dropdown in mainmenu
2022-05-21 16:12:16 +02:00
Jean-Patrick Guerrero
b7c595f5ea
Small tweaking (alignement - client tab)
2022-05-21 16:12:16 +02:00
Jean-Patrick Guerrero
618dd99293
Reorganizing client and server tabs
2022-05-21 16:12:15 +02:00
kwolekr
f18dcb6ee8
builtin: Unify register wrapper functions and wrap clear_registered_* functions too
2022-05-21 16:12:15 +02:00
paramat
7e7ae1390b
Remove builtin_biome.lua from builtin and add simple biome minimal
2022-05-21 16:12:14 +02:00
sapier
ec52d6dc7a
Remove automatic consistent formspec size <-> font size (now has to be done manually) Set builtin formspecs to autoscale in order to get consistent formspec look and feel Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
2022-05-21 16:12:14 +02:00
ShadowNinja
43ee012597
Add registered_ores and registered_decorations
2022-05-21 16:12:14 +02:00
Diego Martínez
c2450727a1
Fix off-by-one error in `string:split` implementation.
2022-05-21 16:12:13 +02:00
sapier
4bf651e1b8
Fix forgotten favourite list image update of simple menu
2022-05-21 16:12:13 +02:00
sapier
b35dfcaefa
Re-add lost way to debug simple menu on PC
2022-05-21 16:12:12 +02:00
kwolekr
e12164adb2
Add core.get_mapgen_names() to Main Menu API (and use it)
...
Also rewrite mapgen registration for static initialization
2022-05-21 16:12:12 +02:00
kwolekr
c06d3f19e4
Expose mapgen parameters on scripting init
...
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
2022-05-21 16:12:12 +02:00
Kahrl
5ee1b776ba
Ignore downloaded public serverlist if public_serverlist is false
...
Fixes #1807 : When the server list finishes downloading, the local server
list resets in certain conditions
2022-05-21 16:12:11 +02:00
Diego Martínez
a88e2f410b
Faster string.split implementation.
2022-05-21 16:12:11 +02:00
fz72
5d11429074
MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state ( fixes #1960 )
2022-05-21 16:12:10 +02:00
kwolekr
06d67db3cc
Temporarily set default biome in builtin
...
This should probably be removed when minetest_game has proper biomes.
If I hear "the whole map is just stone!" again after this, I am going to detonate.
2022-05-21 16:12:10 +02:00
Kahrl
a5032d9c3b
Remove vertlabels from main menu and relayout a bit
2022-05-21 16:12:09 +02:00
Kahrl
96b6aa6e4b
Display serverlist flags as icons
2022-05-21 16:12:09 +02:00
Zeno-
64bc547162
Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly"
...
This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218.
See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
2022-05-21 16:12:09 +02:00
paramat
1adec0e3c5
Fix undeclared globals in functions and shorten lines in misc_helpers.lua.
2022-05-21 16:12:08 +02:00
SmallJoker
e98bb3edcc
Ignore .name directories and files
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:08 +02:00
Kahrl
9806ede6a3
Always escape user provided data in mainmenu fields
2022-05-21 16:12:07 +02:00
SmallJoker
2dba3fd295
Add Lua helper functions vector.apply(v) math.sign(x, tolerance)
2022-05-21 16:12:07 +02:00
Calinou
493521898f
Make dropped items larger and rotate faster
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:07 +02:00
SmallJoker
7fa045415f
Add minetest.copy_table(table) To get rid off the "table references"
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:06 +02:00
Craig Davison
8ed639715a
Fix some undeclared global variables
2022-05-21 16:12:06 +02:00
Kodexky
0a6a8ab23b
Fix Android main menu crash, and user data directory check.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:05 +02:00
dvere
694e0d0781
Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly
...
According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
2022-05-21 16:12:05 +02:00
ShadowNinja
4bc849b059
Make duplicate warning checks file and line specific
2022-05-21 16:12:04 +02:00
sapier
7b55a9a5cd
Fix console spaming by debug function on mod checking for global variable to exist.
2022-05-21 16:12:04 +02:00
ShadowNinja
f57278fe5a
Update credits menu
2022-05-21 16:12:04 +02:00
ShadowNinja
041d9e5417
Simplify loading of Android version of menu
2022-05-21 16:12:03 +02:00
ShadowNinja
d92c59d47d
Fix leaking global in texture pack menu
2022-05-21 16:12:03 +02:00
ShadowNinja
adf3454250
Add strict module
...
Also fix leaking globals found by it.
2022-05-21 16:12:02 +02:00
ShadowNinja
5805e555cf
Tweak core.serialize
...
This adds proper support for nested tables and improves performance a bit.
2022-05-21 16:12:02 +02:00
Wouters Dorian
d5b1f42ef1
Improved VoxelArea variable locality, thus performance
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:02 +02:00
Wuzzy
7999b22a29
Add tooltips to main menu subgames button bar
2022-05-21 16:12:01 +02:00
paramat
00a13badea
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2022-05-21 16:12:01 +02:00
ShadowNinja
d9875f12f2
Fix dump() indentation with non-tab indents
2022-05-21 16:12:00 +02:00
Ryan Newell
c8a29cc3b7
Add last_login field to auth.txt
...
Also shortens some related code and adds more parameters to string.split.
2022-05-21 16:12:00 +02:00
rubenwardy
18473c4ed7
Add notice when only minimal is installed
2022-05-21 16:11:59 +02:00
Kahrl
5d3435cbfa
Change topleft text when switching subgames, fixes #1728
2022-05-21 16:11:59 +02:00
LeMagnesium
2a038ee038
Add a better error message when trying to teleport another player without bring privileges
2022-05-21 16:11:59 +02:00
BlockMen
450048b470
Add optional framed glasslike drawtype
2022-05-21 16:11:58 +02:00
SmallJoker
6fb306753d
Use round if falling node is misplaced
...
Fixes: http://i.imgur.com/arAWw1i.png (middle-right)
2022-05-21 16:11:58 +02:00
ShadowNinja
f32731396b
Make dump's output prettier
...
Changes:
* Indentation with tabs by default.
* Array keys dumped without "[i] = " prefix.
* String keys that are valid identifiers aren't enclosed in '[""]'.
* Basic support for multiple references (as specified in the comment).
2022-05-21 16:11:57 +02:00
SmallJoker
f445d7a0f3
Fix wrong video_driver setting when changing in mainmenu
...
Fixes issue with direct3d(8|9)
2022-05-21 16:11:57 +02:00
sapier
266fe0cdf7
Fix retval of entity.get_staticdata beeing lost while profiling is enabled
2022-05-21 16:11:57 +02:00
sapier
bc4f8c8979
Add video driver selection to settings menu (based uppon idea from webdesigner97)
2022-05-21 16:11:56 +02:00
Casimir
adeb452c4a
Remove buildable_to nodes without dropping item when replaced by a falling node
2022-05-21 16:11:56 +02:00
sapier
c98969fa39
Fix caption of config mods button (simple menu)
2022-05-21 16:11:55 +02:00
sapier
b92b8a51ce
Mod profiling support
...
Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)
Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2022-05-21 16:11:55 +02:00
BlockMen
2d346ed082
Fix mainmenu game initialisation
2022-05-21 16:11:54 +02:00
ShadowNinja
3637581db5
Formspec escape fixed seen in world creation menu
2022-05-21 16:11:54 +02:00
sfan5
b0be73b638
Rework texture generating code, add texture grouping via ( ... )
2022-05-21 16:11:54 +02:00
ShadowNinja
21f38e1fcb
Remove vector assertions
...
These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.
2022-05-21 16:11:53 +02:00
Zefram
e5c4318f4e
Fix indexing error in timer processing
2022-05-21 16:11:53 +02:00
sapier
dd0e0e019f
Add srollbar formspec element
2022-05-21 16:11:52 +02:00
Nathanaël Courant
79490bfcdc
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
2022-05-21 16:11:52 +02:00
proller
1dd3ac8929
Remove proller from credits
2022-05-21 16:11:51 +02:00
proller
3250c781d2
Remove indev mapgen
2022-05-21 16:11:51 +02:00
proller
6b0f33e73a
Remove math mapgen
2022-05-21 16:11:51 +02:00
sapier
c2ddc480de
Add support for Android 2.3+
...
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
2022-05-21 16:11:50 +02:00
sapier
37f07818ca
Fix menu crash due to lack of favourites list
2022-05-21 16:11:50 +02:00
sapier
3fa5f247c2
Support for scalable font and gui elements Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
2022-05-21 16:11:49 +02:00
sapier
40cd31db20
Fix broken serverdescription in multiplayer tab
2022-05-21 16:11:49 +02:00
sapier
4689018071
Fix bounding rect for formspec elements label vertlabel and checkboxes
2022-05-21 16:11:48 +02:00
sapier
5b6f7286a2
Fix regression main_menu_script setting not working any longer
2022-05-21 16:11:48 +02:00
sapier
d8335372ca
Fix regression dirt texture not beeing default in non cloud menu
2022-05-21 16:11:48 +02:00
sapier
5ad41abbdd
Add support for exiting formspecs by doubleclicking outside
2022-05-21 16:11:47 +02:00
Lord James
d87cb5ab42
New feature: drop a item instead a stack while...
...
sneaking
2022-05-21 16:11:47 +02:00
sfan5
29bc03cf5c
Allow custom liquids to have drops
2022-05-21 16:11:46 +02:00
RealBadAngel
11fceda9b6
Re-add missing shaders setting. (Generate normalmaps)
2022-05-21 16:11:46 +02:00
ShadowNinja
2fafe8b464
Add success and output return values to chat commands
2022-05-21 16:11:45 +02:00
rubenwardy
68ed7cbe50
Add item eat callback
2022-05-21 16:11:45 +02:00
Diego Martínez
86071c16d0
Sort commands and privs alphabetically in '/help'.
...
Also make a stray variable local.
2022-05-21 16:11:44 +02:00
ShadowNinja
3164569a22
Rework dumping functions
...
Changes:
* Add comments to explain the dumping code
* Add support for dumping values of any type (as '<' <type> '>')
* Add support for tables as keys in dump2()
* Make dump2() return it's result (like dump()) rather than printing it
* Simplify and optimize function serialization via serialize()
2022-05-21 16:11:44 +02:00
sapier
bb671de29d
Fix a bunch of small bugs due to mainmenu cleanup Fix doubleclick not working in singleplayer Fix of by one issue on accessing raw list Fix this->self Fix copy&paste error for scroll button
2022-05-21 16:11:44 +02:00
RealBadAngel
4cd0c9843a
Item entity stacks merge on the ground.
...
Add TTL to item entities.
2022-05-21 16:11:43 +02:00
sapier
b72cf8726e
Fix singleplayer dialogs missing game customization
2022-05-21 16:11:43 +02:00
sapier
c2df20263f
Add formspec toolkit and refactor mainmenu to use it Fix crash on using cursor keys in client menu without selected server Add support for non fixed size tabviews
2022-05-21 16:11:42 +02:00
sapier
157d239550
Fix old client showing duplicated health bar on new server Fix client not showing hearts and bubbles on connecting to old server Fix server not remembering hud flags correctly
2022-05-21 16:11:42 +02:00
sapier
026083e1a8
Fix healthbar not beeing hidden on disabled damage
2022-05-21 16:11:41 +02:00
ShadowNinja
37c32c715f
Use "core" namespace internally
2022-05-21 16:11:41 +02:00
ShadowNinja
148b74312e
Organize builtin into subdirectories
2022-05-21 16:11:40 +02:00
sapier
4f1adce2b2
Fix heart + bubble bar size on different texture packs Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2022-05-21 16:11:40 +02:00
sapier
d5afcc908e
Fix usage of deprecated functions in builtin
2022-05-21 16:11:39 +02:00
sapier
1db1cc0a68
Add proper lua api deprecated handling
2022-05-21 16:11:39 +02:00
ShadowNinja
811a1412e9
Add support for function serialization to minetest.serialize
2022-05-21 16:11:38 +02:00
ShadowNinja
cc78050568
Remove dependency on marshal and many other async changes
...
This makes a number of changes:
* Remove the dependency on marshal by using string.dump and loadstring.
* Use lua_tolstring rather than having Lua functions pass string lengths to C++.
* Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs.
* Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality.
* Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.)
* Pop more unused items from the stack
* Code style fixes
* Other misc changes
2022-05-21 16:11:38 +02:00
ShadowNinja
87e7000acc
Revert "Add backtrace to error function"
...
This reverts commit 5b518ed2feff28c9bf21ad940c1b211b72d71bd1.
This caused duplicate tracebacks and tracebacks when unwanted.
It also ignored the level argument to error() and didn't pass the message (or level) to debug.traceback().
Use xpcall() or lua_pcall()'s errorhandler argument instead.
2022-05-21 16:11:38 +02:00
proller
90e3c67beb
Remove liquid_finite and weather
2022-05-21 16:11:37 +02:00
ShadowNinja
0f8b70ca47
Add checks for nil in minetest.after
2022-05-21 16:11:37 +02:00
BlockMen
be5374a983
Fix crash when teleporting near unknown node
2022-05-21 16:11:36 +02:00
Nathanaël Courant
d583bca3ab
Fix "ghost stacks" created when a player clicks an item on the ground: since the object is not immediately removed, any other code may still think an object is there, therefore leading to item duplication. This code therefore sets the itemstring to '' after the object is picked up to avoid such issues
2022-05-21 16:11:36 +02:00
RealBadAngel
9b967e9d60
Normal maps generation on the fly. Parallax mapping with slope information. Overriding normal maps.
2022-05-21 16:11:35 +02:00
ShadowNinja
614c5f96c3
Fix error when calling minetest.node_punch without a pointed_thing
2022-05-21 16:11:35 +02:00
sapier
742dba559f
Replace pause and message menu by formspec ones
2022-05-21 16:11:34 +02:00
ShadowNinja
aea32fa3c1
Remove "Server -!- " prefix from player messages
2022-05-21 16:11:34 +02:00
ShadowNinja
a04aed990e
Add the option to bind to a specific address
2022-05-21 16:11:33 +02:00
ShadowNinja
5318fb3a94
Escape texture pack names
2022-05-21 16:11:33 +02:00
sapier
2b1dff8cb7
Add minetest.kick_player(name, reason)
2022-05-21 16:11:33 +02:00
ShadowNinja
98631ce021
Fix error on mod download failure
2022-05-21 16:11:32 +02:00
ShadowNinja
f24746cb6d
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
2022-05-21 16:11:32 +02:00
ShadowNinja
3818e6c9b5
Add pointed_thing to minetest.register_on_placenode
...
As suggested by qwrwed.
2022-05-21 16:11:31 +02:00
PilzAdam
49d8888924
Fix minetest.rotate_and_place() calling on_rightclick() with nil/random param for node
2022-05-21 16:11:31 +02:00
Dániel Varga
58339707b9
Fixed mainmenu lua errors because of changes in get_textlist_index
...
Fixed lua error when none of the worlds or servers selected are and connect,
delete or configure buttons used.
2022-05-21 16:11:31 +02:00
ShadowNinja
6154aa6365
Fix spelling of "attempt"
2022-05-21 16:11:30 +02:00
ShadowNinja
7e24d1ec9c
Add minetest.override_item
2022-05-21 16:11:30 +02:00
Kahrl
c5acb54340
Add formspec table
2022-05-21 16:11:29 +02:00
Nathanaël Courant
56525d21d2
Fix doc and forceloading crash.
2022-05-21 16:11:29 +02:00
Nathanaël Courant
67d99a67be
Add forceloading
2022-05-21 16:11:28 +02:00
Nathanaël Courant
0d4128330e
Deepcopy pointed_thing for after_place_node, give it to on_rightclick too.
2022-05-21 16:11:28 +02:00
ShadowNinja
d36ae912e7
Pass pointed_thing to after_place_node
2022-05-21 16:11:28 +02:00
ShadowNinja
a9ec22e545
Add protection support to auto-rotated nodes
2022-05-21 16:11:27 +02:00
ShadowNinja
175ab58ef2
Prevent auto-rotated nodes replacing the nodes they are placed on
2022-05-21 16:11:27 +02:00
PilzAdam
2ee07fca1e
Escape error messages in error dialog
2022-05-21 16:11:26 +02:00
Perttu Ahola
7a0b6ae3da
Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line
2022-05-21 16:11:26 +02:00
Ilya Zhuravlev
9e386551a8
Fix absence of images when compiled with RUN_IN_PLACE=0.
2022-05-21 16:11:26 +02:00
Nathanaël Courant
a78d69d445
Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."
...
This reverts commit 4e5760a5416cbca6945b1b4484cbd96bea7b250c.
2022-05-21 16:11:25 +02:00
Diego Martínez
d072d6424d
Add 'on_prejoinplayer' callback
2022-05-21 16:11:25 +02:00
sapier
41deb26bb3
Implement search tab and version picker
2022-05-21 16:11:24 +02:00
ShadowNinja
8c2244886f
Move script_run_callbacks to Lua
2022-05-21 16:11:24 +02:00
ShadowNinja
067f8abc4c
Only create one alias metatable
2022-05-21 16:11:23 +02:00
RealBadAngel
10cff23151
Shaders rework.
2022-05-21 16:11:23 +02:00
0gb.us
41be943528
Assume a selection box for fences
...
Similar to assuming a selection box for the nodebox drawtype, minetest.register_item() now assumes a selection box for the fencelike drawtype.
2022-05-21 16:11:23 +02:00
kwolekr
9ddac46bd9
Change default value of is_ground_content to true
...
Most modders would otherwise forget to explicitly define this, and generated nodes aliased from mods would wall-off caves
2022-05-21 16:11:22 +02:00
sapier
4bb6a41c04
Fix modstore/favourites hang by adding asynchronous lua job support
2022-05-21 16:11:22 +02:00
sapier
d79c9afa5b
Split server/client port setting to avoid port number clashes in mainmenu
2022-05-21 16:11:21 +02:00
ShadowNinja
150c8bb108
Rollback fixes and get_node_actions
2022-05-21 16:11:21 +02:00
sapier
121b4af913
Temporary disable local install button due to irrlicht dialog breaking localization
2022-05-21 16:11:20 +02:00
Nathanaël Courant
142890c7d8
Fix my name (doesn't display correctly because of utf8 characters)
2022-05-21 16:11:20 +02:00
sfan5
8003c74dc1
Fix rename modpack button not working, fixes #1019
2022-05-21 16:11:20 +02:00