mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add sounds, tune things
This commit is contained in:
parent
77120a021d
commit
93219e3b9d
7 changed files with 201 additions and 44 deletions
|
@ -61,7 +61,7 @@ public:
|
|||
virtual void updateListener(v3f pos, v3f vel, v3f at, v3f up) = 0;
|
||||
|
||||
// playSound functions return -1 on failure, otherwise a handle to the
|
||||
// sound
|
||||
// sound. If name=="", call should be ignored without error.
|
||||
virtual int playSound(const std::string &name, bool loop,
|
||||
float volume) = 0;
|
||||
virtual int playSoundAt(const std::string &name, bool loop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue