Commit Graph

426 Commits

Author SHA1 Message Date
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
sfan5 0fb659387f
Prevent enabling Shaders if Direct3D is used 2022-05-21 16:11:19 +02:00
ShadowNinja a5613e43c8
Fix usage of 'minetest' where 'engine' was intended 2022-05-21 16:11:19 +02:00
BlockMen 2ec6146212
Fix modmanager screenshot path 2022-05-21 16:11:18 +02:00
kwolekr 674da5f290
Fix issue #1009 (minetest.get_connected_players() returns non-existing players) 2022-05-21 16:11:18 +02:00
PilzAdam 207a6dff9f
Replace print()s with minetest.log() in builtin 2022-05-21 16:11:18 +02:00
sapier 5238e747f4
Fix "TODO read modinfo" in modmanager to improve ui usability 2022-05-21 16:11:17 +02:00
PilzAdam 7219622b7a
Add BlockMen to core dev list 2022-05-21 16:11:17 +02:00
sapier 47e416eab2
Fix game buttons not beeing 48x48 2022-05-21 16:11:16 +02:00
sapier ac7789908a
Fix crash updating gametype without game 2022-05-21 16:11:16 +02:00
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