Commit Graph

295 Commits (5884236046c4405eec7cfc12cdde0be9f48058b6)

Author SHA1 Message Date
ShadowNinja 1b5b6fe692 Add pointed_thing to minetest.register_on_placenode
As suggested by qwrwed.
2014-01-21 22:06:40 -05:00
PilzAdam 4585e855a7 Fix minetest.rotate_and_place() calling on_rightclick() with nil/random param for node 2014-01-19 23:16:22 +01:00
Dániel Varga 66b24cc9ff 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.
2014-01-18 10:41:43 +01:00
ShadowNinja 5434d87da2 Fix spelling of "attempt" 2014-01-13 22:11:31 -05:00
ShadowNinja 574ed6a363 Add minetest.override_item 2014-01-13 21:41:00 -05:00
Kahrl 8966c16ad2 Add formspec table 2014-01-13 18:11:08 -05:00
Novatux 676f34a02b Fix doc and forceloading crash. 2014-01-12 14:31:32 +01:00
Novatux 84b94eb198 Add forceloading 2014-01-11 17:54:00 +01:00
Novatux e21b29f422 Deepcopy pointed_thing for after_place_node, give it to on_rightclick too. 2014-01-11 17:23:28 +01:00
ShadowNinja c46574f30f Pass pointed_thing to after_place_node 2014-01-06 21:25:10 -05:00
ShadowNinja 9551f651cb Add protection support to auto-rotated nodes 2014-01-06 21:25:10 -05:00
ShadowNinja 811ea6cfc0 Prevent auto-rotated nodes replacing the nodes they are placed on 2014-01-06 21:25:10 -05:00
PilzAdam 3e728e722a Escape error messages in error dialog 2014-01-06 18:59:14 +01:00
Perttu Ahola 86c616a545 Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line 2014-01-06 02:37:36 +02:00
Ilya Zhuravlev b8c3221d55 Fix absence of images when compiled with RUN_IN_PLACE=0. 2014-01-05 12:43:40 +02:00
Novatux 8e1d78e9de Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."
This reverts commit 4e5760a541.
2013-12-30 18:45:34 +01:00
kaeza 33de69a173 Add 'on_prejoinplayer' callback 2013-12-12 13:42:14 -05:00
sapier 4ccaa6d0af Implement search tab and version picker 2013-12-11 23:07:38 +01:00
ShadowNinja a0dce51af6 Move script_run_callbacks to Lua 2013-12-07 22:03:07 -05:00
ShadowNinja 000da6b25d Only create one alias metatable 2013-12-04 14:31:55 -05:00
RealBadAngel 2330267d22 Shaders rework. 2013-12-03 18:55:25 +01:00
0gb.us e605d70256 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.
2013-11-30 13:22:50 -05:00
kwolekr 9a927476ca 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
2013-11-30 02:37:10 -05:00
sapier 2e66aca357 Fix modstore/favourites hang by adding asynchronous lua job support 2013-11-29 22:09:14 +01:00
sapier b08d7558de Split server/client port setting to avoid port number clashes in mainmenu 2013-11-28 21:43:06 +01:00
ShadowNinja 7433d65d3e Rollback fixes and get_node_actions 2013-11-27 18:13:06 -05:00
sapier 16bd368374 Temporary disable local install button due to irrlicht dialog breaking localization 2013-11-24 02:15:25 +01:00
Novatux 83f1d9ae6b Fix my name (doesn't display correctly because of utf8 characters) 2013-11-23 20:05:07 +01:00
Sfan5 374e68d205 Fix rename modpack button not working, fixes #1019 2013-11-23 19:06:35 +01:00
Sfan5 ee0b8da844 Prevent enabling Shaders if Direct3D is used 2013-11-23 15:41:47 +01:00
ShadowNinja e52d811110 Fix usage of 'minetest' where 'engine' was intended 2013-11-21 21:24:04 -05:00
BlockMen 0c8bf7cf94 Fix modmanager screenshot path 2013-11-19 15:39:40 +01:00
kwolekr 86ef7147b6 Fix issue #1009 (minetest.get_connected_players() returns non-existing players) 2013-11-17 15:15:59 -05:00
PilzAdam 367b5382a3 Replace print()s with minetest.log() in builtin 2013-11-17 12:11:44 +01:00
sapier 0f9440fa61 Fix "TODO read modinfo" in modmanager to improve ui usability 2013-11-10 19:37:45 +01:00
PilzAdam 0aeecf3f7f Add BlockMen to core dev list 2013-11-09 14:28:00 +01:00
sapier b6bb3ffec4 Fix game buttons not beeing 48x48 2013-11-09 13:58:57 +01:00
sapier 7bd30b59ee Fix crash updating gametype without game 2013-11-09 13:30:44 +01:00
4Evergreen4 1d856b734b Add wrapper for minetest.rotate_and_place. 2013-11-07 20:14:26 -05:00
Cy 3d63492f50 Don't assert scalars must be vectors. 2013-11-06 23:16:49 -05:00
Vanessa Ezekowitz 8ad052881c Fix orient_flags to be optional. 2013-11-06 22:23:00 -05:00
Vanessa Ezekowitz d886f34003 Add 6d facedir rotation prediction routine 2013-11-06 21:08:36 -05:00
kwolekr 2e89209cf1 Add seed entry to world creation dialog 2013-11-05 00:00:01 -05:00
BlockMen 25edae00ea Reworked formspecs and kahrl's hexcolor parser 2013-11-03 22:14:37 +01:00
ShadowNinja 06a5eceb81 Add basic protection support to builtin 2013-11-02 14:01:10 -04:00
Novatux 69a59f1e41 Move the sapling growing and grass adding/removing ABMs to Lua 2013-11-02 10:50:11 +01:00
ShadowNinja b1c82f332c Add my email address to the main menu credits 2013-11-01 16:30:30 -04:00
ShadowNinja fba2650e39 Add more checks to vector functions 2013-11-01 13:16:07 -04:00
BlockMen 1cbba877ff Don't remove background of games in submenus 2013-11-01 16:46:25 +01:00
0gb.us 53ab2f8def Fixed ignoring of "diggable" property of nodes. 2013-11-01 10:58:41 -04:00
Novatux bd6d4666ab 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)
2013-11-01 15:55:34 +01:00
ShadowNinja 2f10cfb226 Made unknown nodes stop falling nodes properly and shorten lines 2013-11-01 10:33:29 -04:00
Novatux 6e17503208 Move new core devs to the "Core Developpers" section of mainmenu. 2013-11-01 12:27:50 +01:00
ShadowNinja e232f7311f Add sanity checks to vector functions 2013-10-17 09:42:57 +03:00
ShadowNinja 12504a18ec Remove vector metatable setting
This not only makes the vector functions faster, but also makes them more
consistent with other functions.
2013-10-17 09:41:01 +03:00
Novatux 34e0a0ca0f Add tool callback 2013-10-16 21:58:29 +04:00
Novatux 4e5760a541 Fix minetest.facedir_to_dir when param2 is 5 or 7. 2013-10-16 21:55:01 +04:00
fairiestoy 2170c9958a 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.
2013-10-01 15:03:03 +02:00
PilzAdam 731392866f Allow to manually specify param2 in minetest.item_place() and return success 2013-09-28 23:46:48 +02:00
Kahrl 3c4734d69a 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".
2013-09-11 00:08:56 +02:00
sapier 681e136d5f Fix bug: texture pack not overriding default menu textures 2013-09-10 22:51:27 +02:00
PilzAdam e0f9f15d1d Use engine.is_yes() in mainmenu 2013-09-10 21:38:50 +02:00
PilzAdam 214da7bef9 Use the Settings Lua interface to read world.mt 2013-09-10 21:38:49 +02:00
Sfan5 1f3402e7a1 Prevent ModMgr from deleting backend setting in world.mt 2013-09-09 22:50:51 +02:00
sapier 8489980039 Add sanity check to sort function 2013-09-05 01:45:39 +02:00
sapier 5b518ed2fe Add backtrace to error function 2013-09-04 12:19:26 +02:00
Ilya Zhuravlev 82e1ab7b2b Add escaping to world list in main menu (fixes #896). 2013-08-29 16:12:16 +04:00
Kahrl 4242782dc2 World config dialog: Use engine determined path for game mods 2013-08-19 15:49:36 +02:00
Kahrl 8548bb75b6 GUIFormSpecMenu focus fixes 2013-08-19 15:49:36 +02:00
Kahrl 392689e7ba Fix trailing nils being dropped by deprecated minetest.env handler 2013-08-18 15:15:33 +02:00
sapier 09a50d0458 Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00
Novatux 4095e8f383 Fix modstore pagecount 2013-08-16 17:54:19 +02:00
Novatux a2380bf76f Use get_texturepath() instead of get_gamepath()/../textures 2013-08-16 17:44:39 +02:00
PilzAdam b94f18298d Sort modlist alphabetically 2013-08-16 02:09:45 +02:00
PilzAdam d52185c43e Add ability to activate mods with doubleclick (remove old_style_mod_selection) 2013-08-16 01:04:37 +02:00
Novatux 7921fe2cd1 Fix formspec escaping, add escaping to info.txt for texture packs. 2013-08-15 22:12:51 +02:00
Kahrl 4e1f50035e Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
Ilya Zhuravlev 6228d634fb Fix my name. 2013-08-14 20:35:38 +04:00
PilzAdam 0d60bc55e4 Dont download modstore info if its isnt needed 2013-08-10 13:35:38 +02:00
Novatux 779165144e Simplify code of mainmenu world sort 2013-08-06 18:33:23 +02:00
BlockMen 7b13d119ed Add support for different drowning damage and allow drowning in other nodetypes 2013-08-06 17:49:39 +02:00
PilzAdam ba65e2ae6c Fix worldlist in servertab being filtered by selected game 2013-08-06 17:28:51 +02:00
Novatux 14eab22d81 Add minetest.registered_biomes 2013-08-06 13:24:54 +02:00
PilzAdam 3fd84edb61 Dont show gamefilter in TP tab 2013-08-04 18:37:19 +02:00
Novatux 383153419b Add texture pack selection to main menu 2013-08-04 16:52:30 +02:00
Perttu Ahola 8831669505 Allow mods to listen to cheat detections using minetest.register_on_cheat() 2013-08-04 00:45:49 +03:00
PilzAdam 4fb4efd8ed Play sounds/main_menu.ogg in menu 2013-07-28 23:29:03 +02:00
proller 037e84d377 Better snow fall, finite liquid transform, leveled nodes api 2013-07-28 17:14:31 +04:00
proller 3aedfac968 Weather support 2013-07-27 23:21:48 +04:00
sapier 215e37aac3 Show portnumber for ip adresses only 2013-07-25 12:58:14 +02:00
hdastwb a0f5b70568 added (optional) support for 6d facedir in dir_to_facedir and added facedir_to_dir 2013-07-24 00:31:32 +02:00
sapier 4f3bc05a5b Fix enable mod/enable button not shown on entering world config dialog 2013-07-22 18:10:00 +02:00
sapier b3db44f801 Fix bug in world creation
Add old style mod selection in worldconfig dialog
2013-07-22 18:10:00 +02:00
sapier 4e2b394ae8 Add missing header/footer for singleplayer tab 2013-07-22 18:10:00 +02:00
sapier e7ba4777fe Remove debug output 2013-07-22 18:10:00 +02:00
sapier 60225be7fa Fix Bug in modname guessing resulting in undefined modname 2013-07-22 18:10:00 +02:00
sapier 32001d1e2b merge mainmenu_helper.lua to misc_helpers.lua 2013-07-22 18:10:00 +02:00
sapier e3827fbc23 Fix background/overlay/footer/header handling
Add missing file headers
2013-07-22 18:10:00 +02:00
sapier d6c052038f Add playernumber to favorites list 2013-07-22 18:09:59 +02:00
sapier 8a1658ec3e filterlist api cleanup 2013-07-22 18:09:59 +02:00