2455 Commits

Author SHA1 Message Date
Perttu Ahola
f025f43d72 Fix wielditem entity drawtype brightness control 2012-09-09 13:26:52 +03:00
Perttu Ahola
61ea35ecb9 Fix ObjectRef:punch() 2012-09-09 12:05:38 +03:00
Ilya Zhuravlev
0933c02893 Add liquid_renewable property. 2012-09-07 20:48:12 +04:00
Perttu Ahola
efe33d37b5 Version 0.4.3 2012-09-05 01:31:06 +03:00
Matthew I
382c968e07 Prevent world creation if the world already exists 2012-09-05 01:17:44 +03:00
Matthew I
cbe9f3b4e3 Enforce stricter world names using a blacklist
Blacklisted characters are: / \
2012-09-05 01:17:28 +03:00
Perttu Ahola
0b585dc311 Add aux1_descends to key change menu 2012-09-05 00:55:19 +03:00
Perttu Ahola
de5b589321 Version 0.4.3-rc0; increase PROTOCOL_VERSION due to backwards-incompatible InventoryList width field 2012-09-05 00:39:43 +03:00
Perttu Ahola
235178c09d Remove "Unknown inventory identifier" deserialization errors, because they can break forward compatibility 2012-09-04 23:02:56 +03:00
Perttu Ahola
22f8ca992b Reorganize ClientMap rendering code for a bit more performance
- Don't select blocks for drawing in every frame
- Sort meshbuffers by material before drawing
2012-09-04 22:41:03 +03:00
Perttu Ahola
45320db840 Fix shift-descend to ladders from a floor 2012-09-03 23:31:51 +03:00
Perttu Ahola
8a5debac9b Fix moving stuff into a mismatched stack in a "infinite" inventory 2012-09-02 23:01:42 +03:00
Perttu Ahola
c10d6f12a9 Make inventory GUI do sane things when server-side inventory acts unusually 2012-09-02 22:51:38 +03:00
Perttu Ahola
787c49f0e7 Fix bug in moving a larger sized stack in inventory on top of another
- You have 2 stacks: a with x items and b with y<x items
- Take a with your mouse and place it on b
- Whole stack a moves to b
- (y * 2 - x) items move from b to a
- (x - y) items are left to the mouse cursor
2012-09-02 20:24:45 +03:00
Perttu Ahola
debbe86ac9 Add overridable function for handling dropped items from nodes 2012-09-02 19:38:44 +03:00
Perttu Ahola
1db74a160f Fix github issue #224 2012-09-01 18:32:15 +03:00
Thomas Lauro
ea4fd9b1a0 Fix issue with openal mac os x compile 2012-09-01 18:19:59 +03:00
Perttu Ahola
e3f96af529 Fix GUIKeyChangeMenu so that '/' can be inserted on a finnish keyboard 2012-09-01 18:03:50 +03:00
Thomas Lauro
5e5abd845a A bunch of GUIKeyChangeMenu fixes
- Display message when associating a key already in use
- Fix issue for not beeing able to assign space to an action
- Cleaning up
- Make it build (by celeron55)
2012-09-01 18:03:40 +03:00
Perttu Ahola
4796440b78 Attempt to fix flying gravel and dirt 2012-09-01 13:41:15 +03:00
Sergey Gilfanov
ddf33bba16 Smooth transition to the desert biome. 2012-09-01 13:22:07 +03:00
Perttu Ahola
9a70e84286 Fix the bouncy node related stuff a bit 2012-09-01 13:21:52 +03:00
Perttu Ahola
07526467af Add bouncy node group 2012-09-01 12:58:37 +03:00
Perttu Ahola
c0ad363af7 Add disable_jump and fall_damage_add_percent node groups 2012-09-01 12:07:27 +03:00
Ilya Zhuravlev
d7cc000a0c Add InventoryList width property & allow custom crafting grids. 2012-09-01 10:01:41 +03:00
sfan5
5ef2bb1412 Make shift the default descent control on ladders and when flying
"aux1_descends" setting switches to the old descend control.
2012-09-01 09:48:07 +03:00
Perttu Ahola
1f8abe739a Don't crash in "unexpected multibyte character"; just print it in log. Github #222 2012-09-01 09:23:39 +03:00
Perttu Ahola
e4cc7d7de9 Use proper alpha blit in some more texture modifiers 2012-08-31 18:06:47 +03:00
Perttu Ahola
a7b4fc10aa Properly initialize baseimg for texture modifier [combine:WxH:X,Y=filename:X,Y=filename2 2012-08-31 17:58:55 +03:00
Matthew I
ffc11a4d8c 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 :) .
2012-08-31 17:50:12 +03:00
Perttu Ahola
70f1f66652 Fix github issue #213: Dropping unknown items crashes the game
The items will now just disappear when dropped.
2012-08-19 10:55:04 +03:00
Matthew I
d812f4de81 Move chat commands to Lua and remove servercommand.{cpp,h}
Commands moved:
 /me
 /status
 /time
 /shutdown
 /ban
 /clearobjects
2012-08-12 16:45:58 +03:00
Matthew I
72434bfb6a 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)
2012-08-12 16:45:58 +03:00
Matthew I
cf6e79e220 Extend Lua API in order to implement chat commands
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
2012-08-12 16:44:55 +03:00
Matthew I
a85321a7a3 Remove trailing comma after player list in server status string 2012-08-12 16:44:54 +03:00
Matthew I
32b064eb21 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).
2012-08-12 16:04:18 +03:00
Perttu Ahola
d7f8cdd07a Fix wrong amount of nodes being dropped from inventory 2012-08-12 15:49:23 +03:00
darkrose
2abd5d337a fix node timers so on_timer gets the correct position 2012-08-12 15:28:31 +03:00
Perttu Ahola
ecff847d29 Remove unwanted ! from ifs in inventory record-for-rollback code 2012-08-12 11:20:36 +03:00
Perttu Ahola
95f8afeb24 Call this 0.4.2-rc1 2012-07-28 16:31:45 +03:00
Perttu Ahola
e6e88c5ce7 Fix inventory segfault when rollback recording is disabled 2012-07-28 14:44:18 +03:00
Perttu Ahola
b39e2b3549 Add enable_rollback_recording setting, defaulting to false 2012-07-28 03:08:09 +03:00
Perttu Ahola
610559f194 Handle max<min in LuaPseudoRandom::l_next() 2012-07-27 19:03:15 +03:00
Perttu Ahola
165a21a4a6 Tweak rollback and liquids 2012-07-27 15:46:51 +03:00
Perttu Ahola
a601ec84ab Tweak rollback stuff 2012-07-27 14:52:29 +03:00
Perttu Ahola
1121f3845f Increase automatic suspect guess timeframe 2012-07-27 13:54:14 +03:00
Perttu Ahola
ce5dec2993 ABM and liquid overload skip 2012-07-27 13:45:49 +03:00
Perttu Ahola
66aae0c002 Fix server build (a missing header) 2012-07-27 13:43:25 +03:00
Perttu Ahola
dcfd402697 Make the rollback system VERY FUCKING GOD DAMN POWERFUL 2012-07-27 13:24:28 +03:00
Perttu Ahola
ec37061ad3 Don't track liquids for rollback because of too much log 2012-07-27 02:46:54 +03:00