public class Multimedia
extends Object
Modifier and Type | Method and Description |
---|---|
void |
trBlockAllAmbientSounds()
Blocks all ambient sounds from this point forward.
|
void |
trBlockAllSounds(bool excludeDialog)
Blocks all sounds from playing from this point forward.
|
void |
trFadeOutAllSounds(float duration)
Fades out all sounds over a given duration.
|
void |
trFadeOutMusic(float duration)
Fades out current music over a given duration.
|
void |
trMusicPlay(string filename,
float volume,
float duration)
Plays the music file.
|
void |
trMusicPlayCurrent()
Plays the current music.
|
void |
trMusicSetCurrentMusicSet()
Sets the current music set.
|
void |
trMusicSetMood(int moodID)
Changes the music to mood associated with mood id.
|
void |
trMusicStop()
Stops the current music.
|
void |
trPlayMovie(string fileName)
Plays movies from a playlist in the AVI directory.
|
void |
trPlayNextMusicTrack()
Plays the next song in the music play list.
|
void |
trShowImageDialog(string texture,
string subtitle)
Displays a custom image in a dialog, with a subtitle.
|
void |
trSoundPlayDialog(string filename,
float volume,
int eventID,
bool ignoreOnAbort,
string subtitle,
string portrait)
Plays the sound associated with the filename.
|
void |
trSoundPlayFN(string filename,
float volume,
int eventID,
string subtitle,
string portrait)
Plays the sound associated with the filename.
|
void |
trSoundPlayPaused(string filename,
float volume,
int eventID,
string subtitle,
string portrait)
Plays the sound associated with the filename.
|
void |
trSoundTimer(int milliseconds,
int eventID)
Creates a high performance sound timer and passes the eventID as data.
|
void |
trUnBlockAllAmbientSounds()
Unblocks all ambient sounds that were previously blocked from playing.
|
void |
trUnblockAllSounds()
Unblocks all sounds that were previously blocked from playing.
|
public void trFadeOutAllSounds(float duration)
public void trFadeOutMusic(float duration)
public void trMusicPlay(string filename, float volume, float duration)
public void trMusicPlayCurrent()
public void trMusicSetCurrentMusicSet()
public void trMusicSetMood(int moodID)
public void trMusicStop()
public void trPlayMovie(string fileName)
public void trPlayNextMusicTrack()
public void trShowImageDialog(string texture, string subtitle)
public void trSoundPlayDialog(string filename, float volume, int eventID, bool ignoreOnAbort, string subtitle, string portrait)
public void trSoundPlayFN(string filename, float volume, int eventID, string subtitle, string portrait)
public void trSoundPlayPaused(string filename, float volume, int eventID, string subtitle, string portrait)
public void trSoundTimer(int milliseconds, int eventID)
public void trUnBlockAllAmbientSounds()
public void trUnblockAllSounds()
public void trBlockAllAmbientSounds()
public void trBlockAllSounds(bool excludeDialog)