22 #ifndef TRECISION_SOUND_H 23 #define TRECISION_SOUND_H 25 #include "trecision/fastfile.h" 26 #include "common/stream.h" 27 #include "audio/mixer.h" 28 #include "audio/audiostream.h" 36 #define SAMPLEVOICES 6 37 #define NUMSAMPLES 145 // Maximum number of samples in the game 39 #define VOLUME(a) ( (a * 255) / 127 ) 40 #define TIME(a) ( (a * 3) / 50 ) 68 SSound _gSample[NUMSAMPLES];
75 void play(
int soundId);
76 void stopSoundType(SoundType type);
78 void stopAllExceptMusic();
79 void soundStep(
int midx,
int midz,
int act,
int frame);
81 void loadRoomSounds();
Definition: fastfile.h:38
Definition: trecision.h:112
Definition: audiostream.h:212