22 #ifndef TITANIC_SOUND_H 23 #define TITANIC_SOUND_H 25 #include "titanic/support/simple_file.h" 26 #include "titanic/sound/proximity.h" 27 #include "titanic/sound/sound_manager.h" 28 #include "titanic/sound/wave_file.h" 29 #include "titanic/core/list.h" 30 #include "titanic/core/view_item.h" 31 #include "titanic/true_talk/dialogue_file.h" 41 File *_dialogueFileHandle;
43 DisposeAfterUse::Flag _disposeAfterUse;
47 _speechId(0), _disposeAfterUse(DisposeAfterUse::NO), _active(
false) {}
49 _dialogueFileHandle(
nullptr), _disposeAfterUse(DisposeAfterUse::NO),
50 _speechId(0), _active(
false) {}
52 _dialogueFileHandle(dialogueFile), _speechId(speechId), _active(
false),
53 _disposeAfterUse(DisposeAfterUse::NO) {}
114 void preEnterView(
CViewItem *newView,
bool isNewRoom);
119 bool isActive(
int handle);
127 void setVolume(uint handle, uint volume, uint seconds);
133 DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::NO);
138 void stopChannel(
int channel);
179 void stopSound(uint handle);
184 void setCanFree(
int handle);
virtual void postLoad()
Definition: sound_manager.h:189
void load(SimpleFile *file) override
Definition: proximity.h:36
Definition: simple_file.h:49
virtual void postSave()
Definition: sound_manager.h:204
void postLoad()
Definition: sound.h:99
Definition: game_manager.h:48
Definition: sound_manager.h:273
void save(SimpleFile *file, int indent) override
Definition: simple_file.h:41
Definition: dialogue_file.h:51
Definition: wave_file.h:35
void preSave()
Definition: sound.h:104
void postSave()
Definition: sound.h:109
virtual void preSave()
Definition: sound_manager.h:194
Definition: view_item.h:32