mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
69 lines
1.8 KiB
C
69 lines
1.8 KiB
C
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#ifndef SBCLIENT_SOUND_H
|
|
#define SBCLIENT_SOUND_H
|
|
|
|
//
|
|
// Includes
|
|
//
|
|
|
|
#include <nel/misc/types_nl.h>
|
|
#include <nel/misc/config_file.h>
|
|
|
|
#include <nel/sound/u_audio_mixer.h>
|
|
#include <nel/sound/u_listener.h>
|
|
#include <nel/sound/u_source.h>
|
|
|
|
#include "snowballs_client.h"
|
|
#include "entities.h"
|
|
|
|
//
|
|
// Defines
|
|
//
|
|
|
|
//#define SBCLIENT_MUSIC_WAIT (0), (0)
|
|
//#define SBCLIENT_MUSIC_LOGIN (1), (0)
|
|
//#define SBCLIENT_MUSIC_BACKGROUND (2), (0)
|
|
//#define SBCLIENT_MUSIC_BACKGROUND_BEAT (2), (1)
|
|
|
|
//
|
|
// External variables
|
|
//
|
|
|
|
//extern NLSOUND::UAudioMixer *AudioMixer;
|
|
//extern NLSOUND::TSoundId SoundId;
|
|
//
|
|
////
|
|
//// External functions
|
|
////
|
|
//
|
|
//void playMusic(sint32 playlist, sint32 track);
|
|
//void setMusicVolume(sint32 playlist, float volume);
|
|
//
|
|
//void initSound();
|
|
//void updateSound();
|
|
//void releaseSound();
|
|
//
|
|
//// Set and play a sound on an entity
|
|
//void playSound(CEntity &entity, NLSOUND::TSoundId id);
|
|
//
|
|
//// Remove the sound system link to the entity
|
|
//void deleteSound(CEntity &entity);
|
|
|
|
#endif // SBCLIENT_SOUND_H
|
|
|
|
/* End of sound.h */ // duh
|