78 Commits

Author SHA1 Message Date
ShadowNinja
e2b44bca93 Don't throw a error when writing JSON fails 2013-12-18 18:18:43 -05:00
ShadowNinja
c24cde1d75 Add 'minetest.write_json' 2013-12-18 16:46:53 -05:00
ShadowNinja
4a8e393a79 Handle LuaErrors in Lua -> C++ calls on LuaJIT 2013-12-18 16:35:55 -05:00
kwolekr
85d7b64e2c Add map feature generation notify Lua API 2013-12-14 01:52:24 -05:00
stujones11
ace4953a52 Make line_of_sight return blocking node position 2013-12-12 16:11:00 -05:00
sapier
723f6e156a Implement search tab and version picker 2013-12-11 23:07:38 +01:00
kwolekr
632e68a71d Fix leak and possible segfault in minetest.set_mapgen_params 2013-12-08 01:37:41 -05:00
PilzAdam
8dae6c5967 Use a table in set_physics_override() 2013-12-03 23:20:00 +01:00
PilzAdam
844cac9e3a Add sneak and sneak_glitch to set_physics_override() 2013-12-03 23:20:00 +01:00
sapier
646c9837ff Fix broken async locking in release build 2013-12-03 17:50:00 +02:00
Sfan5
bb58d4f2fb Fix MinGW build 2013-12-01 20:58:46 +01:00
sapier
396602432c Cleanup jthread and fix win32 build 2013-12-01 16:25:46 +01:00
kwolekr
017876a37c Decoration: Add schematic Y-slice probability support 2013-12-01 01:24:59 -05:00
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