mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
celeron55's sound system initial framework
This commit is contained in:
parent
9dd78a8a45
commit
c301e3c82a
12 changed files with 548 additions and 0 deletions
|
@ -49,6 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "base64.h"
|
||||
#include "tool.h"
|
||||
#include "utility_string.h"
|
||||
#include "sound.h" // dummySoundManager
|
||||
|
||||
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
|
||||
|
||||
|
@ -4270,6 +4271,10 @@ u16 Server::allocateUnknownNodeId(const std::string &name)
|
|||
{
|
||||
return m_nodedef->allocateDummy(name);
|
||||
}
|
||||
ISoundManager* Server::getSoundManager()
|
||||
{
|
||||
return &dummySoundManager;
|
||||
}
|
||||
|
||||
IWritableItemDefManager* Server::getWritableItemDefManager()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue