Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

OBJ_X_AUDIO Class Reference

List of all members.

Private Methods

int PlaySpeechFaceDirect (int speaker, int duration, int mood, int picnoise)
int GetLanguage ()
int Speak (int page, int num)
int SpeakArrayWithPriority (array a, int prio)
int SpeakWithPriority (int page, int num, int prio)
void PlayFailSample ()
void PlayMoveSample ()
void PlaySuccessSample ()
void PlayLoginSample ()
void PlayLogoutSample ()
void PlayZoominSample ()
void PlayZoomoutSample ()

Detailed Description

Audiofunctionality. Game code instantiates one global object of this class.


Member Function Documentation

int GetLanguage   [private]
 

Language for all speach output. 44=english, 49=german.

void PlayFailSample   [private]
 

plays specific sample

void PlayLoginSample   [private]
 

plays specific sample

void PlayLogoutSample   [private]
 

plays specific sample

void PlayMoveSample   [private]
 

plays specific sample

int PlaySpeechFaceDirect int    speaker,
int    duration,
int    mood,
int    picnoise
[private]
 

PlaySpeechFaceDirect() called from PlaySpeachScript() or microquests return value indicates if playing was aborted or not (1=playing finished normally!)
speaker = pilot id (e.g 101,102, 201, 711 etc.)
duration= time in ms to play this speakers randomly
mood = one of MOOD_xxx states
picnoise= flags including: NOISE_BEFORE and NOISE_AFTER

void PlaySuccessSample   [private]
 

plays specific sample

void PlayZoominSample   [private]
 

plays specific sample

void PlayZoomoutSample   [private]
 

plays specific sample

int Speak int    page,
int    num
[private]
 

Start speech sample. In case of faceanim start this too. Returns num if success, 0 if failure. num=0 means stop actual sample.

int SpeakArrayWithPriority array    a,
int    prio
[private]
 

Speak a whole array of samples but put noise only before and after

int SpeakWithPriority int    page,
int    num,
int    prio
[private]
 

Speak with default Noise but given priority. Notice that this call is synchronous.


Generated on Mon Aug 26 18:26:35 2002 for X² KC by doxygen1.2.17