From 6c14025b2d416105915440e114de927c26e925ac Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 23 Mar 2012 20:23:03 +0200 Subject: Add event manager and use it to trigger sounds --- src/nodedef.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/nodedef.h') diff --git a/src/nodedef.h b/src/nodedef.h index 2842b81e7..3a0d0675f 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef NODEDEF_HEADER #define NODEDEF_HEADER -#include "common_irrlicht.h" +#include "irrlichttypes.h" #include #include #include @@ -29,6 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "tile.h" #endif #include "itemgroup.h" +#include "sound.h" // SimpleSoundSpec class IItemDefManager; class ITextureSource; class IGameDef; @@ -200,6 +201,9 @@ struct ContentFeatures // Set to true if wall_mounted used to be set to true bool legacy_wallmounted; + // Sound properties + SimpleSoundSpec sound_footstep; + /* Methods */ -- cgit v1.2.3