projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19981022-1
[rocksndiamonds.git]
/
src
/
sound.h
diff --git
a/src/sound.h
b/src/sound.h
index 02431c4593d136232c0cd93a72ec05d7273f5458..4b17f3acd8b5c9bc3ebd73a07a152b3bad10c758 100644
(file)
--- a/
src/sound.h
+++ b/
src/sound.h
@@
-14,8
+14,8
@@
#ifndef SOUND_H
#define SOUND_H
#ifndef SOUND_H
#define SOUND_H
-#include "main.h"
#include <math.h>
#include <math.h>
+#include "main.h"
#ifdef linux
#include <linux/soundcard.h>
#ifdef linux
#include <linux/soundcard.h>
@@
-138,11
+138,11
@@
struct SoundControl
int nr;
int volume;
int stereo;
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;
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 */
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 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);
void FadeSound(int);
void FadeSounds(void);
void StopSound(int);