From c301e3c82af4ad384f4baaa8244b3a5f26da5213 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 23 Mar 2012 12:05:17 +0200 Subject: celeron55's sound system initial framework --- src/gamedef.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gamedef.h') diff --git a/src/gamedef.h b/src/gamedef.h index 10ab0b0bc..91bcc0e65 100644 --- a/src/gamedef.h +++ b/src/gamedef.h @@ -27,6 +27,7 @@ class IItemDefManager; class INodeDefManager; class ICraftDefManager; class ITextureSource; +class ISoundManager; /* An interface for fetching game-global definitions like tool and @@ -46,6 +47,8 @@ public: // pointers in other threads than main thread will make things explode. virtual ITextureSource* getTextureSource()=0; + virtual ISoundManager* getSoundManager()=0; + // Used for keeping track of names/ids of unknown nodes virtual u16 allocateUnknownNodeId(const std::string &name)=0; @@ -54,6 +57,7 @@ public: INodeDefManager* ndef(){return getNodeDefManager();} ICraftDefManager* cdef(){return getCraftDefManager();} ITextureSource* tsrc(){return getTextureSource();} + ISoundManager* sound(){return getSoundManager();} }; #endif -- cgit v1.2.3