22 #ifndef LASTEXPRESS_SOUND_QUEUE_H 23 #define LASTEXPRESS_SOUND_QUEUE_H 25 #include "lastexpress/shared.h" 27 #include "common/array.h" 28 #include "common/mutex.h" 29 #include "common/serializer.h" 33 class LastExpressEngine;
45 void stop(EntityIndex entity);
48 void stopAllExcept(SoundTag tag1, SoundTag tag2 = kSoundTagNone);
49 void destroyAllSound();
53 int getAmbientState() {
return _ambientState; }
54 void startAmbient() { _ambientState |= kAmbientSoundEnabled; }
55 void setAmbientToSteam() { _ambientState |= kAmbientSoundSteam; }
58 void assignNISLink(EntityIndex index);
59 void fade(EntityIndex entity);
60 void fade(SoundTag tag);
66 uint32 getEntryTime(EntityIndex index);
67 bool isBuffered(
Common::String filename,
bool testForEntity =
false);
68 bool isBuffered(EntityIndex entity);
71 void updateSubtitles();
72 void addSubtitle(
SubtitleEntry *entry) { _subtitles.push_back(entry); }
73 void removeSubtitle(
SubtitleEntry *entry) { _subtitles.remove(entry); }
74 void setCurrentSubtitle(
SubtitleEntry *entry) { _currentSubtitle = entry; }
75 SubtitleEntry *getCurrentSubtitle() {
return _currentSubtitle; }
82 uint32 getFlag() {
return _flag; }
83 int getSubtitleFlag() {
return _subtitlesFlag; }
84 void setSubtitleFlag(
int flag) { _subtitlesFlag = flag; }
86 int32 generateNextTag() {
return _currentTag++; }
114 #endif // LASTEXPRESS_SOUND_QUEUE_H
Definition: lastexpress.h:69
Definition: animation.h:45
Definition: serializer.h:79
Definition: serializer.h:308