65 Commits

Author SHA1 Message Date
ShadowNinja
6ed9bc0eb2 Add error handler to async step 2013-11-30 13:05:13 -05:00
ShadowNinja
2741a7e6e0 Optimize table creation 2013-11-30 13:05:13 -05:00
Novatux
92d806ab21 Add minetest.swap_node 2013-11-30 18:37:56 +01:00
Ilya Zhuravlev
0bac74a9a4 Fix MSVC build. 2013-11-30 21:00:18 +04:00
kwolekr
5b10914dcd LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, made optional this time; also fixed a slight bug with night values being ignored 2013-11-30 00:27:39 -05:00
kwolekr
876a1eb687 LuaVoxelManip: Add get_light_data() and set_light_data() 2013-11-30 00:01:43 -05:00
MetaDucky
7086a6c35b Fixed potential NULL pointer and leak when setting node metadata 2013-11-29 23:35:16 -05:00
sapier
3520139afe Fix broken thread stop handling 2013-11-30 02:15:31 +01:00
sapier
4afa10f33a Fix old gcc build 2013-11-29 23:36:18 +01:00
sapier
b1a9e58d6a Fix modstore/favourites hang by adding asynchronous lua job support 2013-11-29 22:09:14 +01:00
ShadowNinja
1b1e315a6a Rollback fixes and get_node_actions 2013-11-27 18:13:06 -05:00
sapier
160348a0ec Fix line_of_sight (AGAIN) 2013-11-25 00:04:05 +01:00
kwolekr
f22eea5c88 LuaVoxelManip: Update parameter index of set_lighting() 2013-11-21 00:45:17 -05:00
kwolekr
f1ebd47d5f Fix issue #1009 (minetest.get_connected_players() returns non-existing players) 2013-11-17 15:15:59 -05:00
kwolekr
9d7840d6c7 Decoration: Stop DecoSimple::resolveNodeNames from complaining about no node name if decolist is used
Fix warning message for spawnby nodes

Prevent type-punning warning caused by casting enum to int
2013-11-17 02:22:24 -05:00
sapier
cab1a45764 Fix invalid listname and listsize not handled correctly in set_size 2013-11-16 15:52:41 +01:00
ShadowNinja
5cb34cf9dd Pass a errfunc to lua_pcall to get a traceback 2013-11-15 14:13:31 -05:00
sapier
a0f5cd74d0 Fix invalid usage of temporary object in mainmenu json conversion 2013-11-11 23:23:58 +01:00
PilzAdam
714d83e833 Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStack 2013-09-28 23:46:48 +02:00
Kahrl
99ae783310 Show git hash in version string at top left corner of window 2013-09-28 21:30:17 +02:00
kwolekr
260d16200b Re-fix hud_change stat argument retrieval
Conflicts:
	src/script/lua_api/l_object.cpp
2013-09-26 04:39:10 +02:00
kwolekr
4a3d0d8569 Fix some warnings and other minor details 2013-09-16 23:52:42 -04:00
kwolekr
d8e65be2d3 Weather: Clean up getHeat/getHumidity somewhat 2013-09-16 23:33:53 -04:00
PilzAdam
56f58ccf3b Allow non-string arguments for minetest.is_yes() 2013-09-10 21:38:44 +02:00
PilzAdam
14d20ac1a4 Add Settings interface for Lua 2013-09-10 18:31:38 +02:00
Novatux
b8ccaf35f4 Add minetest.get_gametime() API function, that returns the number of seconds since the world was created. 2013-09-08 11:09:50 +02:00
PilzAdam
49f6e00cf3 Use player:set_hotbar_image() instead of hardcoded hotbar.png 2013-09-05 00:21:16 +02:00
Kahrl
1f772a3890 Add minetest.parse_json, engine.parse_json 2013-09-02 02:20:08 +02:00
BlockMen
78c035708b Fix umlauts/special character issue in lua gettext 2013-08-19 22:23:41 +02:00
Kahrl
416531bf72 Allow SIGINT to kill mainmenu again 2013-08-19 15:49:36 +02:00
sapier
281dc6a502 Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
kwolekr
6aa6aaf3f3 Decoration: Fix schematic probability mess with new MTS file version 2013-08-11 15:34:49 -04:00
PilzAdam
62dc2c0c8f Add replacements to schematics 2013-08-03 03:22:14 +02:00
PilzAdam
cfa86dbd0b Allow multiple 'wherein' nodes in oredef 2013-08-02 00:55:16 +02:00
proller
d2cbeba8b6 Better snow fall, finite liquid transform, leveled nodes api 2013-07-28 17:14:31 +04:00
proller
cdb2b82262 Weather support 2013-07-27 23:21:48 +04:00
RealBadAngel
b737eaa357 Add set_breath and get_breath to lua API. 2013-07-20 20:34:11 +02:00
Kahrl
03631ae5f7 Change ContentFeatures array to a vector 2013-07-14 23:06:31 +02:00
kwolekr
fe13fd78c3 LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects 2013-07-06 15:12:40 -04:00
kwolekr
4b906fa7ef Mapgen V7: Huge rewrite, also tweaks to cavegen et al. 2013-07-06 02:21:54 -04:00
kwolekr
5fa252aa8b Decoration: Add schematic rotation support 2013-07-01 18:04:51 -04:00
kwolekr
ee2d8bc482 LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates 2013-06-29 22:23:00 -04:00
kwolekr
5f60730da4 Apply various fixes to several things 2013-06-27 22:35:35 -04:00
kwolekr
0e1e60e195 LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map 2013-06-27 22:35:35 -04:00
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
kwolekr
700c16fba1 Add Lua PerlinNoiseMap:get#dMap_flat API 2013-06-27 22:35:35 -04:00
kwolekr
f9c5ed3c7b Add minetest.get_mapgen_object to API 2013-06-27 22:35:35 -04:00
kwolekr
669194d224 Add LuaVoxelManip 2013-06-27 22:35:35 -04:00
kwolekr
9f0d413e30 Decoration: Add support for zero probability, fix breakage from last commit 2013-06-22 20:49:01 -04:00