Perttu Ahola [Sat, 1 Sep 2012 09:07:27 +0000 (12:07 +0300)]
Add disable_jump and fall_damage_add_percent node groups
Ilya Zhuravlev [Sun, 19 Aug 2012 21:29:56 +0000 (01:29 +0400)]
Add InventoryList width property & allow custom crafting grids.
sfan5 [Sun, 19 Aug 2012 11:15:42 +0000 (13:15 +0200)]
Make shift the default descent control on ladders and when flying
"aux1_descends" setting switches to the old descend control.
Perttu Ahola [Sat, 1 Sep 2012 06:23:39 +0000 (09:23 +0300)]
Don't crash in "unexpected multibyte character"; just print it in log. Github #222
Perttu Ahola [Fri, 31 Aug 2012 15:06:47 +0000 (18:06 +0300)]
Use proper alpha blit in some more texture modifiers
Perttu Ahola [Fri, 31 Aug 2012 14:58:55 +0000 (17:58 +0300)]
Properly initialize baseimg for texture modifier [combine:WxH:X,Y=filename:X,Y=filename2
Matthew I [Sun, 29 Jul 2012 01:41:32 +0000 (21:41 -0400)]
Fix black display inside opaque water
Opaque water's solidness was being set to 2, like a normal node.
When you swim, it is treated like a solid block, and the display
goes black. Setting it to 1 like transparent water allows you to
see.
It looks somewhat awkward when you swim, look up, and see an opaque
wall of water (the surface), but there isn't much that can be done
about it. If you made the water transparent so it looked good,
it would defeat the purpose :) .
Perttu Ahola [Sun, 19 Aug 2012 07:55:04 +0000 (10:55 +0300)]
Fix github issue #213: Dropping unknown items crashes the game
The items will now just disappear when dropped.
Perttu Ahola [Sun, 12 Aug 2012 14:11:23 +0000 (17:11 +0300)]
Fix crash when furnace is full (minimal game)
Matthew I [Sun, 22 Jul 2012 13:42:43 +0000 (09:42 -0400)]
Move chat commands to Lua and remove servercommand.{cpp,h}
Commands moved:
/me
/status
/time
/shutdown
/ban
/clearobjects
Matthew I [Wed, 1 Aug 2012 21:17:52 +0000 (17:17 -0400)]
Add ban management routines to Lua API
Those functions are:
* minetest.get_ban_list()
* minetest.get_ban_description(ip_or_name)
* minetest.ban_player(name)
* minetest.unban_player_or_ip(ip_or_name)
Matthew I [Sat, 28 Jul 2012 19:27:31 +0000 (15:27 -0400)]
Extend Lua API in order to implement chat commands
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
Matthew I [Sat, 28 Jul 2012 19:49:23 +0000 (15:49 -0400)]
Remove trailing comma after player list in server status string
Matthew I [Mon, 30 Jul 2012 13:45:26 +0000 (09:45 -0400)]
Allow digging of unknown nodes
This allows the removal of nodes with unknown types.
get_item_callback() (C++) would fail if a node has an unknown type. Now it
will try using the callback from minetest.nodedef_default in this case.
Also, minetest.node_dig() (Lua) was altered to always allow digging when
the node definition is empty (i.e. unknown node).
Perttu Ahola [Sun, 12 Aug 2012 12:49:06 +0000 (15:49 +0300)]
Fix wrong amount of nodes being dropped from inventory
darkrose [Fri, 10 Aug 2012 02:34:02 +0000 (12:34 +1000)]
fix node timers so on_timer gets the correct position
Perttu Ahola [Sun, 12 Aug 2012 08:09:38 +0000 (11:09 +0300)]
Remove unwanted ! from ifs in inventory record-for-rollback code
Perttu Ahola [Sat, 28 Jul 2012 13:31:45 +0000 (16:31 +0300)]
Call this 0.4.2-rc1
Perttu Ahola [Sat, 28 Jul 2012 11:44:18 +0000 (14:44 +0300)]
Fix inventory segfault when rollback recording is disabled
Perttu Ahola [Sat, 28 Jul 2012 00:08:09 +0000 (03:08 +0300)]
Add enable_rollback_recording setting, defaulting to false
Perttu Ahola [Fri, 27 Jul 2012 16:03:15 +0000 (19:03 +0300)]
Handle max<min in LuaPseudoRandom::l_next()
Perttu Ahola [Fri, 27 Jul 2012 12:46:51 +0000 (15:46 +0300)]
Tweak rollback and liquids
Perttu Ahola [Fri, 27 Jul 2012 11:52:29 +0000 (14:52 +0300)]
Tweak rollback stuff
Perttu Ahola [Fri, 27 Jul 2012 10:54:14 +0000 (13:54 +0300)]
Increase automatic suspect guess timeframe
Perttu Ahola [Fri, 27 Jul 2012 10:45:49 +0000 (13:45 +0300)]
ABM and liquid overload skip
Perttu Ahola [Fri, 27 Jul 2012 10:43:25 +0000 (13:43 +0300)]
Fix server build (a missing header)
Perttu Ahola [Fri, 27 Jul 2012 10:24:28 +0000 (13:24 +0300)]
Make the rollback system VERY FUCKING GOD DAMN POWERFUL
Perttu Ahola [Thu, 26 Jul 2012 23:46:54 +0000 (02:46 +0300)]
Don't track liquids for rollback because of too much log
Perttu Ahola [Thu, 26 Jul 2012 23:37:04 +0000 (02:37 +0300)]
Properly rollback chat command triggered things
Perttu Ahola [Thu, 26 Jul 2012 19:06:45 +0000 (22:06 +0300)]
Experimental-ish rollback functionality
Perttu Ahola [Thu, 26 Jul 2012 10:49:13 +0000 (13:49 +0300)]
Working group-shapeless and multigroup recipes
Perttu Ahola [Wed, 25 Jul 2012 15:28:40 +0000 (18:28 +0300)]
Restore focus to formspec menu when pressing a button
Perttu Ahola [Wed, 25 Jul 2012 14:59:37 +0000 (17:59 +0300)]
Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead
Perttu Ahola [Wed, 25 Jul 2012 14:10:31 +0000 (17:10 +0300)]
Add notice in the minimal game
Perttu Ahola [Wed, 25 Jul 2012 13:52:00 +0000 (16:52 +0300)]
Add special return value -1 to inventry callbacks
Perttu Ahola [Wed, 25 Jul 2012 13:30:23 +0000 (16:30 +0300)]
Improve formspec positioning
Perttu Ahola [Wed, 25 Jul 2012 11:35:59 +0000 (14:35 +0300)]
Improve inventory callbacks a bit
Perttu Ahola [Wed, 25 Jul 2012 11:07:45 +0000 (14:07 +0300)]
Remove special handling of creative mode
Perttu Ahola [Tue, 24 Jul 2012 23:36:54 +0000 (02:36 +0300)]
Detached inventory callbacks and reworked node metadata callbacks
Perttu Ahola [Tue, 24 Jul 2012 17:57:17 +0000 (20:57 +0300)]
Detached inventories
Perttu Ahola [Tue, 24 Jul 2012 14:46:17 +0000 (17:46 +0300)]
builtin/item.lua: callbacks with copies of positions and nodes rather than recycle the same ones, which callbacks can modify
Perttu Ahola [Tue, 24 Jul 2012 13:34:20 +0000 (16:34 +0300)]
darkrose should work at a nuclear power plant.
It'd take years to figure out what caused the accident.
Perttu Ahola [Tue, 24 Jul 2012 12:16:49 +0000 (15:16 +0300)]
Update minetestmapper.py to support ver. 24 and 25
Perttu Ahola [Tue, 24 Jul 2012 11:56:32 +0000 (14:56 +0300)]
Improve node timer format (map format version 25) and update mapformat.txt
Perttu Ahola [Tue, 24 Jul 2012 11:51:13 +0000 (14:51 +0300)]
Add node timer test in minimal/experimental
Perttu Ahola [Mon, 23 Jul 2012 17:44:56 +0000 (20:44 +0300)]
Add oldnode parameter to minetest.register_on_placenode callback
Perttu Ahola [Mon, 23 Jul 2012 17:41:40 +0000 (20:41 +0300)]
Fix building on top of (pointable && buildable_to) nodes
Perttu Ahola [Mon, 23 Jul 2012 17:17:44 +0000 (20:17 +0300)]
Describe node definition fields better in lua_api.txt
Perttu Ahola [Mon, 23 Jul 2012 14:43:08 +0000 (17:43 +0300)]
Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua
Perttu Ahola [Mon, 23 Jul 2012 12:23:33 +0000 (15:23 +0300)]
Improve build configuration options
Perttu Ahola [Mon, 23 Jul 2012 05:48:55 +0000 (08:48 +0300)]
Update lua_api.txt a bit
Perttu Ahola [Mon, 23 Jul 2012 04:20:13 +0000 (07:20 +0300)]
Fix map deserialization and remove old serialization code
darkrose [Tue, 17 Jul 2012 19:04:38 +0000 (05:04 +1000)]
Increase node id/param0 to 16 bits, leaving param2 always with 8 bits
darkrose [Tue, 17 Jul 2012 13:00:04 +0000 (23:00 +1000)]
Implement node timers
Perttu Ahola [Sun, 22 Jul 2012 17:35:32 +0000 (20:35 +0300)]
Fix terrible grammar in comment!
Perttu Ahola [Sun, 22 Jul 2012 17:29:09 +0000 (20:29 +0300)]
Fix compressZlib()
Perttu Ahola [Sun, 22 Jul 2012 17:27:55 +0000 (20:27 +0300)]
Test zlib wrapper's handling of large data
Perttu Ahola [Sun, 22 Jul 2012 17:26:54 +0000 (20:26 +0300)]
Tweak test.c overally a bit
Perttu Ahola [Sun, 22 Jul 2012 14:28:09 +0000 (17:28 +0300)]
Formspec button_exit[] and image_button_exit[]
darkrose [Thu, 19 Jul 2012 19:05:31 +0000 (05:05 +1000)]
Doc updates for formspec
Perttu Ahola [Sun, 22 Jul 2012 14:11:41 +0000 (17:11 +0300)]
Add /test1 command to minimal for testing a more complicated player inventory form
Perttu Ahola [Sun, 22 Jul 2012 14:10:58 +0000 (17:10 +0300)]
minetest.register_on_player_receive_fields()
darkrose [Sun, 15 Jul 2012 16:19:38 +0000 (02:19 +1000)]
Implement formspec
Matthew I [Sun, 22 Jul 2012 01:45:09 +0000 (21:45 -0400)]
Update Lua API documentation to include minetest.get_modnames()
Matthew I [Sun, 22 Jul 2012 01:41:27 +0000 (21:41 -0400)]
Add "/mods" command to list mods to client
Matthew I [Sun, 22 Jul 2012 01:29:37 +0000 (21:29 -0400)]
Add minetest.get_modnames() to Lua API
Perttu Ahola [Sat, 21 Jul 2012 20:14:23 +0000 (23:14 +0300)]
Version 0.4.1
Andreas Zwinkau [Wed, 4 Jul 2012 05:18:25 +0000 (07:18 +0200)]
Fix signedness warning in base64.cpp
Andreas Zwinkau [Tue, 3 Jul 2012 21:13:15 +0000 (23:13 +0200)]
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.
Andreas Zwinkau [Tue, 3 Jul 2012 21:11:06 +0000 (23:11 +0200)]
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.
Perttu Ahola [Sat, 21 Jul 2012 18:23:15 +0000 (21:23 +0300)]
Actually fix facedir-rotated nodes placed using minetest.env:place_node()
Matthew I [Tue, 26 Jun 2012 18:01:02 +0000 (14:01 -0400)]
Fix hovering after mining a block underneath you while sneaking
Perttu Ahola [Sat, 21 Jul 2012 17:23:32 +0000 (20:23 +0300)]
Rotate facedir-rotated top and bottom textures too, and re-implement nodebox side rotation
Perttu Ahola [Sat, 21 Jul 2012 15:59:12 +0000 (18:59 +0300)]
Facedir rotation of nodebox textures
Perttu Ahola [Sat, 21 Jul 2012 13:36:14 +0000 (16:36 +0300)]
Check whether node is known before reading definition in __builtin:item:on_step()
Bad-Command [Wed, 4 Jul 2012 19:06:19 +0000 (15:06 -0400)]
Fix signed overflow in getPointedThing
Perttu Ahola [Sat, 21 Jul 2012 12:32:46 +0000 (15:32 +0300)]
Fix typo in scriptapi.cpp in minetest.get_craft_recipe()
Perttu Ahola [Sat, 21 Jul 2012 11:38:49 +0000 (14:38 +0300)]
Server-side checking of digging; disable_anticheat setting
Perttu Ahola [Sat, 21 Jul 2012 00:37:07 +0000 (03:37 +0300)]
BITCH, THIS IS 0.4.0.
Perttu Ahola [Sat, 23 Jun 2012 13:06:03 +0000 (16:06 +0300)]
Define M_PI on MSVC
Perttu Ahola [Fri, 20 Jul 2012 23:56:50 +0000 (02:56 +0300)]
Add a random-ish contributor list to credit screen
darkrose [Sun, 15 Jul 2012 06:50:42 +0000 (16:50 +1000)]
Check for table type when reading groups from Lua
darkrose [Wed, 11 Jul 2012 18:46:10 +0000 (04:46 +1000)]
Add minetest.get_craft_recipe()
darkrose [Sat, 23 Jun 2012 17:10:17 +0000 (03:10 +1000)]
Add support for "textures/all" (and thus texture packs) to server
darkrose [Fri, 20 Jul 2012 16:41:14 +0000 (02:41 +1000)]
Make lava buckets work as fuel in minimal game
darkrose [Fri, 20 Jul 2012 17:07:01 +0000 (03:07 +1000)]
Remove trenches from map generator (cyisfor) (glitches: read below)
This causes glitches in very high cliffs by not making mud "flow" down from
them. Those are quite rare currently because of the lame height differences
generated.
Calinou [Sun, 24 Jun 2012 21:18:16 +0000 (23:18 +0200)]
Message cleanups (consistency) and prevent /me when not allowed to shout
darkrose [Fri, 20 Jul 2012 17:12:38 +0000 (03:12 +1000)]
Handle nil placer as it might occur when using minetest.env:place_node. (Uberi)
Perttu Ahola [Thu, 19 Jul 2012 18:17:31 +0000 (21:17 +0300)]
Remove util/old/genmap.py, because it is uselessly old
Perttu Ahola [Thu, 19 Jul 2012 11:09:16 +0000 (14:09 +0300)]
Allow defining player's inventory form in Lua
Perttu Ahola [Mon, 18 Jun 2012 21:50:07 +0000 (00:50 +0300)]
Fix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)
Perttu Ahola [Sun, 17 Jun 2012 21:21:23 +0000 (00:21 +0300)]
Fix random glitches in transparent animations
Perttu Ahola [Sun, 17 Jun 2012 16:47:55 +0000 (19:47 +0300)]
Add pointed_thing to lua_api.txt
Perttu Ahola [Sun, 17 Jun 2012 15:05:13 +0000 (18:05 +0300)]
Hopefully fix includes on mingw
Perttu Ahola [Sun, 17 Jun 2012 14:49:12 +0000 (17:49 +0300)]
Increment protocol version
Perttu Ahola [Sun, 17 Jun 2012 14:23:58 +0000 (17:23 +0300)]
Explain node boxes in lua_api.txt
Kahrl [Mon, 19 Mar 2012 03:25:09 +0000 (04:25 +0100)]
Custom boxy nodes (stairs, slabs) and collision changes
Perttu Ahola [Sun, 17 Jun 2012 01:00:31 +0000 (04:00 +0300)]
Optimize headers
Perttu Ahola [Sat, 16 Jun 2012 23:40:36 +0000 (02:40 +0300)]
Properly and efficiently use split utility headers
Perttu Ahola [Sat, 16 Jun 2012 22:29:13 +0000 (01:29 +0300)]
Initially split utility.h to multiple files in util/