X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fsound.h;h=4b17f3acd8b5c9bc3ebd73a07a152b3bad10c758;hp=02431c4593d136232c0cd93a72ec05d7273f5458;hb=e5c5bf5c4a76a04f9bf64e92227bf2ef969fd25c;hpb=823bddb0d9cc63ddda17a2cd20266aa3b82bde38 diff --git a/src/sound.h b/src/sound.h index 02431c45..4b17f3ac 100644 --- a/src/sound.h +++ b/src/sound.h @@ -14,8 +14,8 @@ #ifndef SOUND_H #define SOUND_H -#include "main.h" #include +#include "main.h" #ifdef linux #include @@ -138,11 +138,11 @@ struct SoundControl int nr; int volume; int stereo; - BOOL active; - BOOL loop; - BOOL fade_sound; - BOOL stop_sound; - BOOL stop_all_sounds; + boolean active; + boolean loop; + boolean fade_sound; + boolean stop_sound; + boolean stop_all_sounds; int playingtime; long playingpos; long data_len; @@ -162,11 +162,11 @@ unsigned char linear_to_ulaw(int); int ulaw_to_linear(unsigned char); /* application functions */ -BOOL LoadSound(struct SoundInfo *); +boolean LoadSound(struct SoundInfo *); void PlaySound(int); void PlaySoundStereo(int, int); void PlaySoundLoop(int); -void PlaySoundExt(int, int, int, BOOL); +void PlaySoundExt(int, int, int, boolean); void FadeSound(int); void FadeSounds(void); void StopSound(int);