22 #ifndef WATCHMAKER_LL_SOUND_H 23 #define WATCHMAKER_LL_SOUND_H 25 #include "watchmaker/types.h" 30 typedef unsigned int sU32;
31 typedef signed int sS32;
32 typedef unsigned short sU16;
34 #define SOUND_NAME_LEN 100 36 #define SOUND_SPEECH 32 46 sF32 flRoomRolloffFactor;
50 sF32 flReflectionsDelay;
54 sF32 flEnvironmentSize;
55 sF32 flEnvironmentDiffusion;
56 sF32 flAirAbsorptionHF;
61 char name[SOUND_NAME_LEN];
67 sV3F v3flConeOrientation;
68 sU32 dwConeInsideAngle;
69 sU32 dwConeOutsideAngle;
70 sS32 dwConeOutsideVolume;
75 sF32 flDistanceFactor;
76 sV3F v3flFrontOrientation;
77 sV3F v3flTopOrientation;
82 bool sSetListener(
sListener *NewListener);
83 bool sStartSound(
sSound *CurSound,
bool Reload);
84 bool sStopSound(int32 index);
85 bool sStopAllSounds();
86 bool sIsPlaying(sS32 lIndex);
88 bool mInitMusicSystem();
89 bool mCloseMusicSystem();
90 bool mLoadMusic(
const char *FileName);
91 bool mPlayMusic(
const char *FileName);
93 bool mRestoreMixerVolume();
95 bool mSetAllVolume(
unsigned char Volume);
96 bool sSetAllSoundsVolume(
unsigned char Vol);
97 bool sSetAllSpeechVolume(
unsigned char Vol);
98 bool sStartSoundDiffuse(
sSound *CurSound);
102 #endif // WATCHMAKER_LL_SOUND_H Definition: 2d_stuff.h:30
Definition: ll_sound.h:38
Definition: ll_sound.h:60
Definition: ll_sound.h:74
Definition: ll_sound.h:42