3206 Commits

Author SHA1 Message Date
Perttu Ahola
ec37061ad3 Don't track liquids for rollback because of too much log 2012-07-27 02:46:54 +03:00
Perttu Ahola
97457f079f Properly rollback chat command triggered things 2012-07-27 02:37:04 +03:00
Perttu Ahola
3303470fbc Experimental-ish rollback functionality 2012-07-27 02:27:18 +03:00
Perttu Ahola
1608d1439a Working group-shapeless and multigroup recipes 2012-07-26 13:49:13 +03:00
Perttu Ahola
a68ac1a230 Restore focus to formspec menu when pressing a button 2012-07-25 18:28:40 +03:00
Perttu Ahola
0e8ad8b6b8 Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead 2012-07-25 18:05:31 +03:00
Perttu Ahola
4548b1cef5 Add special return value -1 to inventry callbacks 2012-07-25 16:52:00 +03:00
Perttu Ahola
ff59bdf9f4 Improve formspec positioning 2012-07-25 16:30:23 +03:00
Perttu Ahola
a1d678f021 Improve inventory callbacks a bit 2012-07-25 15:39:39 +03:00
Perttu Ahola
4183fdbe70 Remove special handling of creative mode 2012-07-25 14:07:45 +03:00
Perttu Ahola
1b2ae34ed4 Detached inventory callbacks and reworked node metadata callbacks 2012-07-25 02:36:54 +03:00
Perttu Ahola
c2cb98c1a6 Detached inventories 2012-07-24 20:57:17 +03:00
Perttu Ahola
305a52fdda builtin/item.lua: callbacks with copies of positions and nodes rather than recycle the same ones, which callbacks can modify 2012-07-24 17:46:17 +03:00
Perttu Ahola
b5b4cc17ea darkrose should work at a nuclear power plant.
It'd take years to figure out what caused the accident.
2012-07-24 16:36:50 +03:00
Perttu Ahola
223b04e396 Update minetestmapper.py to support ver. 24 and 25 2012-07-24 15:17:00 +03:00
Perttu Ahola
0a975204b2 Improve node timer format (map format version 25) and update mapformat.txt 2012-07-24 15:03:46 +03:00
Perttu Ahola
f7b06f5427 Add oldnode parameter to minetest.register_on_placenode callback 2012-07-23 20:44:56 +03:00
Perttu Ahola
277f9f9709 Fix building on top of (pointable && buildable_to) nodes 2012-07-23 20:42:08 +03:00
Perttu Ahola
c43c24b166 Describe node definition fields better in lua_api.txt 2012-07-23 20:17:44 +03:00
Perttu Ahola
992f5e5bdf Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua 2012-07-23 17:43:08 +03:00
Perttu Ahola
9676ccd7a5 Improve build configuration options 2012-07-23 15:23:33 +03:00
Perttu Ahola
2f0d7106d4 Update lua_api.txt a bit 2012-07-23 08:48:55 +03:00
Perttu Ahola
2c7babb397 Fix map deserialization and remove old serialization code 2012-07-23 08:18:39 +03:00
darkrose
92a389f848 Increase node id/param0 to 16 bits, leaving param2 always with 8 bits 2012-07-23 08:18:39 +03:00
darkrose
e5bebe42e9 Implement node timers 2012-07-23 08:18:37 +03:00
Perttu Ahola
56e361e135 Fix terrible grammar in comment! 2012-07-22 20:36:06 +03:00
Perttu Ahola
14d50e107f Fix compressZlib() 2012-07-22 20:29:09 +03:00
Perttu Ahola
d6998afda6 Test zlib wrapper's handling of large data 2012-07-22 20:27:55 +03:00
Perttu Ahola
390efc1c99 Tweak test.c overally a bit 2012-07-22 20:26:54 +03:00
Perttu Ahola
f1e67f44ca Formspec button_exit[] and image_button_exit[] 2012-07-22 17:40:48 +03:00
darkrose
ef29865c79 Doc updates for formspec 2012-07-22 17:40:48 +03:00
Perttu Ahola
243d9fb7d6 minetest.register_on_player_receive_fields() 2012-07-22 17:40:48 +03:00
darkrose
a3ba145339 Implement formspec 2012-07-22 17:40:41 +03:00
Matthew I
5f44ca0c1b Update Lua API documentation to include minetest.get_modnames() 2012-07-22 13:36:17 +03:00
Matthew I
64359d9cd8 Add "/mods" command to list mods to client 2012-07-22 13:36:10 +03:00
Matthew I
b320cc2d74 Add minetest.get_modnames() to Lua API 2012-07-22 13:36:03 +03:00
Perttu Ahola
b5aaf7f3ed Version 0.4.1 2012-07-21 23:14:23 +03:00
Andreas Zwinkau
9997cd71a0 Fix signedness warning in base64.cpp 2012-07-21 22:10:29 +03:00
Andreas Zwinkau
798215b07d Fix wctomb use
wctomb(NULL, _) returns "nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless."

I assume the intentation was to get the size of the target buffer.
Use MB_CUR_MAX for this.
2012-07-21 22:09:17 +03:00
Andreas Zwinkau
d30c891841 Remove mbtowc warnings
As mbtowc(_, _, 1) reads at most one char, everything other than a
return value of 1 is an error. Since the input strings are static,
an assert protects against future changes.

Likewise, wctomb should currently never encounter a character, which
actually needs a multibyte representation.
2012-07-21 22:08:20 +03:00
Perttu Ahola
75b4322729 Actually fix facedir-rotated nodes placed using minetest.env:place_node() 2012-07-21 21:23:15 +03:00
Matthew I
1fe9586810 Fix hovering after mining a block underneath you while sneaking 2012-07-21 20:56:56 +03:00
Perttu Ahola
2ad03149a0 Rotate facedir-rotated top and bottom textures too, and re-implement nodebox side rotation 2012-07-21 20:23:32 +03:00
Perttu Ahola
2e02c44521 Facedir rotation of nodebox textures 2012-07-21 18:59:12 +03:00
Perttu Ahola
414c84df64 Check whether node is known before reading definition in __builtin:item:on_step() 2012-07-21 16:36:14 +03:00
Bad-Command
c83cfb7c90 Fix signed overflow in getPointedThing 2012-07-21 16:13:51 +03:00
Perttu Ahola
4da1705e81 Fix typo in scriptapi.cpp in minetest.get_craft_recipe() 2012-07-21 15:32:46 +03:00
Perttu Ahola
abeb2a72f8 Server-side checking of digging; disable_anticheat setting 2012-07-21 14:38:49 +03:00
Perttu Ahola
6a9bc69da6 BITCH, THIS IS 0.4.0. 2012-07-21 03:37:07 +03:00
Perttu Ahola
5dd94a9b44 Define M_PI on MSVC 2012-07-21 03:36:34 +03:00