summaryrefslogtreecommitdiff
path: root/src/itemdef.h
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-03-25 23:59:17 +0100
committerPilzAdam <pilzadam@minetest.net>2013-03-29 20:14:18 +0100
commit5e7e0347cdae0cab3b7d003fbd3b22c7f820e703 (patch)
treefd7b2b8b1c9564ac0418570ab54238722d2b8880 /src/itemdef.h
parent7d9329ecfe84733cdefa34eab25ee3d124c94c59 (diff)
downloadminetest-5e7e0347cdae0cab3b7d003fbd3b22c7f820e703.tar.gz
minetest-5e7e0347cdae0cab3b7d003fbd3b22c7f820e703.tar.bz2
minetest-5e7e0347cdae0cab3b7d003fbd3b22c7f820e703.zip
Add different place sound for nodes
Diffstat (limited to 'src/itemdef.h')
-rw-r--r--src/itemdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/itemdef.h b/src/itemdef.h
index cbbe7e2ad..08c9c8358 100644
--- a/src/itemdef.h
+++ b/src/itemdef.h
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <iostream>
#include <set>
#include "itemgroup.h"
+#include "sound.h"
class IGameDef;
struct ToolCapabilities;
@@ -66,6 +67,7 @@ struct ItemDefinition
// May be NULL. If non-NULL, deleted by destructor
ToolCapabilities *tool_capabilities;
ItemGroupList groups;
+ SimpleSoundSpec sound_place;
// Client shall immediately place this node when player places the item.
// Server will update the precise end result a moment later.