Commit Graph

956 Commits

Author SHA1 Message Date
4Evergreen4 f85e27a92e
Add wrapper for minetest.rotate_and_place. 2022-05-21 16:11:15 +02:00
whatever ade4d38cdc
Don't assert scalars must be vectors. 2022-05-21 16:11:15 +02:00
Vanessa Dannenberg e3e3597d62
Fix orient_flags to be optional. 2022-05-21 16:11:15 +02:00
Vanessa Dannenberg 5f7e684d94
Add 6d facedir rotation prediction routine 2022-05-21 16:11:14 +02:00
kwolekr 8a862c2591
Add seed entry to world creation dialog 2022-05-21 16:11:14 +02:00
BlockMen 103766d511
Reworked formspecs and kahrl's hexcolor parser 2022-05-21 16:11:13 +02:00
ShadowNinja a78ef8d3a0
Add basic protection support to builtin 2022-05-21 16:11:13 +02:00
Nathanaël Courant f435c5211e
Move the sapling growing and grass adding/removing ABMs to Lua 2022-05-21 16:11:13 +02:00
ShadowNinja 083219e4e3
Add my email address to the main menu credits 2022-05-21 16:11:12 +02:00
ShadowNinja 9cad75342a
Add more checks to vector functions 2022-05-21 16:11:12 +02:00
BlockMen 0092022c14
Don't remove background of games in submenus 2022-05-21 16:11:11 +02:00
0gb.us 07e6b6e8d6
Fixed ignoring of "diggable" property of nodes. 2022-05-21 16:11:11 +02:00
Nathanaël Courant 2f36d25eeb
Add a callback: minetest.register_on_craft(itemstack, player, old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv) 2022-05-21 16:11:10 +02:00
ShadowNinja a137bfd011
Made unknown nodes stop falling nodes properly and shorten lines 2022-05-21 16:11:10 +02:00
Nathanaël Courant 9c171de1c7
Move new core devs to the "Core Developpers" section of mainmenu. 2022-05-21 16:11:10 +02:00
ShadowNinja 4f80ec59c0
Add sanity checks to vector functions 2022-05-21 16:11:09 +02:00
ShadowNinja 3a631b4cee
Remove vector metatable setting
This not only makes the vector functions faster, but also makes them more
consistent with other functions.
2022-05-21 16:11:09 +02:00
Nathanaël Courant 179ab675ee
Add tool callback 2022-05-21 16:11:08 +02:00
Nathanaël Courant 8d7e928523
Fix minetest.facedir_to_dir when param2 is 5 or 7. 2022-05-21 16:11:08 +02:00
fairiestoy 1b90a938c9
Optimized minetest.get_connected_players()
Instead of collecting all objects within a huge radius (which could be
a big value), just register each player that connects and give back the
current hold list.
2022-05-21 16:11:08 +02:00
PilzAdam 8319ca0fa4
Allow to manually specify param2 in minetest.item_place() and return success 2022-05-21 16:11:07 +02:00
Kahrl 8cfbc4cd0b
Change mainmenu texture handling + small misc changes
Texture names must now be escaped in formspec elements image[],
background[], image_button[], image_button_exit[].

Instead of special-case handling of texture loading (and unloading
which was missing) in guiFormSpecMenu.cpp, use the newly created
ISimpleTextureSource interface which is a minimal subset of
ITextureSource. There is an implementation of this interface
used by GUIEngine (MenuTextureSource).

Fix an off-by-one bug in unescape_string; it caused requests for a
texture called "\0".
2022-05-21 16:11:07 +02:00
sapier e666842219
Fix bug: texture pack not overriding default menu textures 2022-05-21 16:11:06 +02:00
PilzAdam 4b683f9296
Use engine.is_yes() in mainmenu 2022-05-21 16:11:06 +02:00
PilzAdam af38ec53d8
Use the Settings Lua interface to read world.mt 2022-05-21 16:11:05 +02:00
sfan5 e459fb8b81
Prevent ModMgr from deleting backend setting in world.mt 2022-05-21 16:11:05 +02:00
sapier af89f4a900
Add sanity check to sort function 2022-05-21 16:11:05 +02:00
sapier 019f1b3fd6
Add backtrace to error function 2022-05-21 16:11:04 +02:00
Ilya Zhuravlev 84615ffdd5
Add escaping to world list in main menu (fixes #896). 2022-05-21 16:11:04 +02:00
Kahrl ec8e09a1f9
World config dialog: Use engine determined path for game mods 2022-05-21 16:11:03 +02:00
Kahrl 2eb584e221
GUIFormSpecMenu focus fixes 2022-05-21 16:11:03 +02:00
Kahrl 73a3347a85
Fix trailing nils being dropped by deprecated minetest.env handler 2022-05-21 16:11:03 +02:00
sapier 243ff49bf2
Add translation for main menu Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp 2022-05-21 16:11:02 +02:00
Nathanaël Courant e9cadb712e
Fix modstore pagecount 2022-05-21 16:11:02 +02:00
Nathanaël Courant 41463d3871
Use get_texturepath() instead of get_gamepath()/../textures 2022-05-21 16:11:01 +02:00
PilzAdam 9529de9b53
Sort modlist alphabetically 2022-05-21 16:11:01 +02:00
PilzAdam e95f47a818
Add ability to activate mods with doubleclick (remove old_style_mod_selection) 2022-05-21 16:11:00 +02:00
Nathanaël Courant 4f2c21b25d
Fix formspec escaping, add escaping to info.txt for texture packs. 2022-05-21 16:11:00 +02:00
Kahrl 88e3c9e930
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2022-05-21 16:11:00 +02:00
Ilya Zhuravlev 4ce777f98d
Fix my name. 2022-05-21 16:10:59 +02:00
PilzAdam 65d6cb2aa3
Dont download modstore info if its isnt needed 2022-05-21 16:10:59 +02:00
Nathanaël Courant 130ebcb5e6
Simplify code of mainmenu world sort 2022-05-21 16:10:58 +02:00
BlockMen e113e3d1dd
Add support for different drowning damage and allow drowning in other nodetypes 2022-05-21 16:10:58 +02:00
PilzAdam e142c50d59
Fix worldlist in servertab being filtered by selected game 2022-05-21 16:10:58 +02:00
Nathanaël Courant 063036dfd0
Add minetest.registered_biomes 2022-05-21 16:10:57 +02:00
PilzAdam 45babc32a3
Dont show gamefilter in TP tab 2022-05-21 16:10:57 +02:00
Nathanaël Courant ab5646888b
Add texture pack selection to main menu 2022-05-21 16:10:56 +02:00
Perttu Ahola a69aed8dea
Allow mods to listen to cheat detections using minetest.register_on_cheat() 2022-05-21 16:10:56 +02:00
PilzAdam 7f3cd9bacc
Play sounds/main_menu.ogg in menu 2022-05-21 16:10:55 +02:00
proller 1b052ca0e3
Better snow fall, finite liquid transform, leveled nodes api 2022-05-21 16:10:55 +02:00